Support » Theme: Twenty Twelve » Making a Recent Posts Page

  • Resolved chaplaindoug


    Twenty Twelve Theme.

    When setting what will be your front page, you can select either “Recent Posts” or “Static Page.” I like the look of the “Recent Posts” page, but do not want it to be the front page. Is there a way to create a page that looks just like the “Recent Posts” page? Thanks for any help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I found these two links. Was able to copy and paste the php for the page of posts template and place that template in my child theme folder.

    Page-Of-Posts Template for Twenty Twelve

    Does anyone know how I would limit the number of posts displayed on the page of posts? Also, is there a way to make the template show the most recent post in its entirety, but just an excerpt from any subsequent posts?

    How are you getting your front page to use your page of posts? I made a child page of posts for the blog part of my site that only gets a specific category of posts. I also want the look of “recent posts” for my front page but don’t want anything but sticky posts to appear.

    RE your limiting the number of posts: I did find (a really old) page about limiting the number of posts
    This page has a couple of examples about limiting the number of posts. The second example (excerpt below) looks like it may be helpful.

    <?php query_posts('showposts=5'); if (have_posts()) : while (have_posts()) : the_post(); ?>
    	<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    	<p>?php the_time(); ?></p>
    	<?php the_content(); ?>
    	<p><?php the_tags(); ?></p>

    @chaplaindoug, if I understand you correctly, what you wanted to do is a standard feature within WordPress without any code changes at all. So I’m probably misunderstanding something…

    However, here’s how to achieve this effect without code:

    • Create a page to act as your home page.
    • Create a another page, doesn’t matter what goes on it as the content will be ignored.

    From the dashboard, settings-> Reading, Select ‘A static page’ as your home page, selecting the first page you created above to be the home page. Then select the second page you created above to be your posts page.

    You can limit the number of posts by Adjusting the ‘Blog posts to show at most’ which is the next field in the settings form.

    Add a link to the blog posts page in your menu and you are done. You’ll get a page of recent posts, and a home page you can style however you want.

    The above might be an easier route if you don’t want to mess with code.

    This website I created: uses Twenty Twelve and the above technique. The Blog posts are listed on the ‘Tour Blog’ page from the menu. By using ‘More’ the site owner can control how much text appears on the Blog Posts page. Nice and simple.


    Thank you for taking the time to reply. Unfortunately, I need to have multiple pages that behave as I describe. Hence, the “Home Page” and “Posts Page” will not provide a full solution.

    Just checking in – @chaplaindoug did you find a solution, or are you still looking for one?


    I found a solution to the issue by making my own template. See my solution at:

    Excellent – that’s what I’ve done with my sites, and this was going to be my next suggestion.

    (BTW You can mark this thread as resolved if you are happy with the solution).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Making a Recent Posts Page’ is closed to new replies.