Site logo

Archived topic

Custom Author Archive Page

9 replies · Started by Alirio on January 1, 2020

Viewing posts 1–10 of 10

With Elements, I created a header for my posts showing the post title, the last updated date, and the author. I don't like the default format of the author's archive page, so I'd like to link the author's name to a custom archive page created with WP Show Posts.

I just need to link the author's name to a custom page.

How could I do that?

Thank you!

Rio

Thank you, Leo. How do I link the author with the target page?

Do I replace post_author with the author's name and then replace http://schema.org/Person with target URL?

I'm guessing I need to add this filter with Code Snippets, correct?

Thank you, David. So, let me summarize to make sure I understand what I'm going to do.

1. I need to add the snippet that Leo gave me above generate_page_hero_post_author with Code Snippets.
2. If my author's page is https://ithrive.health/author/rioadmin/, I then need to create a page with this slug: https://ithrive.health/rioadmin/.

Am I on the right track?

Rio

Are you the only author on the site?

Yes, it's just me for now, but I may have my wife create posts sometime in the near future. Long shot but possible...hehe. Hopefully.

I tried just typing my name instead of {{post_author}} and then wrapping around an anchor link to my blog archive page, but then the "By Alirio Zavarce" text appeared right under the header and above the social share icons. Couldn't figure out why, though. So, I went back to adding the post author tag.

David, that worked! Thank you so much.

Glad we could be of help

This archived topic is closed to new replies.