Help Please For Code To Add Author’s Names To Posts
-
I am using the Cut Line theme and I have edited my theme’s index.php file with the following code in order to show author’s names on blog posts on the front page of the site:
<small><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> </small>
The problem is that when someone reads a blog post from either one of the category pages or goes to the page to add a comment onto the post, then the original author’s name of the post no longer appears.
I assume I need to edit the code within some of the other php files within the theme in order to affect these other pages too.
Can anyone please advise what code I should change and on which php pages of the theme?
Many thanks.
- The topic ‘Help Please For Code To Add Author’s Names To Posts’ is closed to new replies.