hentry support
-
Hello
I made some small changes on the theme to make Google happy with entry tags in single.php :
<header> <h1><span class="post-heading entry-title"><?php the_title(); ?></span></h1> </header> <span class="post-info">Posted by <span class="author vcard"><span class="fn"><?php echo get_the_author(); ?></span></span> on <span class="updated"><?php echo get_the_date(); ?></span></span> <div class="tags"> <?php echo get_the_tag_list('<p>Tags: ',', ','</p>');?> </div> <div class="single-news-page entry-content"> <p> <?php the_content(); ?> <?php wp_link_pages(); ?> </p> </div>
So now hentry tags are found : https://developers.google.com/webmasters/structured-data/testing-tool?url=https://apichords.com/?p%253D28
- The topic ‘hentry support’ is closed to new replies.