Pages Posts

*** Please note that from version 2.0, the default template used will be index.php (the home page template), rather than archive.php or category.php ***

Plugin Info

Plugin Name: Pages Posts
Plugin URI:
Download URI:
Description: Amend pages and put posts inside them – either by category or tag
Author: Rich Gubby
Version: 2.0
Author URI:

Ever wanted different pages on your blog to display different types of post? You might have news and changelog pages and want to display categorized posts in each one.

With Pages Posts you can! You can configure a page to display posts only from a specific category or tag.


  1. To install through WordPress Control Panel:

    • Click “Plugins”, then “Add New”
    • Enter “Pages Posts” as search term and click “Search Plugins”
    • Click the “Install” link on the right hand side against “Pages Posts”
    • Click the red “Install Now” button
    • Click the “Activate Plugin” link
  2. To download and install manually:
    • Upload the entire pages-posts folder to the /wp-content/plugins/ directory.
    • Activate the plugin through the Plugins menu in WordPress.

The control panel of Pages Posts is in Settings (on WordPress 2.3.3 and under, Options).


How do I configure a page to display posts?

Head over to the settings page and the top of the page gives you the ability to add a page. Select which page you want, whether it should only display posts from either a category or a tag, select which category or tag and click “Add Page”


Screenshot 1



  • Added compatibility with WordPress 3.0.3
  • Added number of posts option
  • Set a global var to specify when the plugin is being used (for theme mods): $IS_PAGES_POSTS
  • Now uses home page template rather than either archive.php or category.php


  • Fixed style issue with pagesposts.css


  • Tested compatibility with WordPress 3.0.1
  • Fixed bug with current_page_item class in menu – now shows as current_page_parent


  • Further fix to bring back all pages -1 rather than false in the query


  • Added ability to display the original post above your categorized/tagorized posts


  • Fixed bug with not being able to select all pages – was only bringing back the last 5


  • Added ability to have posts displaying as excerpts or full posts


  • Added category and tag display capability
Be Sociable, Share!

