Version 1.1.0 of my Custom Post Type Auto Menu plugin is out, and I am happy to say it now handles multiple custom post types. This is a feature that was requested, and frankly does make a lot of sense. It took quite a bit of reconfiguring, so any previous users of the plugin will have to re-do their settings in order to make it work, even if they just update it (sorry about that!). But with only a single custom post type, that is an easy fix.
In the announcement post I explained how the plugin works. It is still basically the same, except that multiple post types, and therefore multiple menus and parent menu items can be selected.
In this example three custom post types have been chosen: Motorycle, House and Project. After selecting CPTS’s it is neccessary to save in order to launch the Menu Settings tab.
We now have a menu and parent menu selection to make for each custom post type. The parent menu item is required in order to create a submenu item, and have the CPT propogate down, rather than across the menu. Once the required settings have been selected, save the page and go ahead and add new custom post types.
Now new custom post type posts are automatically added to the menu. Easy!
There are a couple of limitations which I will work on for future versions. One is that bulk trashing custom post type posts will not remove them from the menu. Only one at a time will work. Also, posts can not have the same name, even if they are going to different menus.
Hope you enjoy it, and leave your comments!
Custom Post Type Auto Menu: WordPress repository