Beschrijving
Adds the wpml_translate shortcode to your shortcode suite. You can also use the wpml_text_if_language( $lang, $content ) in your php code.
Usage (via code)
echo wpml_text_if_language( ‘en’, ‘Text’ ); echo wpml_text_if_language( ‘it’, ‘Testo’ );
Usage (via shortcode)
[wpml_translate lang=’en’]Text[/wpml_translate][wpml_translate lang=’it’]Testo[/wpml_translate]
Alias
- wpml_language is an alias for wpml_translate shortcode
- code and language are alias for lang attribute
Contribute
If you wanna contribute, pull requests on github.com.
Developed by Mirco Babini, WordPress Consultant, Web Developer and Data Lover.
Installatie
- Upload
wpml-translate-shortcode/
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“WPML Translate Shortcode” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “WPML Translate Shortcode” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.1
- DEPRECATED. Use WPML Shortcodes. It’s way better.
1.0.0
- First release, it just works.