different language menus with different categories
-
Hello
I have 3 language menus and am using Themify’s Conditional Menus to cause the correct language menu to be displayed.
However, when a user clicks on Read More from the blog page, I need the correct menu to be related to the Category.
How can I do this ?
I have looked at this thread https://wordpress.org/support/topic/alternative-menu-for-logged-in-users?replies=11 but cannot find where my theme (InterStellar) registers the menus, nor do I know what or where I should put as a conditional statement for selecting the correct menu….something like this ?? :
if ( in_category(Latest) ) { wp_nav_menu( array( 'theme_location' => ‘English menu', 'fallback_cb' => 'fallback_menu' ) ); }else{ wp_nav_menu( array( 'theme_location' => 'primary_menu', 'fallback_cb' => 'fallback_menu' ) ); ?>
I have a Spanish Menu, an English Menu, and a German Menu.
Many thanks for your help
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘different language menus with different categories’ is closed to new replies.