Support » Themes and Templates » Author Stamp on Posts
10 years, 2 months ago
I read in the forum how to change index.php to include the author name stamp and changed code to read :
<by <?php the_author() ?>></small>
But the author name is still not appearing. How do I get the author name to appear with the post?
Thanks in advance
I think using the < is what’s breaking it. When looking at your page source it’s outputting <by Lauren>, try changing it to ( ) and see if that works.
If so, we can find a solution to using the < > if you really want them.
Excellent! It worked. Thanks very much for the quick help.