WordPress plugin intelligence profile

WPML flag in menu Extended

Shows flags of WPML translated content in selected menu's

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.3
Current version1.7
WordPress coverageTested up to WordPress 4.3
Minimum stackWP 2.0.2 · PHP —
Directory statusactive
Last directory update7 Apr 201610y ago
Active installations200Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 9 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WPML flag in menu Extended version 1.7 as active, updated 10y ago and tested up to WordPress 4.3.

Overview

About this plugin

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

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:

wpml_flags { border: 1px solid #f1f1f1; }

not-last { margin-right: -20px; }

wpml_flags_name { padding-left: 10px; }

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 styles on it.

In the wrap element you put: div

In the wrap extra classes you put: flag_wrapper.

flag_wrapper { float: right; }

In the wrap element you put: span

In the wrap extra classes you put: flag_wrapper.

flag_wrapper { float: right; line-height: 14px; /* this could be different */ }

How to add a menu to a seperate widget area?

  • Create a new menu f.e. “Language Selecter”
  • Add a custom link to this menu with in the label: [wpml_flag_menu]
  • Save the menu
  • Create/Translate the menu in all your languages (to make it exists in all languages)
  • Modify the wmpl_flag_menu settings and select the menus used created/translated
  • Save the settings
  • Add a custom menu widget to the sidebar or any other widget area and select the “Language Selecter” as selected menu
  • Save the settings and look for the result

Limitations

) Genesis Framework (child) Themes!!!

Coding by: Johan van de Merwe

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • wp nav menu
  • header
  • wpnav
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.3
Minimum requirementsWordPress 2.0.2 · PHP not listed
Update activity7 Apr 201610y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.