Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

WPML Translate Shortcode

Opis

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.

Instalacija

  1. Upload wpml-translate-shortcode/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Recenzije

Nema recenzija za ovaj dodatak.

Suradnici i Programeri

“WPML Translate Shortcode” is open source software. The following people have contributed to this plugin.

Suradnici

Prevedite “WPML Translate Shortcode” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.0.1

  • DEPRECATED. Use WPML Shortcodes. It’s way better.

1.0.0

  • First release, it just works.