Marcel
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Menu is shown in wrong languageThe developers still have not fixed this problem unfortunally.
You can fix it your self for the time being by removing the ‘theme_location’ in the wp_nav_menu calls. You have to change the following 3 files:in /parts/header-main.php change
`
wp_nav_menu(
array(
‘theme_location’=>’header’,
‘menu_class’=>’nav container-inner group’,
‘container’=>”,
‘menu_id’ => ”,
‘fallback_cb’=> is_multisite() ? ” : ‘hu_page_menu’
)
);
`
to
`
wp_nav_menu(
array(
‘menu_class’=>’nav container-inner group’,
‘container’=>”,
‘menu_id’ => ”,
‘fallback_cb’=> is_multisite() ? ” : ‘hu_page_menu’
)
);
`in /parts/header-nav-topbar.php change
wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false));to
wp_nav_menu(array('menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false));in footer.php change
wp_nav_menu( array('theme_location'=>'footer','menu_class'=>'nav container group','container'=>'','menu_id'=>'','fallback_cb'=> 'hu_page_menu' ) );
towp_nav_menu( array('menu_class'=>'nav container group','container'=>'','menu_id'=>'','fallback_cb'=> 'hu_page_menu' ) );Dont forget that the thumbnail also has a link.
to delete it change
printf( '<a href="%s">%s</a>', esc_url( $_product->get_permalink( $cart_item ) ), $thumbnail );to
printf( '%s', $thumbnail );in cart.php