Q.ページビルダー機能だけで作成した「タブ」の中にどうやってテキスト形式でボタンの指示をすれば良いでしょうか?
A.下記の方法でカスタマイズください。
pagebuilder/modules/tab.php内の下記箇所をご変更ください。
カスタマイズをすることで、編集可能になります。
if (!empty($repeater_level2_values['content'])) { $content_html .= '<div class="pb_tab_description pb_font_family_' .esc_attr($repeater_level2_values['content_font_family']).'">' .str_replace(array("\r\n", "\r", "\n"), '<br>', esc_html($repeater_level2_values['content'])).'</div>'; }
↓
if (!empty($repeater_level2_values['content'])) { $content_html .= '<div class="pb_tab_description pb_font_family_' .esc_attr($repeater_level2_values['content_font_family']).'">' .str_replace(array("\r\n", "\r", "\n"), '<br>', $repeater_level2_values['content']).'</div>'; }
この記事は役に立ちましたか?
もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!