rich snippets errors
-
I’m having problems getting rich snippets to display in Google search. The google structured data testing tool gives the following errors:
Error: Missing required field “updated”.
Error: Missing required hCard “author”.I understand that I’m supposed to find the following snippets of code in my theme:
<?php the_date();?>
and replace it with `<div class=”date updated”>
Published on <?php the_time(‘F S, Y’); ?> </div>`<?php the_author(); ?>
and replace it with<span class=”vcard author”><span class=”fn”><?php the_author(); ?></span></span>
However, the problem is that I cannot find those snippets of code anywhere in my theme’s php files! I’ve looked over and over, but they are simply not there. I’ve looked in single.php, page.php, index.php, etc. The byline is showing under the title of my posts and includes author name, date, etc. But I can’t find the code. I’m using a premium theme – Theme 1748. Please help.
- The topic ‘rich snippets errors’ is closed to new replies.