• Hi,

    I am looking for either a plugin or page template that i can use to add a a sub menu to the page that my readers click on to. this is not to replace the existing menu bar but to have a secondary set of sub menus once the reader clicks on a page.

    The only way i can think of doing this right now is by splitting the page in to two columns and adding the links manually and providing hyperlinks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can add menus to your theme – see:

    http://codex.wordpress.org/Navigation_Menus

    Thread Starter orangeblowfish

    (@orangeblowfish)

    Hi WPyogi

    I followed the instructions on the link
    I use twentytwlve theme so in my child theme i created a functions.php file and then input the code

    function register_my_menu() {
      register_nav_menu('header-menu',__( 'Header Menu' ));
    }
    add_action( 'init', 'register_my_menu' );

    followed by

    function register_my_menus() {
      register_nav_menus(
        array(
          'header-menu' => __( 'Header Menu' ),
          'extra-menu' => __( 'Extra Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );

    nothing happened and in fact the page wouldn’t save! please help!

    Thread Starter orangeblowfish

    (@orangeblowfish)

    i had to remove the new functions.php as the site wouldn’t even load after i added it. please let me know what i should do

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘adding a menu on a page’ is closed to new replies.