{"id":28053,"date":"2014-02-26T08:36:26","date_gmt":"2014-02-26T08:36:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpml-translate-shortcode\/"},"modified":"2016-03-04T21:28:08","modified_gmt":"2016-03-04T21:28:08","slug":"wpml-translate-shortcode","status":"publish","type":"plugin","link":"https:\/\/yor.wordpress.org\/plugins\/wpml-translate-shortcode\/","author":12551003,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"3.7.41","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"WPML Translate Shortcode (DEPRECATED)","header_author":"Mirco Babini","header_description":"","assets_banners_color":"848083","last_updated":"2016-03-04 21:28:08","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/mircobabini.com\/donate\/","header_plugin_uri":"http:\/\/github.com\/mirkolofio\/wpml-translate-shortcode","header_author_uri":"http:\/\/github.com\/mirkolofio","rating":5,"author_block_rating":0,"active_installs":100,"downloads":11090,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"6"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"908895","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1385,95,2333,2334,103],"plugin_category":[43,48],"plugin_contributors":[81963],"plugin_business_model":[],"class_list":["post-28053","plugin","type-plugin","status-publish","hentry","plugin_tags-language","plugin_tags-translate","plugin_tags-translation","plugin_tags-translator","plugin_tags-wpml","plugin_category-customization","plugin_category-language-tools","plugin_contributors-mirkolofio","plugin_committers-mirkolofio"],"banners":{"banner":"https:\/\/ps.w.org\/wpml-translate-shortcode\/assets\/banner-772x250.png?rev=908895","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpml-translate-shortcode_848083.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds the wpml_translate shortcode to your shortcode suite. You can also use the wpml_text_if_language( $lang, $content ) in your php code.<\/p>\n\n<h4>Usage (via code)<\/h4>\n\n<p>echo wpml_text_if_language( 'en', 'Text' ); echo wpml_text_if_language( 'it', 'Testo' );<\/p>\n\n<h4>Usage (via shortcode)<\/h4>\n\n<p>[wpml_translate lang='en']Text[\/wpml_translate][wpml_translate lang='it']Testo[\/wpml_translate]<\/p>\n\n<h4>Alias<\/h4>\n\n<ul>\n<li>wpml_language is an alias for wpml_translate shortcode<\/li>\n<li>code and language are alias for lang attribute<\/li>\n<\/ul>\n\n<h4>Contribute<\/h4>\n\n<p>If you wanna contribute, pull requests on <a href=\"https:\/\/github.com\/mirkolofio\/wpml-translate-shortcode\">github.com<\/a>.<\/p>\n\n<p>Developed by <a href=\"http:\/\/www.mircobabini.com\/\">Mirco Babini<\/a>, <strong>Wordpress Consultant, Web Developer and Data Lover<\/strong>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wpml-translate-shortcode\/<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>DEPRECATED. Use WPML Shortcodes. It's way better.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release, it just works.<\/li>\n<\/ul>","raw_excerpt":"Adds the wpml_translate shortcode to your shortcode suite. You can also use the wpml_text_if_language( $lang, $content ) in your php code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28053"}],"author":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mirkolofio"}],"wp:attachment":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28053"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28053"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28053"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28053"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28053"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}