Top menu not available in pro version

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

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  TM 9 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3360

    TM
    Member

    The pro version of Silver Mag doesn’t have an option for the top menu. I see a “primary menu” option in the css (and it was available in the lite version) but there is no option to use it. The menu only offers “secondary menu” and “secondary menu2” layered together. FYI, I put in the code to omit the ticker; not sure if that has anything to do with it.

    #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 8 posts - 1 through 8 (of 8 total)

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