Support » Themes and Templates » List users posts in new template page

  • I’ve created a template page called test.php. It looks like this:

    Template Name: Test
    <?php get_header(); ?>
    <p>All posts by user Test:</p>
    <?php get_sidebar(); ?>
    <hr id=\"last\" />
    <?php get_footer(); ?>

    I want to list the five latest post that the user Test has made. And I want it to look like it does on my frontpage, with a header, read more-tag and all that.

    I’ve searched by ass off in search for an answer, but I’ve just found broken links and none working plugins.

    How can I display the posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is it even possible? Maybe a plugin can help? Hm…

    Lots of good stuff on the Author_Templates page.

    Thanks, but I don’t really understand that page.

    Where does it say how to put a users posts (with header and content) in a separete template that I’ve created? (In my case test.php.)

    I don’t want a list of the entries, I want them to be displayed like it does on the frontpage with a loop thing. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List users posts in new template page’ is closed to new replies.