139 Responses to “Pages Posts”

  1. bob says:

    Found something I may have to consider a bug. You be the judge. This plugin does not display the page title. I thought I could maybe fix by installing all in one SEO. It now displays the title that is supposed to be on the home page. I took that out and now it displays page title for page. If I ad a page title in the all in one seo form below it is not used as the page title. I can not find the page description ether. For the site I have it installed on – no big deal but I was planning on using this on a much larger site that does need the seo working and this won’t do. Hope you see this and fix this stuff if possible.

  2. Martine says:

    Hello – I love your plugin and it has been working brilliantly for me. Just recently though, something has gone wrong with the page I use it on. Here it is

    You’ll see that the original text from the page features right at the top of the page as well as in the made body of the page. I need to get rid of that top bit. Do you have any ideas?

    Thanks in advance


  3. kenny says:

    I installed the plugin and it automatically created Pages for all my categories. I deactivated the plugin and removed it but the Pages are still there. Where do I need to go to remove it? Any help will be great, thanks.

  4. A couple of issues:

    1 – [Show original page text before posts]
    It drops the original text in an area that is not formatable.
    Can you add a DIV around this text with a CLASS assigned to it so we can write our own CSS for it?

    2 – Page Title
    [ Archive for the ‘Newsletter’ Category ]
    This is what appears.
    I find no where to modify what is displayed here.
    Did I miss it?
    Can a field be added to the options?

    3 – Sidebar
    [You are currently browsing the archives for the Newsletter category.]
    Can there be an option to Show/Hide this?


  5. Hi Rich,
    I hope I am wrong and have missed something…but, I was hoping that this plugin would let me post to certain pages only and not have these posts on the home/index page. I can not figure a way to do this?

    Thanks for any help,

  6. simon says:

    Hi The plugin does work but I get the following error displayed on the page

    Fatal error: Call to a member function get_queried_object() on a non-object in …….\wp-includes\admin-bar.php on line 440

    and the admin bar disappears from the top of the page (Only happens when you are logged in)

    I am running version 3.3

  7. Hello and merry christmas.
    Your plugin is exactly what i’m looking for, but i have a trouble, maybe with my template : the original page content, I want to display it , but it appears in very tinny caracters…
    How can I fix it ?
    Maybe in my template, but I don’t know where…
    Can you help me please ?

  8. Robert says:

    Is it possible to sort the post displayed? I have a site that I use as one big photo directory and the post under certain categories are photo 1, photo 2 photo 3 etc. These appear in reverse order. I could post them in reverse order. If I had 5 photos in a certain category and your plugin would then display them in order of 1 at top then 5 at bottom. Problem with this is lets say I want to ad another photo, say photo 6. Then the photo 6 post would be at the top and then photo 1 through 5 would end up below that. As you can see this does not exactly work out. Maybe I’m the only one who wants to sort the post displayed?? Maybe not, maybe others would like to do this also?

    As for now I’m just going to go back to posting thumbnails on each page with the thumbnail linked back to each post. That is a little more work but once it is done, it is done. Too bad I would have loved to use your plugin to accomplish this automatically.

  9. KP says:


    The plugin works on WP 3.3 except the post pagination and giving a fatal error when viewing as admin. any idea?

  10. Terry says:

    I love your plugin. It is easy to use and puts my categories into pages as I need to get my homepage widgets working.

    The problem is that my wordpress admin bar dissapears on either of my 2 blog pages when I click on these pages. The footer also doesn’t show on these pages.

    Are you planning to update this to wordpress 3.3?


  11. Brian says:

    I’m not sure if I’m doing something wrong or if there is a bug. Email me and I’ll get you admin access to the pack end. Thanks!

    I kinda feel like I’m missing a step or something. I have been staring at this for quite some time and can’t get it to work when I attempt to access the page via the page menu. I get this error:

    “Fatal error: Call to a member function get() on a non-object in /home/content/38/8727838/html/wp-content/plugins/dotd/dotd.php on line 938″

    When I go directly to the page via the direct URL it shows up fine. Please help as I would really like to use this plugin.

  12. Pascal Bacher says:

    I have 2 Pages. When I activate your Plugin and go to one of the Pages the options in the header (ie. comments or new…) is gone. When I click directly on a category or post all is fine. I hope you understand my german/english :)

    Thank you

  13. Mike says:

    Seems to be broken with WP Version 3.3.1. Get the following at the bottom of a page:
    “Fatal error: Call to a member function get_queried_object() on a non-object…”
    I have seen another post which says this plugin is broken like this with this version of WP.
    Pity, since this plugin is brilliant – without it the website just cannot be structured the way I want it.

  14. Aline says:

    Hello. Your plug-in works very well ! (yesterday, I PURCHASED one for the same thing that didn’t work Grrr !)
    Just a problem (or 2 or the same) : At the end of the page I haven’t the form for comments. But, in place I get this error message : “Fatal error: Call to a member function get_queried_object() on a non-object in /home/aline/public_html/editions/wp-includes/admin-bar.php on line 440″ On every page !
    What to do ?


  15. Aline says:

    Hello. I have a problem with your plug-in very useful but that give me an error message at the end of any page calling my categories of posts : Fatal error: “Call to a member function get_queried_object() on a non-object in /home/aline/public_html/editions/wp-includes/admin-bar.php on line 440″

    It is the same with any template.

    Do you know a system to resolve it ?

    Thanks and regards.


  16. Ahmed Masud says:

    Hi Rich:

    Thanks for a great plugin… I was just looking at changing the default template to a category-based template. Any suggestions on how to do it correctly?


  17. Susan says:

    Great plugin! I having a problem viewing my sidebar on my pages, but works perfect on the post itself. No sure if anyone else is having the same problem? Any advice would be great.


  18. Karen says:

    Hey Rich,

    I’ve installed this plugin but it won’t display the number of posts I request. Any thoughts?


  19. luigi says:

    Is there some problem of compatibility?
    Fatal error: Call to a member function get() on a non-object in /home/mhd-01/ on line 27

    best regards

Leave a Reply