Hello,
I tried my best without asking for support but can’t achieve any further progress.
I would like to have a somewhat separated shop area.
It should have a different header AND footer menu as the main part of the website.
With some research and the help of your forum I was able to establish a different menu for the shop area with this code:
add_filter( ‘wp_nav_menu_args’, ‘custom_blog_menu’ );
function custom_blog_menu( $args ) {
if ( x_is_product() || x_is_product_index() || is_page(620) || is_page(576)) {
$args[‘theme_location’] = ‘primary’;
$args[‘menu’] = ‘Shop Menü’;
}
return $args;
}
My problem now is that this creates a footer menu wich is exactly the same as the header menu. I would need different one.
Because it is a bit confusing: I am looking for 4 different menus. Till now I only made it to 3.
If you could help me with you would make me very happy! Thank you!