{"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\/fr\/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&rsquo;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&rsquo;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&rsquo;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 allows creating different sidebars per language using Woo&rsquo;s Sidebar Manager. See how it works. 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 [&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,"ep_exclude_from_search":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-7758","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/7758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/comments?post=7758"}],"version-history":[{"count":14,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/7758\/revisions"}],"predecessor-version":[{"id":7775,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/7758\/revisions\/7775"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/media?parent=7758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/categories?post=7758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/tags?post=7758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}