Add WPML Language Selector Flags To WP Nav Menu

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:

wpml-flags

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

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.