{"id":454,"date":"2009-01-13T13:27:18","date_gmt":"2009-01-13T22:27:18","guid":{"rendered":"http:\/\/yvod.com\/ulan\/?p=454"},"modified":"2009-01-13T13:27:18","modified_gmt":"2009-01-13T22:27:18","slug":"how-to-use-multiple-sidebars-in-your-wordpress-theme","status":"publish","type":"post","link":"http:\/\/yvod.com\/ulan\/how-to-use-multiple-sidebars-in-your-wordpress-theme\/","title":{"rendered":"How-To Use Multiple Sidebars in your WordPress Theme"},"content":{"rendered":"<p>I needed to create multiple sidebars for a WordPress website I am building.  <a href=\"http:\/\/thingsbymike.com\/wordpress-different-sidebar\/\" target=\"_blank\">Thoughts By Mike<\/a> figured he could do it with a simple file &#8220;include&#8221;. Turns out he is right&#8230; and it is simple too =)<\/p>\n<p>Step 1: Create your new sidebar<br \/>\nStep 2: Include it<\/p>\n<p>Themes generally use &#8220;get_sidebar&#8221; to display a sidebar:<\/p>\n<p><strong>&lt;?php get_sidebar(); ?><\/strong><\/p>\n<p>Include the new sidebar file instead:<\/p>\n<p><strong>&lt;?php include (&#8216;sidebar-projects.php&#8217;); ?><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed to create multiple sidebars for a WordPress website I am building. Thoughts By Mike figured he could do it with a simple file &#8220;include&#8221;. Turns out he is right&#8230; and it is simple too =) Step 1: Create your new sidebar Step 2: Include it Themes generally use &#8220;get_sidebar&#8221; to display a sidebar: &#8230; <a title=\"How-To Use Multiple Sidebars in your WordPress Theme\" class=\"read-more\" href=\"http:\/\/yvod.com\/ulan\/how-to-use-multiple-sidebars-in-your-wordpress-theme\/\" aria-label=\"Read more about How-To Use Multiple Sidebars in your WordPress Theme\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,11],"tags":[],"class_list":["post-454","post","type-post","status-publish","format-standard","hentry","category-code-computers","category-websites"],"_links":{"self":[{"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/posts\/454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/comments?post=454"}],"version-history":[{"count":0,"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/posts\/454\/revisions"}],"wp:attachment":[{"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/media?parent=454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/categories?post=454"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yvod.com\/ulan\/wp-json\/wp\/v2\/tags?post=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}