WPML language selector in mobile
Post count: 7akerdFebruary 3, 2015 at 10:02 pm #8820
Hi, I bought this theme on ThemeForest a couple of weeks ago and this is my first support question.
The theme is very good but today I bought WPML plugin and I found a problem. I setup 3 languages and the three flags appear to top correctly in desktop mode, but when I use mobile phone there is no trace of language flags in the menu or in the top header. Do you have suggestions how to fix this issue?
Thanks in advance
Post count: 7850AdekFebruary 5, 2015 at 9:46 am #8864
- This topic was modified 3 years, 1 month ago by akerd.
Thanks for your kind words. Can you provide me the url of those page, i will check it further.
Thank youPost count: 7Post count: 7850AdekFebruary 10, 2015 at 9:13 am #8980
It seems you need to add several menu items on the mobile menu to put url that will referring to language.
Thank youPost count: 7akerdFebruary 12, 2015 at 8:24 am #9119
Hi @Dek thank you for the answer. Do you mean that I should add the flags/items manually and you don’t have any code to manage the language change in the mobile menu?Post count: 7850AdekFebruary 12, 2015 at 9:24 am #9132
I’m not quite sure about that. Because currently on my localhost there is no wpml plugin. Anyway you can try to this way. Go to this file
jkreativ-themes/template/mobilemenu.phpjump into line 52 and put this code (wpml navigation)12345678910111213<?php } ?><div class="mobile-social mobile-menu-content"><h2><?php _e('Social Link', 'jeg_textdomain'); ?></h2><?php echo jeg_social_icon(true); ?></div><!-- wpml navigation --><?php jeg_get_template_part('template/navigation-top', 'wpml'); ?><div class="mobile-float"></div></div><!-- mobile menu end
You must be logged in to reply to this topic.