It’s a bit difficult without seeing the whole code as each theme is different.
http://pastebin.com/
http://pastebin.co.uk/
are two places you can paste a full page of code
Sorry about that! This is my current sidebar code for all pages. Again, my URL is http://table4five.net.
I need to start a new Page just for the category payperpost, and on those pages, the sidebar needs to NOT include the code for Blogher ads. Also, I just thought of something-since I use text widgets in my sidebar, shouldn’t there be a way to create a second set of widgets for a second sidebar? That way, I could just not use the widget that has the Blogher ad code in it.
If not, this is the Variable Sidebar code from the WordPress Codex page for Conditional tags. It seems like it is close to what I need, except I don’t want single pages to display NO sidebar, I want them to display a DIFFERENT sidebar. Please let me know if there is any other info you need.
Wow! That sounds complicated.
I like the idea of adding another widget sidebar. Your first one should be within divs or whatever
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<p>Some default text here in case you forget to put a widget in </p>
<?php endif; ?>
</ul>
Your second one should be in a different div (just for ease of placing it on the page, that’s all)
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<li class="widgets">This is the Widgets Number 2 holder or container or 'sidebar' - if you don't want to use it, delete it or or use 'display:none' for the surrounding div elements</li>
<?php endif; ?>
</ul>
In your functions.php place this at the top of the page and within php tags:
if ( function_exists('register_sidebars') )
register_sidebars(2);