well if you still have your index.php or any available template files inside your theme directory. You can try the following tricks.
find all
<?php get_sidebar(); ?>
replace with
<?php if (is_page() == false) get_sidebar(); ?>
Extra css, the below code will make the right content fill up the sidebar space.
add it inside functions.php
function custom_page_css()
{ global $wp_query;
if ($wp_query->is_page){
?>
<style type="text/css">
/*<![CDATA[*/
#content{width:858px}
/*]]>*/
</style>
<?php
}
}
add_action('wp_head','custom_page_css');
Thanks. So, I create pages.php by copying index.php and insert the above code? Or, only replace the code on index.php?
for clarification: I DO want the sidebar to show where it currently is showing. I want to create a new set of pages where the sidebar will not show.
u could mod the index.php the code will disabled/exclude the sidebar on “page” sections only.