Adjust menu structure
-
Hi,
I’m trying to build a massive healthcare institue for people with difficulties in their mobility. To attach people to my company it’s really important to build websites with an equal menu structure. That visitors eassily can navigate on my website. So i need to adjust the menu structure.
Bootcamp
Mixed Martial Arts
Inndoor Cycling
Pilates
Fitness
Yoga
DanceWhere and in wich php file i need to edit this?
(Sorry for my terrible english)
Regsards Paul
The page I need help with: [log in to see the link]
-
You don’t need to edit PHP. Menus are set at APPEARANCE->MENUS. What do you mean by “adjust”?
@sterndata Thanks! But this is not what i mean? I want change the code in nav-menus.php, but i don’t know wich line i must edit to change the order.
Regards Paul
You mustn’t ever modify core WP code. It will cause ongoing problems. Modifying even theme or plugin code is strongly discouraged. Altering site behavior can generally be done through action or filter hooks. That said, there’s no reason to alter code to reorder menu items. Go to Appearance > Menus and drag the menu items into the order you want.
Ok, can i lock the order because i’ve got 33 different locations and with 33 diferrent managers. Make it sticky or something like that. It has to be uniform.
Bootcamp
Mixed Martial Arts
Indoor Cycling
Pilates
Fitness
Yoga
DanceHope you have the right solution for me.
Take care, stay clean and be strog #COVID-19
Regards Paul
Give those managers accounts that do not allow them to edit menus.
Furthering Steve’s suggestion, their role shouldn’t have the “edit_theme_options” capability. There are role and capability plugins that can help you create a special role if need be. By default, only the administrator role has the capability.
@sterndata, that would be an option but i want to know it myself.
Hope you can help me?
Thanks in advance take care, stay clean #COVID-19
Regards Paul
I’d use a plugin like https://wordpress.org/plugins/user-role-editor/
- The topic ‘Adjust menu structure’ is closed to new replies.