Support » Fixing WordPress » 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)
  • are you sure that Themify does not have a dedicated forum for this plugin?

    Thread Starter ablab

    (@ablab)

    Their forum is for those who have bought a Theme. I haven’t bought one.

    I’m looking for an alternative method for creating conditional menus, as the Themify plugin doesn’t work correctly with regard to Categorized posts, as far as I can see.

    i am sure you can tweet them and ask for support, really strange they dont have a link for it(?!)

    about your code you can download your theme and do a search for the function you are looking for, you can also use a grep tool.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘different language menus with different categories’ is closed to new replies.