Hi there!
We would like to have <h4> titles as toggle titles, in our Enfold powered blog.
Would it be possible?
Where can we find the related helper or function?
Thank you!
Hey bitmatters!
Open up wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\toggles.php and search for
$output .= ' <p data-fake-id="#'.$toggle_atts['custom_id'].'" class="toggler '.$titleClass.'" '.$markup_title.'>'.$toggle_atts['title'].'<span class="toggle_icon">';
$output .= ' <span class="vert_icon"></span><span class="hor_icon"></span></span></p>';
Replace it with
$output .= ' <h4 data-fake-id="#'.$toggle_atts['custom_id'].'" class="toggler '.$titleClass.'" '.$markup_title.'>'.$toggle_atts['title'].'<span class="toggle_icon">';
$output .= ' <span class="vert_icon"></span><span class="hor_icon"></span></span></h4>';
Regards,
Peter