WordPress.org

Ready to get started?Download WordPress

Forums

displaying separate page with user profile (4 posts)

  1. enfant2soliel
    Member
    Posted 8 years ago #

    all i want is to click on the user name under the post or the comment and have an user profile on a separate page.
    (sorry i was looking codex there are separate template tags - ok, but how to display user information on a separate page)

    Thanks.

  2. Kafkaesqui

    Posted 8 years ago #

    Do you want to also display all posts by an author? If not, you could create an author.php template for your theme (easiest way to do this is to copy the theme's index.php), and where The Loop resides, replace it with code using the examples on the following Codex page to retrieve and display the author's profile info:

    http://codex.wordpress.org/Author_Templates#Custom_Author_Template

    You can also display a combination of author profile and posts by retaining The Loop. Then to link to the author's "profile," make use of the_author_posts_link() template tag:

    http://codex.wordpress.org/Template_Tags/the_author_posts_link

  3. enfant2soliel
    Member
    Posted 8 years ago #

    Aha! I've got it. Thanks.
    I Love Codex!
    http://codex.wordpress.org
    Thanks Kafkaesqui!

  4. enfant2soliel
    Member
    Posted 8 years ago #

    Aha! I've got it. Thanks.
    I Love Codex!
    http://codex.wordpress.org
    Thanks Kafkaesqui!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags