This code enables you to produce the writer’s avatar and link it into the author’s archive page or elsewhere you desire. Here is what the code produces when used from the Genesis Sample child theme by StudioPress.

Link Author Avatar To Respective Archive Page

The code could be modified so you could:

  • Change the link target to any URL
  • Style and position the writer avatar
  • Insert the avatar on writings or single articles simply by changing the conditional tag

The code in this tutorial adds the avatar image earlier & in line with the article name on the page. Using a code editor paste the code at the end of your functions.php file.

This CSS works for the sample motif however it could require modification for use within Genesis child theme.

Please let us know your opinion this trick. We will be glad to hear from you.

About Parth Kheni

Avatar for Parth KheniA Computer Engineer by profession, Parth Kheni is the Founder of TechMuzz. He is an ardent techie and crazy about gadgets. He feels that the apt use of technology simplifies the life to a great extent and thus wishes to take it at every doorstep.

Pin It on Pinterest

Share This