{"id":20228,"date":"2012-06-29T04:21:31","date_gmt":"2012-06-29T08:21:31","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=20228"},"modified":"2020-01-29T07:23:02","modified_gmt":"2020-01-29T12:23:02","slug":"wordpress-how-to-remove-a-sidebar-from-a-specific-pagepages","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-remove-a-sidebar-from-a-specific-pagepages.html","title":{"rendered":"WordPress. How to remove a sidebar from a specific page\/pages"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p><strong>1)<\/strong> First of all we should make sure that the widgets are related to sidebar area. Open your admin panel and go to <strong>Appearance &gt; Widgets<\/strong> and see &#8216;sidebar&#8217; area.<\/p>\r\n<p><strong>2)<\/strong> Now we need to locate page template used for the page you need to remove sidebar from. Go to <strong>Pages &gt; All Pages<\/strong> and check the one you need, see page template if any.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/06\/wordpress_how_to_remove_sidebar_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/06\/wordpress_how_to_remove_sidebar_1-211x300.jpg\" alt=\"\" width=\"211\" height=\"300\" class=\"alignnone size-medium wp-image-20229\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/06\/wordpress_how_to_remove_sidebar_1-211x300.jpg 211w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/06\/wordpress_how_to_remove_sidebar_1.jpg 291w\" sizes=\"(max-width: 211px) 100vw, 211px\" \/><\/a><\/p>\r\n<p><strong>3)<\/strong> Now open the correct page file and locate sidebar reference.<\/p>\r\n<pre class=\"brush:php\">&lt;?php get_sidebar(); ?&gt;<\/pre>\r\n<p>Just remove it if you do not need it.<\/p>\r\n<p><strong>4)<\/strong> In case you have no special template page for the page you can use <a href=\"http:\/\/codex.wordpress.org\/Conditional_Tags\" target=\"_blank\">WordPress conditional tags<\/a> or create a new page template.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/wordpress\/wordpress_how_to_remove_sidebar.htm\" target=\"blank\">WordPress. How to remove a sidebar<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn the way to remove sidebar from certain pages only.<\/p>\n","protected":false},"author":29,"featured_media":20233,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[642,655,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/20228"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=20228"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/20228\/revisions"}],"predecessor-version":[{"id":85776,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/20228\/revisions\/85776"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/20233"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=20228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=20228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=20228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}