I’ve created a template page called
test.php. It looks like this:
<?php /* Template Name: Test */ ?> <?php get_header(); ?> <p>All posts by user Test:</p> </div> <?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?
- The topic ‘List users posts in new template page’ is closed to new replies.