Author name on front page
-
Hi, how would I put the author name on the posts displayed on the front page of my web-site, say with ‘by Andrew Chapman’ etc (more than one author).
I have a child theme with style.css only. Should I create a functions.php file and put the code in there?
This bit of code crops up when I search re this issue:
<?php the_author() ?>
Is that what I should use?
Thanks for your help,
Andrew
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Author name on front page’ is closed to new replies.