Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #359723

    Hi,
    I use Akkordeon for a FAQ section, sorted by topic/theme clusters. Each toggle tile represents a cluster, below are the Q&A,s whereas Questions are H3. For SEO reasons I need to ensure the google titles are defined as H2.

    Question: I neither do find the “H” levels for the toggle titles nor a possibility to define it – can you help?

    thx a lot , Tilman

    #359842

    Hey oestersund!

    Open up /enfold/config-templatebuilder/avia-shortcodes/toggles.php and change lines 215 – 216 from this.

    $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>';
    

    To this.

    $output .= '        <h2 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></h2>';
    

    Cheers!
    Elliott

    #360713

    Hi Elliot,
    thx and sorry for the silly question:-) where do I find the “/enfold/config-…” ? Thx a lot, oestersund

    #360940

    Hi!

    Please access to theme files via FTP

    Best regards,
    Yigit

    #361517

    ok, thx a lot

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Akkordeon: Define Toggle title as H2’ is closed to new replies.