Top menu not available in pro version

Home Forums WordPress Theme Support Silver Mag Top menu not available in pro version

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3368
    Raja CRN
    Keymaster

    Yes, The top menu has been removed to accommodate the ticker. To balance that, We have added the secondary menu 2.

    Now, You have to add the below code in functions.php file in the Nav menu section,`

    
    			register_nav_menus(
    			array(
     				
     				'mainNav' => __('Secondary Menu','silvermag' ),
     				'mainNav2' => __('Secondary Menu 2','silvermag' ),
                                    'topNav' => __('Top Menu','silvermag'),
    			)		
    		);

    After that turn off the Ticker and uncomment the Top Nav Menu in the header.php file,

    //wp_nav_menu(array('theme_location' =>
    
    to
    
    wp_nav_menu(array('theme_location' =>

    Hope you can do this without any issues.

    Thanks.. Before that backup your files for safety measures.

    #3370
    TM
    Member

    Should I put that code above the section below or delete it? (I got an “error on line 70” message when I tried to place the code you gave just now.)

    register_nav_menus(
    array(

    ‘mainNav’ => __(‘Secondary Menu’,’silvermag’ ),
    ‘mainNav2’ => __(‘Secondary Menu 2′,’silvermag’ ),
    )
    );

    #3371
    Raja CRN
    Keymaster

    Hello,

    Just add the 'topNav' => __('Top Menu','silvermag' ), inside the array like below the ‘mainNav2’

    #3372
    TM
    Member
    This reply has been marked as private.
    #3373
    TM
    Member

    Hi – I was able successfully to change the functions.php file and turn off the ticker; the primary menu option is now an option. But when I selected the menu it does not show up. (I tried deleting the logo/header image just in case it was overlapping the top menu, but that didn’t work.)

    #3374
    Raja CRN
    Keymaster

    That’s great.

    Did you follow the last step?

    In header.php uncomment the nav menu section (the sample code above). Don’t remove the code, just remove that slashes.

    #3375
    TM
    Member

    Okay, now it works. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)

Only Verified Customer of this Theme Can post reply to this Support Topic! .