Overview of the Issue
If you are using the Udesign theme, you will encounter that WPML’s language switcher does not appear in the mobile menu.
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- Open your theme’s functions.php file.
- Add the following code:
add_filter( 'wpml_ls_exclude_in_menu', function( $isExcluded ) { if ( isset( $_POST['action'] ) && 'alpha_load_mobile_menu' === $_POST['action'] ) { return false; } return $isExcluded; } );
Need Help with This Issue?
Ask a support question and we’ll look into it with you.
Ask a support question