• Does anyone know of a plugin that allows an admin to add a new menu location? i.e. a plugin that does the job of register_nav_menus().

    It’s easy for an admin to create custom menus, but it seems the menu locations can only be preset in the theme by a developer.

    The menu will be displayed in the same location in a theme template, but I’m planning on passing a variable that outputs the correct location (i.e. show the correct custom menu), so hopefully that bit won’t need to be managed.

Viewing 1 replies (of 1 total)
  • Thread Starter robwakeman

    (@robwakeman)

    For now, I’ve decided to use the Code Snippets plugin https://wordpress.org/plugins/code-snippets/

    I’ve created a code snippet for the register_nav_menus() function.

    This still means that an admin will need to edit code, but at least they won’t have to manage FTP as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin to allow admin to add menu location?’ is closed to new replies.