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 have more than 50 custom post types which I have created using the Pods plugin.

The problem is that the left navigation of the admin panel looks really busy and messy and it takes a lot of time for me to get to the needed CPT.

Lots of the CPTs are related to each other, so it would be much cleaner if I created top-level navigation items that includes multiple CPTs.

I've looked for any plugin that does this and I didn't find anything. Can you please recommend a plugin that does this, or if there is a way to use WordPress hooks to code this functionality?

Please keep in mind that the default navigation of WordPress consists of two levels, and I need them to be 3.

The default state is that the second level is a menu that appears when you hover over the parent item. And when they are 3 levels in the updated version, the 3rd level also will need to be a menu that appears when you hover over the 2nd level menu item. The 1st level in the 3 levels menu doesn't need to be hyperlinked.

share|improve this question
    
I've fiddled with this one before, but even it restricts you to one sub-menu - 2 Levels –  eyoung100 Jun 10 at 18:54
    
Where should the 3rd level be? Answer in an edit please. –  kaiser Jun 10 at 20:51
    
I just added a paragraph with more explanation. –  Karim Jun 10 at 22:00

2 Answers 2

up vote 1 down vote accepted

This is very easy with post types generated by Pods. If you create a Custom Post Type with Pods, you can add this to Parent Menu ID: "edit.php?post_type=top_level_post_type"

enter image description here

share|improve this answer

This is not so easy with post types generated by a plugin. If you manually create them you can add this:

'show_ui' => true, 
'show_in_menu' => 'edit.php?post_type=top_level_post_type'

Within the register_post_type argument list to specify where you want them to appear. You should write to the plugin author and request this feature.

share|improve this answer

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.