• 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
    Dance

    Where 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]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You don’t need to edit PHP. Menus are set at APPEARANCE->MENUS. What do you mean by “adjust”?

    Thread Starter pkclubpaul

    (@pkclubpaul)

    @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

    Moderator bcworkz

    (@bcworkz)

    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.

    Thread Starter pkclubpaul

    (@pkclubpaul)

    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
    Dance

    Hope you have the right solution for me.

    Take care, stay clean and be strog #COVID-19

    Regards Paul

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Give those managers accounts that do not allow them to edit menus.

    Moderator bcworkz

    (@bcworkz)

    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.

    Thread Starter pkclubpaul

    (@pkclubpaul)

    @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

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Adjust menu structure’ is closed to new replies.