Aprašymas
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.
Diegimas
- Upload
wpml-translate-shortcode/
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Atsiliepimai
Įskiepis neturi atsiliepimų.
Programuotojai ir komandos nariai
“WPML Translate Shortcode” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “WPML Translate Shortcode” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.
Pakeitimų istorija
1.0.1
- DEPRECATED. Use WPML Shortcodes. It’s way better.
1.0.0
- First release, it just works.