Home Forums WoodMart – Premium Template Mobile menu: support select any menu instead Main menu

Tagged: 

This topic contains 16 replies, has 4 voices, and was last updated by Elise Noromit Elise Noromit 2 months, 1 week ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #93127

    anikitin35
    Customer

    I can’t beleave why this option is missing now. It’s very useful for building landing pages. Please add this feature in Header builder on next update. Thank you!

    • This topic was modified 3 months, 2 weeks ago by  anikitin35.
    #93161

    Hello,

    Thank you can set any menu as mobile.

    1. Create menu in Appearance > Menu and set it as mobile http://prntscr.com/lpm701

    2. Please navigate to Woodmart > Header builder http://prntscr.com/iyd2pe

    3. Choose the proper header type (your current) http://prntscr.com/iyd333

    4. Switch to the mobile view of your header http://prntscr.com/iyd3v3

    5. Add mobile menu element it will take the mobile menu.

    Best Regards

    #93265

    anikitin35
    Customer

    Oh, no. You are not understanding this pain. It does not solve a problem because we can select only one mobile menu for website. Only one mobile menu for all pages! If I create particular page with particular navigation menu (landing page) I need particular menu different from default mobile menu for entire website.

    Example:
    1. Entire website. Main menu. Mobile menu (checked as mobile menu).
    2. Landing page. New menu selected in header builder. Mobile menu (selected in header builder, not entire mobile menu: New menu )

    I need to select mobile menu wich I want render with header for particular page. This feature can provide make particalar mobile menu for particular header. So many pages with main and mobile menu as we want. Please, add “Choose menu Choose which menu to dislay in the header” shortcode configuration form field as for “Menu” shortcode on top of its configuration page.

    So, this help to understanding my problem using this theme.

    • This reply was modified 3 months, 2 weeks ago by  anikitin35.
    #93341

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to do this. Set your landing page ID and you custom mobile menu ID

    add_filter( "theme_mod_nav_menu_locations", 'custom_mobile_menu', 10, 1 );
    
    function custom_mobile_menu( $locations ) {
    
    	if ( get_the_ID() == 845 ) { // Check your page ID. Change the menu for this particular page.
    		$locations['mobile-menu'] = 45; // You new menu ID
    	}
    
    	return $locations;
    }

    Regards

    #98672

    anikitin35
    Customer

    Dosn’t working. The main menu is displayed instead my landing page menu ID.

    
    function custom_mobile_menu( $locations ) {
    
    	if ( is_page(array(1367, 2399, 2279, 2459, 2339)) ) { // Check your page ID. Change the menu for this particular page.
    		$locations['mobile-menu'] = 1218; // Your new menu ID
    	}
    
    	return $locations;
    }
    add_filter( 'woodmart_child_mod_nav_menu_locations', 'custom_mobile_menu', 10, 1 );
    
    • This reply was modified 2 months, 3 weeks ago by  anikitin35.
    #98675

    Please, send us this page link, write what menu you want to show there and your FTP access.

    #98728

    anikitin35
    Customer

    menu=1218

    Private Content Hidden
    #98745

    We can’t connect with this data https://gyazo.com/152313619eb1fea88cc74e1e4526eae6

    #98963

    anikitin35
    Customer

    Hello. Please try now.

    Private Content Hidden
    #98982

    Please, disable all external plugins (especially cache) and send us your admin access.

    #98997

    anikitin35
    Customer

    Cache is disabled for autorized users.

    Private Content Hidden
    #98998

    anikitin35
    Customer

    Friends, may be good idea is add dropdown select form for selecting mobile menu in header element?

    Dropdown example:
    By default (with checkbox as mobile menu)
    Landing
    Other menu

    #99007

    Please, send us also a link to the page where menu need to be replaced?

    #101108

    anikitin35
    Customer

    Ok.

    Private Content Hidden
    #101141

    Hello,

    We checked all the pages of links to which you provided and for us, the menu was replaced please check again.
    http://prntscr.com/m5d8tf
    http://prntscr.com/m5d8ys

    Kind Regards
    XTemos Studio

    #101380

    anikitin35
    Customer

    Hello.

    Thank you for help!

    Best regards.

    #101399

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

You must be logged in to reply to this topic.