Next up is the author code. Every file which either already had, or needed the entity-title code will need the author code as well. In order to make the required fix, you will need to find where your theme's creator has inserted the WordPress coding to display the author's name. In the most simple case, it will look like this:

<?php echo the_author(): ?>

Most themes aren't this simple. They usually link the author's name back to a page displaying all of the author's posts. Still, you want to find where the name is displayed, and surround it with the following code:

<span class="vcard author"><span class="fn">your theme's author name display code</span></span>

This code will tell Google and other search spiders who is the author.

As before, save your file and check to see that your site still loads.



Join the Discussion
Write something…
Recent messages
SowAndReap Premium Plus
Thanks!
Reply
CarlaIves Premium
Thanks for sharing!
Reply
LondonLeigh Premium
Many thanks. I will bookmark the post.
All the best,
Brandon
Reply
kholmes Premium
Great tutorial. Thank you for sharing.
Reply
danbarth87 Premium
Thanks for sharing this!
Reply
Top