If I wanted to remove 1 or more sidebars when a certain page is called what is the best way to go about doing that?
|
If you are creating your own theme you could add this to your
Replace |
|||
|
|
|
You would want to create a template for your page. In this template you would call your content but not the sidebar. Then you would assign this template to the pages you want in the editor. Here's a simple tutorial : http://www.expand2web.com/blog/custom-page-template-wordpress/ |
|||
|
|
|
Copy page.php from your theme and rename to create your custom template. associate this template with page you want from admin->pages->edit page -> select template. In your template you can remove side bar as you want... Here is more info about page templates http://codex.wordpress.org/Pages#Page_Templates |
|||
|
|
body_class()- this will give you the ability to target the styles of the central content div to stretch the remaining space to fill the full width. – Michael Jul 12 '11 at 12:37