admin管理员组

文章数量:1122832

I have created a CPT UI and selected built in taxonomies "categories (WP CORE)". I have added some records and every time I add a category and main record, I want them to display in the main menu automatically after adding. Is this possible? Currently I have to manually drag them into position in the menus section.

I have created a CPT UI and selected built in taxonomies "categories (WP CORE)". I have added some records and every time I add a category and main record, I want them to display in the main menu automatically after adding. Is this possible? Currently I have to manually drag them into position in the menus section.

Share Improve this question asked Apr 25, 2018 at 13:37 user8463989user8463989 5731 gold badge7 silver badges24 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

wp_nav_menus (Menus) are manually managed. There is an option to allow new Pages to automatically be added, but not new Categories. You could use a Category Widget instead - they automatically show a list of all Categories which have been assigned to at least one published post.

本文标签: custom post typesAutomatically add CPT UI categories to the menu