• Hello, I have a problem about Menu and Sidebar. I use Switcher Theme auomatically for mobile users. When i activate the plugin and use Hueman from dashboard it run perfectly, all Menus and Sidebar is appear. but after i activate other Theme from Dashboard and i continue check to web from my smartphone (Switcher Theme plugin active) Hueman theme is show but Sidebar and Menu is missing.

    For a moment i believe this is happen because plugin fault, but if i change Hueman to others theme such twentythirteen, All menu and Sidebar is appear and works from my smartphone, even from my dashboard i activate other Theme.

    so i believe this is because Hueman rule.
    How to change Hueman to work like Twentythirteen?

    Exmple:
    On Suffusion – Widget = Sidebar 1, in Hueman = Primary
    if i activate/ use Suffusion, Primary is missing when i checked from mobile and viceversa.

    Need any advice 🙂

Viewing 1 replies (of 1 total)
  • Thread Starter toroman

    (@toroman)

    try to add this

    // This theme uses wp_nav_menu() in one location.
    	register_nav_menus( array(
    		'primary' => __( 'Primary Menu', 'moesia' ),
    	) );

    no change.

    curious about this

    /*  Body class
    /* ------------------------------------ */
    if ( ! function_exists( 'alx_body_class' ) ) {
    
    	function alx_body_class( $classes ) {
    		$classes[] = alx_layout_class();
    		if ( ot_get_option( 'boxed' ) != 'on' ) { $classes[] = 'full-width'; }
    		if ( ot_get_option( 'boxed' ) == 'on' ) { $classes[] = 'boxed'; }
    		if ( has_nav_menu('topbar') ) {	$classes[] = 'topbar-enabled'; }
    		if ( ot_get_option( 'mobile-sidebar-hide' ) == 's1' ) { $classes[] = 'mobile-sidebar-hide-s1'; }
    		if ( ot_get_option( 'mobile-sidebar-hide' ) == 's2' ) { $classes[] = 'mobile-sidebar-hide-s2'; }
    		if ( ot_get_option( 'mobile-sidebar-hide' ) == 's1-s2' ) { $classes[] = 'mobile-sidebar-hide'; }
    		return $classes;
    	}
    
    }
    add_filter( 'body_class', 'alx_body_class' );

    but didnt know what should i change to Hueman remember my choice Menu and Sidebar setting even when not activate

Viewing 1 replies (of 1 total)

The topic ‘Menus and Sidebar Missing’ is closed to new replies.