In your theme’s page.php file, change the sidebar code from this
<?php get_sidebar(); ?>
to something like this
<?php if ( !is_page(array('contact','about','services'))) { ;
get_sidebar();
} ?>
which will display the sidebar on all pages except those 3. The apostrophe means “not” – display the sidebar on all pages except these. You can change the list and add more pages to it.
Ok Cool…That worked great! I really
appreciate your help!
I assumed that the rest of the page
would fill in where the side menu was.
Is there a way to make the page go right
across to fill up the old sidebar space?
Take Care,
Michael Silvester
Does anyone know how to make the page fill in
the part where the side bar was?
Thanks Again,
Michael Silvester
Hi
on pages where the sidebar is not displaying, set a class on the div that is the contents area, and in CSS assign a wider width to the div when it has that class.
if you need assistance implementing that, you have to post a URL.
Hi Mate,
I will probably need a little more help (newbie here)
Here is a link to a page that you can see what I
am trying to do. I basically have a forum showing
in an iframe but the previous sidebar section is blocking
the rest of the page.
http://www.bigbusinessclub.com/?page_id=4
What can I do to fix it up and where do I go to do it.
I appreciate the help you have given me so far.
Take Care,
Michael Silvester
Your forum iframe is defined with a width of 100%. Don’t do it that way. change it to width=”900″ and you can adjust from there – perhaps “925”. I also suggest you make the height less than “1000” as it is set now. Not that many people have screens that stretch 1000 pixels vertically, which creates scrollbar issues for many visitors.
Start at around 600 and take it from there.
Awesome…
That worked perfectly!
Any tricks to get the page title bar to
go across the page?
Take Care,
Michael Silvester
Hi
in CSS
#content {
display:block;
float:left;
margin:14px 0 20px 5px;
CHANGE TO --> width:900px;
}
That will affect all pages – looks like that is what you want. That widens the content area also on all pages.