WordPress.org

Forums

How to get "About the Author" box to display on main blog page? (2 posts)

  1. nawilkes
    Member
    Posted 4 years ago #

    I have figured out how to get an "About the Author" box to display when users click on an individual post, but they don't show up on the main blog page. Can anyone help me make this happen?

    Main Page (Most Recent Posts) - No "About the Author"
    http://zionadventures.com/ZBlog/

    Individual Post - "About the Author" shows up
    http://zionadventures.com/ZBlog/trip-reports/trip-report-canyoneering-in-winter-conditions-11272010/

    Thanks!
    Nick

  2. stvwlf
    Member
    Posted 4 years ago #

    Its hard to tell without seeing your template code. Most likely you haven't added the code for the author box into your main blog page's code. On many themes that is the index.php template file in the theme folder.

    Because you want the author box to display on each post on the posts page, you have to put the author code INSIDE the WordPress loop. Otherwise it will only display once, for the last post, after all the posts have displayed. When its inside the loop it will display once per post.

    Best bet is copy the code from the template file which is working correctly.

Topic Closed

This topic has been closed to new replies.

About this Topic