• tropicmedia

    (@tropicmedia)


    Hello friends,
    I was trying to put Rich Snippets to my website. In the process , I used Testing Tool to see if I had managed to put the Snippets . Thing I could not do yet, but I ‘ll solve it .

    The problem comes when Testing Tool tells me I this warning in every post that i have. Here is a picture:

    Picture: https://i62.tinypic.com/mc4wpc.jpg

    Code:

    <article id="post-30" class="post-30 post type-post status-publish format-standard hentry category-uncategorized anninamas w2">
    <div class="content-annina">

    The tool says this: The node is empty. Check if you want it this way and keep in mind that it can be removed.

    So I wanted to remove it, but I can’t find the code anywhere.

    Before that code, the Google Testing Tool gave me the same error with another code that I found and deleted from header.php and it worked good.

    What should I do now? Thank you all!

    https://www.cholloscanarias.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • chrisfromthelc

    (@chrisfromthelc)

    If you select the parent Annina theme, do you get the same message? It looks as if there is microdata missing from the hentry tag.

    Thread Starter tropicmedia

    (@tropicmedia)

    Hi Chris,

    I tried doing what you told me and the result was this error:
    <div id="page" class="hfeed site">
    That is the same code that I mentioned in the first comment, that code was in header.php and I found it and deleted it.

    I am sure that the error that i cant find would appear in the Annina parent theme also after deleting the first error.

    How can I add that microdata that’s missing?

    Thank you for taking the time.
    I appreciate your help.

    chrisfromthelc

    (@chrisfromthelc)

    Here’s a blog post that explains why you’re getting the error. You could do this in the child theme that you’re running.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Developers Testing Tool and the lost code’ is closed to new replies.