Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1322852

    Hi,
    for seo reasons I must change the subtitles H6 tags in icongrid to p but I don´t know how.
    Can you help me here?

    regards
    Doro

    #1322867

    A child-theme solution could be to have an own icongrid.php in your child-themes/shortcodes folder.
    This folder had to be created by yourself. Put in a copy of the icongrid.php ( from : enfold/config-templatebuilder/avia-shortcodes/icongrid/ )
    edit that file arround line 1884

    $subtitle_el = 'h6';
    

    and change that to

    $subtitle_el = 'p';
    

    this snippet is for using the child-theme alternative files and comes to child-theme functions.php:

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);

    see docu: Link

    #1322868

    there are jQuery Methods – but a lot of participants here believe that this is not the best method to substitut tags on SEO reasons.

    #1322948

    Hi,

    Thanks for sharing and for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1323057

    it works perfect, thank you very much!

    #1323066

    Hey,

    Glad @guenni007 could help! Let us know if you have any other questions and enjoy the rest of your day :)


    @guenni007
    thanks for the help as always :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How can I change the subtitles H6 in icongrid’ is closed to new replies.