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

    Hi,

    My SEO Specialist said to me i should change my every page and blog structures that not have a <section> tag for better google crawlers experience.
    I found out i should change every column <div> tag to <section> for this purpose. Is it possible to do that? Is it really necessary for better google crawlers?

    #1071251

    This picture below my seo specialist want from me for my home page site markup structure:
    site markup structure

    Is it possible in Enfold do this?

    #1071885

    Hi,

    Thank you for using Enfold.

    That is possible but it will require a lot of markup modifications. Unfortunately, we won’t be able to help you with all of that. If you’re using color sections and wanted to change the opening tag from div to section, edit the config-templatebuilder > aviashortcodes > section.php file, look for these lines of code:

    line 1137:

    $output .= "
    <div{$id} class='{$class} container_wrap ".avia_layout_class( 'main' , false )."' {$style} {$data}>";
    

    replace it with:

    $output .= "<section {$id} class='{$class} container_wrap ".avia_layout_class( 'main' , false )."' {$style} {$data}>";
    

    line 1195:

    $output = "</div>
    "; //close section
    

    replace it with:

    $output = "</section>"; //close section
    

    Best regards,
    Ismael

    #1072164

    Hi Ismael

    Thank you for your support. please close this topic. because i want change all of this and it’s not possible.

    Best regards,

    #1072826

    Hi,

    Alright. We’ll close the thread now. Thank you for understanding.

    Have a nice day.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change div tag to section tag’ is closed to new replies.