How can I set capabilities to allow only second level menu items to be altered?

Handover time for a client. Their editor is allowed to add/remove items to the primary nav, but the design relies on the top level top of the menu to be fixed – eg:

[Products][Team][About Us][Contact]

The client wants their editor to edit only the children of team and products, but not have the ability to add more items to that top level (it should just be the four above).

I believe a “hackish” way would to be have 4x primary menus (register_nav_menus('primary-products'), register_nav_menus('primary-team'), etc)

Ideally though I would like to tackle it at a capability level.

Read more here: How can I set capabilities to allow only second level menu items to be altered?

Leave a Reply

Your email address will not be published. Required fields are marked *