
Custom Post Type Auto Menu
v1.3.1Ken Dirschl · 2013年9月7日 上架
Automatically create menu items for your custom post types in your chosen menu and parent menu item.
- 正在使用
- 500+
- 评分
- 3.6 / 5
- 累计下载
- 2.5 万
- 最近更新
- 2021年6月22日
17 条评价需要 WordPress 3.0.1+已测试到 5.7.22
贡献者
截图
Custom Post Type Auto Menu allows the user to choose a custom post type, a menu, and a menu parent item to which new custom post type posts
will be added automatically. This simplifies the menu process for users who may not be comfortable adding items to menus, or
for sites that have a large number of custom post type additions, such as products.
The plugin supports multiple custom post types.
Requirements
- The custom post type you wish to use must be have both ‘public’ and ‘show_in_nav_menus’ set to true.
- Your theme must have menus.
Known Issues
- Ampersands and other HTML entites in titles can sometimes have curious results, such as multiple menu items.
- After a custom post type post has been published, if it is downgraded to ‘draft’ the item stays in the menu.
- Bulk trashing custom post types will leave the menu items behind. Trash custom post types one at a time and it works fine.
- Menu items can not have the same name, even if attached to different menus.
- Known to conflict with Anything Order plugin: https://wordpress.org/plugins/anything-order/
Acknowledgements
- Thanks to all who have made suggestions for features to this plugin. I will try to put aside some time to work on it.
- Many thanks to codbox for the bug fixes and the new class. Much appreciated!
- Thanks to Andrew Kurtis of WebHostingHub for the Spanish translation
- There are various urls in the code from developers whose solutions I used to solve problems. Thanks everyone!

