Tagged: flags, multilingual, WMPL
-
AuthorPosts
-
May 8, 2017 at 11:48 pm #789906
I am testing the Enfold for a New website, I just want to keep text version of Language Switcher and want to remove the Flags from the Menu Bar.
Here is the snapshot:
http://prntscr.com/f5mncaI contacted to WMPL plugin team and they replied as follow:
The function that is putting the flag menu there is inside the template file (enfold theme) config.php (config-wpml/config.php) through the function function avia_wpml_language_switch(). The avia function is using the wpml language flag, but it is generating the code for the language menu you don’t want to use.You could comment out the part you dont need in the functions that put the language switcher there (function avia_wpml_language_switch()) but please consult with your theme support on how to do this first.
Need your help to resolve this.May 9, 2017 at 1:09 am #789920Hey Sushil,
If you just don’t want them seen, you can simply hide them with css.
Best regards,
Jordan ShannonMay 9, 2017 at 1:11 am #789921Hi Jordan,
Thanks for the quick reply. Actually, I am not a developer, So can you please guide me exact steps or code nee to implement, That would be great.
Best Regards,
SushilMay 9, 2017 at 1:14 am #789924Hi,
Please provide a link to the site so I can see the section in question.
Best regards,
Jordan ShannonMay 9, 2017 at 1:16 am #789925May 9, 2017 at 1:21 am #789926Hi,
Add the following to quick css:
.av-language-switch-item{ display:none!important; }
Let me know if this works for you.
Best regards,
Jordan ShannonMay 9, 2017 at 1:29 am #789928Hi Jordan,
It worked, but I had to put this code with all language versions under quick css.
Thanks for your help.
Best Regards,
SushilMay 9, 2017 at 7:20 am #790022Hi,
Yes, that is how it works by default. The CSS is separate for each language, glad you got it working though.
Best regards,
RikardMay 10, 2017 at 1:12 am #790723Thanks, Rikard,
But I am not sure where are the social media icons? The were there before implementing the WMPL. also unable to see them in the footer.
Regards,
SushilMay 10, 2017 at 1:19 am #790726Hi Sushil,
Please go to Enfold theme options > Header > Extra Elements and enable social network icons on each language :)
If that does not work, please create a temporary admin login and post it here privately.Best regards,
YigitMay 10, 2017 at 1:35 am #790741Hi Yigit,
Thanks for the quick reply.
Yes, It worked,
1. Looks different in others language versions with lines in the header.
2. How to enabled footer social icons.
3. Polish and Russian version pages showing 404 error,
http://sushilkin.com/dci/pl/
http://sushilkin.com/dci/ru/but the pages exists as:
http://sushilkin.com/dci/ru/главная/ to
other languages are fine.
Regards,
SushilMay 10, 2017 at 4:17 pm #791180Hi Sushil,
You simply need to adjust options in Enfold theme options. Please note that you would need to switch language in Enfold theme options after applying changes as they are being applied independently.
1- Not sure if i understood you clearly. However as i mentioned above, please go to Enfold theme options > Header > Extra elements in each language and make sure settings are matching
2- Please go to Enfold theme options > Footer and enable social network links
3- I went to Enfold theme options and switched language to Polish and then Russian and chose frontpage. That helped with those pages.
Best regards,
YigitMay 10, 2017 at 9:52 pm #791352Hi Yigit,
Thanks for the suggestions.
1. I checked settings in the header section, every language has same, but the only English version has clean looks of header after loading, but others don’t.
2. Social icons options are now enabled for every language, it worked. Thanks.
3. I did this thing after translation. Thanks for doing it for me.I have a new query, How I can change the URL for Chinese version http://sushilkin.com/dci/zh-hans/
to http://sushilkin.com/dci/cn/Regards,
SushilMay 12, 2017 at 5:08 pm #792407Hi,
for any new questions/issues please open a new ticket.
I’ve checked your backend and you’re using an old version of the theme, so please update.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.