WP SITES

3082 Coded Tutorials & 284 Plugins

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:

Leave a Reply

New Plugins