Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've created a site with nine (gulp) custom post types. It's a huge site unsurprisingly.

The 9 post types fit on the admin menu but I was wondering if there is a limit to the number of extra post types you are allowed in WordPress?

Say this because when enabling PollDaddy that adds two more tabs (Polls and Ratings) which then hides two of my custom post types from the menu.

Anyone know if there's a limit and how/if I can increase it?

I may try adding a 10th custom post type and see if that displays

share|improve this question
    
Try, find out, and let us know. –  soulseekah Oct 19 '11 at 9:06

1 Answer 1

up vote 1 down vote accepted

The problem is probably due to clashes in the menu_position argument when registering a post type. Try editing those to values between the standard multiples of 10 and see if it solves the problem.

share|improve this answer
    
+1, and to understand what is happening better read the source code core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/… –  soulseekah Oct 19 '11 at 9:14
    
Yes, that was it. Had the menu_position's in an order from 25 - 33 so PollDaddy must use two of those. Boosted them all by 10 and now they're all showing. –  mattberridge Oct 19 '11 at 9:24

Your Answer

 
discard

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.