This tutorial provides all the PHP and CSS code which you simply copy and paste into your child themes files.
The code only works when the WPML plugin is active.
Here’s the result which you can easily modify if needed:

You can use this code in any theme as long as you change the CSS class in the PHP code.
Here’s all the code for logged in members:
Related Tutorials & Plugins
- Add WPML Language Selector Text Links To Genesis Nav Menu
- Change Logo Based on Site Visitor Country or WPML Language Selection
Was this helpful?
Thanks for your feedback!

Leave a Reply
You must be logged in to post a comment.