{"id":7758,"date":"2011-06-02T10:34:57","date_gmt":"2011-06-02T10:34:57","guid":{"rendered":"http:\/\/wpml.org\/?p=7758"},"modified":"2011-06-02T11:11:07","modified_gmt":"2011-06-02T11:11:07","slug":"how-to-build-different-sidebars-per-language","status":"publish","type":"post","link":"https:\/\/wpml.org\/th\/tutorials\/2011\/06\/how-to-build-different-sidebars-per-language\/","title":{"rendered":"How to Build Different Sidebars per Language"},"content":{"rendered":"<p><strong>The Admin content-language switcher in WPML 2.3.0 allows creating different sidebars per language using Woo&#8217;s Sidebar Manager. See how it works.<\/strong><\/p>\n<p>The Sidebar Manager in Woo Framework is a great example for using the new Admin content-language switcher in WPML 2.3.0. It lists pages, categories and templates and lets users create special sidebars that display just for them.<\/p>\n<p>Since translations are actually different pages, a sidebar that you create for a page in one language doesn&#8217;t show for its translations. This features gives the ability to create completely different sidebars per language.<\/p>\n<p>You can use it to display different widgets altogether, or the same widgets but with different texts.<\/p>\n<p>This video shows how I&#8217;m using it on our <a href=\"http:\/\/ml-themes.wpml.org\/canvas\/\">demo Canvas site<\/a>:<\/p>\n<div class=\"embed-responsive embed-responsive-16by9\"><iframe width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/2QWi4Q9fVok?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<p>I created this tutorial to show how to use the Admin content-language switcher. Many modern themes allow users to choose content for special site elements. These can be your portfolio page, items for a slider and other cool features. The Admin content-language switcher lets you choose the language of content in any Admin screen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Admin content-language switcher in WPML 2.3.0 allow [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-7758","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"spectra_custom_meta":{"_edit_last":["2"],"_edit_lock":["1307013115:2"],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_icl_translator_note":[""],"_alp_processed":["1408524240"],"_oembed_970685e259297f7f8286c4c52e6b6581":["<iframe width=\"500\" height=\"375\" src=\"http:\/\/www.youtube.com\/embed\/2QWi4Q9fVok?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe>"],"_oembed_ad44eba37d85b195e5cb17199977d665":["<iframe width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/2QWi4Q9fVok?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe>"],"_oembed_time_ad44eba37d85b195e5cb17199977d665":["1493480203"],"_oembed_bbf56b1d4c25ce11481afba39f176f85":["<iframe title=\"Using WPML to translate content created with page builders\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/MSqNzrdPMkE?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_bbf56b1d4c25ce11481afba39f176f85":["1660904889"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["0"],"_oembed_5b878497fa28c407745addbe2627459e":["<iframe title=\"Language switcher preview in WPML 3.6\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/NEwhylLpnJ4?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>"],"_oembed_time_5b878497fa28c407745addbe2627459e":["1730907379"],"_wpml_word_count":["197"],"_uag_css_file_name":["uag-css-7758.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/th\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"The Admin content-language switcher in WPML 2.3.0 allow&hellip;","_links":{"self":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/7758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/comments?post=7758"}],"version-history":[{"count":14,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/7758\/revisions"}],"predecessor-version":[{"id":7775,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/7758\/revisions\/7775"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media?parent=7758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/categories?post=7758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/tags?post=7758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}