Authors’ Links on Homepage Not Going to Author Post Pages

Question

This problem only occurs with the articles/blog posts on the homepage of the site, readbuzz.com.

On the homepage of the site, the author’s name is supposed to link to that particular author’s post page, where all the blog posts the author posted on the website will show up. Instead, each name that shows up links to the homepage.

Yet, when you click and go into any of the posts on the homepage, then checked the author’s link, it takes you directly to that author’s post page.

I know I need to include this function, but can’t seem to find the place where I need to edit this: link

UPDATE: The code below is the correct code, in several different PHP files. Currently need to know how to write it using the the_author_posts_link();

<p class="postAuthor">By <a href="<?php the_author_meta('user_url'); ?>"><?php the_author(); ?></a></p> 
0
, , Abriel 4 years 2020-03-08T00:08:37-05:00 0 Answers 92 views 0

Leave an answer

Browse
Browse