WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having a weird issue lately, in the WP Admin panel, all my Post show up under Post and under Pages, they all link to the same article. If I create a new Post it shows up under Pages as well. I am running the newest stable version of WP, I have tried all my themes even the twentyten and twentyeleven themse, it still happens. I have never had anything like this happen, any ideas?


Ok I have no idea what the actual cause is but I did install a fresh version of WP and then made a post and it worked as normal, only showed up under post and not under pages. I then installed the theme I am working on and made a post, it showed up under post and pages so it has to be an issue somewhere in my theme...pretty weird issue though, because even with my theme not in use, it still makes it happen just by being there

share|improve this question
are you using / have you tried resetting permalinks? – ptriek Dec 28 '11 at 13:28
check your theme's function.php also look for any plugins that may be doing this. – BandonRandon Dec 28 '11 at 17:59
up vote 0 down vote accepted

I just wanted to post the solution here instead of deleting just in case this ever helps anyone else.

The problem was this 1 small function I had tucked away in a setting file...

 * change number of posts shown per page in admin area
function admin_pagination(){
    global $wp_query;
    $per_page = 5;
    $wp_query->query('showposts='. $per_page);
add_action('admin_head', 'admin_pagination');

This caused all Post to show up under the Admin section for Post and Pages so do not use it! I had found this snippet on a WP site somewhere

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.