Support » How-To and Troubleshooting » How to show author on front page
5 years, 3 months ago
I’m using the Pilcrow theme, and there’s no option to show the author on the front page. I run a multi-author blog, and it would be great if the reader knew who wrote the post before clicking on it.
Any way I can do this?
You can open up your index.php file and add something like this in the proper area.
That’s not doing anything for me. Would adding that to the loop.php help?
<?php the_author_link(); ?> must be within the Loop.
I’ve tried adding that inside the loop, but it’s not affecting the front page. It shows up then on the archive pages, but not on the front page.
Is your front page home.php? or another custom page? For the author link to show up, you must have be within the Loop or within a single post. If not, you may have to use the_author_meta() and provide the author’s ID.
It’s index.php. I put that within the loop, but it only shows it if it’s not on the front page (i.e. Archives page).
If your using a static front page instead of the default it may have to go under the page.php or single.php file.