• Hi there,
    to be honest, I’m really impressed by this theme and its functionalities. Everything went smoothly after the last updates with one exception. When I set a page as ‘Homepage’ it loses its H1 tag from the title. Not sure if it’s a theme thing or a problem with plugin compatibility but certainly it’s hurting the SEO part. I met this problem previously with another theme and manage to find a dumb solution that actually worked ? here’s the support thread. Not sure why it’s not working with Botiga but I’m sure there is a solution for it. I would really appreciate your help in solving this annoying issue. Thank you and have a great day!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @tomitzu,

    I did inspection to the theme’s files and found that there is a little bug that prevents the H1 tag appears on the blog archive & front pages. Indeed this will be fixed in upcoming release for newer version of the theme.

    Meanwhile, for a quick fix by yourself, you can edit the theme’s file, inc/classes/class-botiga-header.php. Find this code block:

    public function logo() {
      ?>
      <div class="site-branding">
        <?php
        the_custom_logo();
        if ( is_front_page() && is_home() ) :
          ?>

    In that lines, replace

    if ( is_front_page() && is_home() ) :

    with

    if ( is_front_page() || is_home() ) :

    Update the theme on your site with this change, clear any cache, and reload your page.

    You may have additional H1 tag along with the site name appearing after the code successfully applied. To hide it visually on the web browser and still have it remains in the background, add this CSS code to your site’s Additional CSS under the Customize menu.

    .blog .site-branding .site-title, .home .site-branding .site-title {
      display: none;
    }
    

    Hope this reply helps.

    Thread Starter Ionu? Toma

    (@tomitzu)

    Hi, @kharisblank
    Thank you for the reply and the quick fix. It actually works in the way you mentioned above. The only problem is that having multiple H1s (in the background) on a page is hurting the SEO more than having none. Although it is a solution it’s not the best one for SEO.

    Thank you for getting back @tomitzu,

    You may skip the CSS code I suggested if you want. So you’ll have the text for site title in H1 displaying on the web browser.

    Thread Starter Ionu? Toma

    (@tomitzu)

    Hi, @kharisblank
    the idea is to have (only) one H1 in the background (not multiple H1s) for SEO purposes as it’s normal for every Homepage. I do not need to have it displayed visually or something like that. In theory, the theme code looks good but something interferes with it and makes it eliminate all H1s from the background.

    Hi @tomitzu,

    Thank you for getting back.

    As far as I know the theme has H1 tag on the header part and you can enable it with a little adjustment as mentioned above for confirmed bug.

    Currently the theme offers SEO basic practice. So you can work on your pages/site content for more advanced SEO best practice. Perhaps you want to add H1 tag into your homepage’s content.

    Thread Starter Ionu? Toma

    (@tomitzu)

    Hi @kharisblank
    Thank you for your answers and for the time allocated to this issue. I can add H1 tags throughout homepage content but it’s not really my intention. The normal way is to have the homepage title as an H1 (you can add other H1s only if you consider it necessary for the logical succession of content). Anyway, I think I will wait for the theme update – maybe it will solve this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No H1 tag was found’ is closed to new replies.