• Resolved porttoday

    (@porttoday)


    Hi Guido,
    Thanks for your Shipyard theme. Looks great and works smoothly.
    The only problem I encounter is errors that Google Search Console keeps showing me: hentry tags “author”, “entry-title” and “updated” are missing in the root page with posts list and in every post page. In the root page there’re as many errors as there’re posts on the page, e.g. in my case it’s 10.
    I found a solution how to correct this in the theme code, but there’re so many strange words that I’m afraid to correct it myself. Could you please help me with this problem?
    Thanks in advance!
    Julia

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Guido

    (@guido07111975)

    Hi Julia,

    My themes clearly don’t support this (yet), but you can add the relevent elements like this:

    1) Open file content-list and find this:

    
    <h2 class="post-title">
    

    Change into:

    
    <h2 class="post-title entry-title">
    

    2) Open file content-postmeta and find this:

    
    ' . esc_html( get_the_date() ). '
    

    Change into:

    
    <time class="updated">' . esc_html( get_the_date() ). '</time>
    

    Find this:

    
    %2$s
    

    Change into:

    
    <span class="author vcard">%2$s</span>
    

    Open file single and find this:

    
    <h1 class="post-title-single"><?php the_title(); ?></h1>
    

    Change into:

    
    <h1 class="post-title-single entry-title"><?php the_title(); ?></h1>
    

    This should do the trick ??

    When I gonna update my themes, I will add this for sure!

    Guido

    • This reply was modified 7 years, 11 months ago by Guido.
    Theme Author Guido

    (@guido07111975)

    Hi again,

    Another solution is to remove the “hentry” class from the post class, using a code snippet in your (child) theme functions file. Check this link.

    In that case Google doesn’t notice hentry tags on your website and doesn’t create errors.

    Guido

    Thread Starter porttoday

    (@porttoday)

    Thanks, Guido!
    I’ve done your “tricks” and now wait for Google to do scanning. I’ll write my feedback later to you. Fingers crossed! ??

    Thanks for your help.
    Julia

    Theme Author Guido

    (@guido07111975)

    Hi Julia,

    Removing the hentry class is the easy solution.. I gave you a link to a page but that snippet only removes it from pages. Not good. Please use the snippet on this page (link). Add this in your (child) theme functions file.

    Guido

    Thread Starter porttoday

    (@porttoday)

    Hello again, Guido,
    In fact, I wouldn’t want to remove henry tags for SEO purposes…
    Anyway, the recent scanning by Google showed no errors. Great news!
    Thanks again for your quick help.

    ***And Merry Christmas!***

    Julia

    Theme Author Guido

    (@guido07111975)

    Hi,

    Have no idea if having hentry tags is good for SEO or not.. But I understand it’s not good if you declare them but theme doesn’t support them.

    Merry Christmas too you as well ??

    Guido

    Theme Author Guido

    (@guido07111975)

    Hi Julia,

    I have updated my themes and added support for all required hentry tags.

    This means you can remove your customizations.

    Guido

    Thread Starter porttoday

    (@porttoday)

    Hello Guido,
    Thanks for your info.
    I’ve noticed you’ve updated the theme and also updated it.
    Seems like the errors in Google Search Console are disappearing. Now I see only missed “author” hentry tag and only those detected end of January, i.e. new posts are scanned but no errors are detected.
    Thanks for your great support!
    Cheers,
    Julia

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Missed hentry tags’ is closed to new replies.