Language switcher disappears on certain pages. Here's the solution.

Support Forums for LiveMesh Themes & Plugins Forums Appdev Theme Support Language switcher disappears on certain pages. Here's the solution.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20290
    Kgruenkgruen
    Member

    Hi,

    We are using the Appdev theme together with WPML. We have a language switcher menu with flags on the top of our website. For some reason, the flags simply disappeared on certain pages. Finally we found a solution.

    The file causing problems is: menu-primary.php, line 28:

    function mo_display_primary_menu($chosen_menu = ”) {
    echo ‘

    <!– #primary-menu –>’;
    }

    When ‘menu’ => $chosen_menu is commented out, the top menu works as we need.
    Footer menu is not affected and the flags do not disappear there.

    Perhaps you can change this in future versions of the theme.

    #20313
    RaghavendraRaghavendra
    Moderator

    Thanks for the solution. An update should come out soon and we will include the same.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.