Adds shortcodes to the WPML environment, like wpml__, wpml_e and more. Makes WP full WPML ready.
As of April 2026, WPML Shortcodes is a WordPress wpml plugin with 900 active installations and a 5/5 rating from 5 reviews. It has been downloaded 9.8K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2014. Last updated 10 years ago — may have compatibility concerns. Top alternative: WP Editor Widget.
Adds the wpml__ and wpml_e functions to your theme and the wpml__ shortcode to your WordPress website. Make your WordPress full WPML ready
<?php wpml__( $text, $context ); ?> <?php wpml_e( $text, $context ); ?>
Similarly to the behaviour of the __, _e functions, you must provide a string to make translateable and a context.
That’s it; just provide translations from the WPML > String Translations admin panel.
Check how to use the shortcode below.
<h1><?php echo wpml__( 'Title', 'wpmlshortcodes' ); ?></h1> <h2><?php wpml_e( 'Subtitle', 'wpmlshortcodes' ); ?></h2>
<h1>[wpml__ context=wpmlshortcodes]Title[/wpml__]</h1> <h2>[wpml__ context=wpmlshortcodes]Subtitle[/wpml__]</h2>…
| WordPress | 2.8+ requiredTested up to 4.4.34 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.