How to delete H1 entry title code?

  • Author
    Posts
  • #69701

    Hi,
    I have disabled the title, but it is still in the code, so double h1 on the site.
    How do I delete the h1 tag in the code?

    I guess it is this line:
    <?php $fluida_heading_tag = ( is_front_page() ) ? ‘h2’ : ‘h1’; the_title( ‘<‘ . $fluida_heading_tag . ‘ class=”entry-title” ‘ . cryout_schema_microdata( ‘entry-title’, 0 ) . ‘>’, ‘</’ . $fluida_heading_tag . ‘>’ ); ?>

    But when I try to change or delete the line, I get an error on save in the Design -> Editor.

    Thank you for your help!
    Regards, Stefanie

    Website: wordpress.shop-rocket.at/leadengine

    #70022
    Zed
    Cryout Creations Team

    The H1 tag is still present in the code exactly for SEO purposes (having it missing throws warnings in most structure checkers).

    The theme also makes sure there are no duplicate H1 tags – the title is a H1 only on the homepage, on the rest of the site that section’s title uses the H1 tag.


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to delete H1 entry title code?’ is closed to new replies.