WPML flag in menu Extended free WordPress plugin
Description
Shows translated flags (for every language except current viewing lang) in any selected menu in the plugin settings LTR support In addition to the plugin from Ramon Fincken, this plugin let you select on which menu you want to add the language flags. You can even make an empty menu and make it dedicated for your language flags and put it as a custom menu in the sidebar. To make the flags appear on a translated menu, you go in the settings of the plugin and add the translated menu to the selection you made. This has to be done with every translated menu where you want the flags to appear. So, if you just have translated a menu. Go back to the options of the widget and you will see that this translated menu is added to the list. Select this menu too and save the options. See other notes tab for explanation Visit: http://www.enovision.net/wpml_flag_in_menu_extended/ for more explanation. additional classes You can also add an additional class for the IMG and LI tag. On the LI tag is automatically added the class “not-last” for all flag items but the last one, and “last” for the last flag. Now you can add some styling like: /* make a border around the flag icon */ img.wpml_flags { border : 1px solid #f1f1f1; } /* bring the icons a bit closer together */ li.wpml_flags.not-last { margin-right : -20px; } /* a little left padding after the flag, when name is used too */ .wpml_flags_name { padding-left : 10px; } You can find these styles in the style.css in the css directory of the plugin. Modify this to your own requirements. How to right justify the menu’s on a menu? You can add a wrapper class around the flags and put some CSS
Features
Cost:
Free
Provider:
Johan van de Merwe
Popularity:
Low
WPMarket

