• f p

    (@ferg-peterkin)


    Hi I am having trouble with secondry Nav menus. there is already the main nav bar menu working within my header and I want a secondry menu only on specific pages (templates) which I can style how I want. I have followed the instructions and created a second menu within apperance>menus on WP, but when looked in to the functions.php where I want to create the secondry path I couldn’t find the right code. the only code related to the menus I found is this:

    /////////////////////////////////////////////////////////////////////

    //Add Custom Header to theme menu
    add_action( ‘admin_menu’, ‘it_custom_header_add_menu’, 20 );
    function it_custom_header_add_menu()
    {
    add_submenu_page( $GLOBALS[‘wp_theme_page_name’], __(‘Custom Header’), __(‘Custom Header’), ‘edit_themes’, ‘custom-header’, array( &$GLOBALS[‘custom_image_header’], ‘admin_page’ ) );
    }

    /////////////////////////////////////////////////////////////////////

    if anyone can help or knows what to add to this so I can call up the second menu.
    Thanks
    Ferg

Viewing 2 replies - 1 through 2 (of 2 total)
  • What theme your are using ???

    Cant you create custom html menu in specific template files ???

    Thread Starter f p

    (@ferg-peterkin)

    the theme is architect
    Do you mean create text with links to each page? I can do that I just thought it might be better to have a menu setup for the best file structure? I don’t know if it makes a difference though as I am pretty new to all this.

    what I really want is one page template for a series of pages “my portfolio”, that has a menu coded in the template file which will navigate the various portfolio catorgories and that will change colour when you hover and load the page you want to go to.

    here is a page I am working on (this is all built within the add ne page on wordpress), I haven’t activated the links on the text yet but the text on the left would be the menu, each page you select would load and look the same but with different content. https://www.arttus.co.uk/home

    I thought if built this in to the template the this I wouldn’t need to put the code in for each page.

    thanks
    ferg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘secondry menus’ is closed to new replies.