WordPress.org

Ready to get started?Download WordPress

Forums

Enable "posted by" on the blog (5 posts)

  1. helloanand
    Member
    Posted 7 years ago #

    I have 5 editors for my blog. How to I make the "posted by" show up at the bottom of the post? It doesnt show up with the default installation.

    Thanks in advance for your help.

  2. mylagoon
    Member
    Posted 7 years ago #

  3. yeleek
    Member
    Posted 7 years ago #

    I also have questions re this.

    Am new to wordpress.... have set the 'Display name publicly as' field and when writing a post click on the html button and enter 'This post was written by <?php the_author(); ?>'. Yet all that is displayed in the post is 'This post was written by'.

    What am i doing wrong?

    Many thanks

    Ben

  4. mylagoon
    Member
    Posted 7 years ago #

    You've got to add that to your appropriate theme's files.

    So if you want it on the front page you've got edit index.php and paste it where you want it, or if you want it to show on individual post pages, edit single.php and paste it where you want it.

    You can't (well, maybe you could with that PHP exec plugin) insert it into your post, and besides, it'd be inefficient to do so.

  5. yeleek
    Member
    Posted 7 years ago #

    OK thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags