[Resolved] Adding author's name to post
I’d like to know how to add the author’s name to a post, for instance under the post title, right after Posted on [date].
I’ve tried many things, to no avail; the latest being dropping this line of code in single.php, under
while ( have_posts() ) : the_post(); ?>(line 15) :
<p>by <?php the_author(); ?></p>. The author’s name does appear, but over the post title, which looks a little awkward…
- The topic ‘[Resolved] Adding author's name to post’ is closed to new replies.