<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Remove sidebar on all pages but blog or create a sidebar-less page template</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 00:42:22 +0000</pubDate>

<item>
<title>j.dalen on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-15184</link>
<pubDate>Sun, 29 Aug 2010 07:09:35 +0000</pubDate>
<dc:creator>j.dalen</dc:creator>
<guid isPermaLink="false">15184@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Can someone help me modify the above code to get rid of subsidiaries on certain page templates?  I have already moved the subsidiary section under _belowmainasides (so it is within the main container, above the footer)&#60;/p&#62;
&#60;p&#62;I tried the below, but it's incorrect:&#60;/p&#62;
&#60;p&#62;// filter thematic_subsidiaries ... switch off on certain page templates and blog page&#60;br /&#62;
function remove_belowmainasides() {&#60;br /&#62;
 // We test if we are on the front page&#60;br /&#62;
 if (is_page('standard') or is_single()) {&#60;br /&#62;
 // Yes, we are .. leave on&#60;br /&#62;
 return TRUE;&#60;br /&#62;
 } else {&#60;br /&#62;
 // we are not .. switch off&#60;br /&#62;
 return FALSE;&#60;br /&#62;
 }&#60;br /&#62;
}&#60;br /&#62;
// Connect the filter to thematic_subsidiaries()&#60;br /&#62;
add_filter('thematic_belowmainasides()', 'remove_widget_area_subsidiaries');
&#60;/p&#62;</description>
</item>
<item>
<title>ridgely on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-14598</link>
<pubDate>Tue, 10 Aug 2010 19:46:44 +0000</pubDate>
<dc:creator>ridgely</dc:creator>
<guid isPermaLink="false">14598@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Update: Please disregard the above - I remembered that &#60;code&#62;thematic_sidebar()&#60;/code&#62; only encompasses &#60;code&#62;primary&#60;/code&#62; and &#60;code&#62;secondary&#60;/code&#62; anyway. I went ahead and used Helga's &#60;code&#62;remove_sidebar()&#60;/code&#62; function pretty much as is.
&#60;/p&#62;</description>
</item>
<item>
<title>ridgely on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-14596</link>
<pubDate>Tue, 10 Aug 2010 18:15:43 +0000</pubDate>
<dc:creator>ridgely</dc:creator>
<guid isPermaLink="false">14596@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Helga, thanks for the &#60;code&#62;filter thematic_sidebar()&#60;/code&#62; code - exactly what I was looking for. If I wanted to remove just &#60;code&#62;primary&#60;/code&#62; or &#60;code&#62;secondary&#60;/code&#62; from certain category pages, would this be correct:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// filter thematic_sidebar() ... switch off on category-painting and category-drawing
function remove_sidebar(&#38;#39;primary&#38;#39;) {
 // We test if we are on either category-painting or category-drawing
 if (is_category(&#38;#39;drawing&#38;#39;) &#124;&#124; is_category(&#38;#39;painting&#38;#39;)) {
 // Yes, we are .. now we switch off the sidebar
 return FALSE;
 } else {
 // we are not .. we leave the switch on
 return TRUE;
 }
}
// Connect the filter to thematic_sidebar(&#38;#39;primary&#38;#39;)
add_filter(&#38;#39;thematic_sidebar&#38;#39;, &#38;#39;remove_sidebar&#38;#39;);
// ....Repeat for thematic_sidebar(&#38;#39;secondary&#38;#39;).....&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Actually, now that I look this over, I suspect it might not work. In order to:&#60;br /&#62;
1) Check if we're on category-drawing or category-painting&#60;br /&#62;
2) If so, switch off primary sidebar&#60;br /&#62;
3) If so, switch off secondary sidebar&#60;br /&#62;
what needs to happen?&#60;br /&#62;
(I want to keep the other widget areas so I was afraid to just use blanket &#60;code&#62;sidebar&#60;/code&#62;.)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-14573</link>
<pubDate>Mon, 09 Aug 2010 17:57:45 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">14573@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@towsondcr - you are going to have to be willing to cut and paste code in order to learn something about child themes and thematic. if you are not, you should probably consider hiring someone.  &#60;/p&#62;
&#60;p&#62;that said, if you do a child theme correctly you shouldn't be able to really mess up your site.  you can always delete your child's functions.php to recover from whatever error you've just made...or super worst case you can switch back to default theme.  i also think it is essential to develop on your own local server.  it saves time AND keeps you from royally destroying anything in a live environment.  google how to set up wordpress on XAMMP.  &#60;/p&#62;
&#60;p&#62;you didn't really say what exactly you are attempting to do, but since you bumped this thread you must be looking for a full-width page template?  the easiest solution might be to use the template Devin posted on his site.  the link is above for Custom Page Templates in Thematic.
&#60;/p&#62;</description>
</item>
<item>
<title>towsondcr on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-14572</link>
<pubDate>Mon, 09 Aug 2010 15:59:44 +0000</pubDate>
<dc:creator>towsondcr</dc:creator>
<guid isPermaLink="false">14572@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@Helga...Hi Helga.  Thank you for this information.  But the last time I tried to paste in a php code I really jacked up my site and had to start all over.  So, besides making the changes in the pages, is there a particular way to paste this code into my functions.php?  Do I do it in wordpress or do I need to download it, paste it in, and then re-upload?  I know really nothing about php so I am really hesitant to mess with it but this seems relatively simple.&#60;/p&#62;
&#60;p&#62;Please help
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12401</link>
<pubDate>Sat, 15 May 2010 01:50:19 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12401@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i probably found this on the forum but here is what i use to get rid of the sidebar on static home pages that are not the blog:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// filter thematic_sidebar() ... switch off on static home page
function remove_sidebar() {
 // We test if we are on the front page
 if (is_front_page() and !is_home()) {
 // Yes, we are .. now we switch off the sidebar
 return FALSE;
 } else {
 // we are not .. we leave the switch on
 return TRUE;
 }
}
// Connect the filter to thematic_sidebar()
add_filter(&#38;#39;thematic_sidebar&#38;#39;, &#38;#39;remove_sidebar&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so in your case, i'd probably try switching that around:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// filter thematic_sidebar() ... switch off on static home page
function remove_sidebar() {
 // We test if we are on the front page
 if (is_home() or is_single()) {
 // Yes, we are .. leave on
 return TRUE;
 } else {
 // we are not .. switch off
 return FALSE;
 }
}
// Connect the filter to thematic_sidebar()
add_filter(&#38;#39;thematic_sidebar&#38;#39;, &#38;#39;remove_sidebar&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>onto on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12400</link>
<pubDate>Fri, 14 May 2010 22:48:48 +0000</pubDate>
<dc:creator>onto</dc:creator>
<guid isPermaLink="false">12400@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I tried the suggestion to create custom page templates when I noticed that the street theme already has a full-page no-sidebar page template. I'm dumb!&#60;/p&#62;
&#60;p&#62;In case somebody else is searching for this: Page templates can be choosen when editing a site.
&#60;/p&#62;</description>
</item>
<item>
<title>onto on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12399</link>
<pubDate>Fri, 14 May 2010 22:46:34 +0000</pubDate>
<dc:creator>onto</dc:creator>
<guid isPermaLink="false">12399@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I tried the suggestion to create custom page templates when I noticed that the street theme already has a full-page no-sidebar page template. I'm dumb!&#60;/p&#62;
&#60;p&#62;In case somebody else is searching for this: Page templates can be choosen when editing a site.
&#60;/p&#62;</description>
</item>
<item>
<title>onto on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12252</link>
<pubDate>Mon, 10 May 2010 00:39:09 +0000</pubDate>
<dc:creator>onto</dc:creator>
<guid isPermaLink="false">12252@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks, that seems what I'm after. I'll try this and report back!&#60;/p&#62;
&#60;p&#62;By the way, do you or does anybody know if somebody has converted the aforementioned page templates of the Hybrid Framework to Thematic? If yes, where can I download them?
&#60;/p&#62;</description>
</item>
<item>
<title>Devin on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12247</link>
<pubDate>Sun, 09 May 2010 18:30:25 +0000</pubDate>
<dc:creator>Devin</dc:creator>
<guid isPermaLink="false">12247@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You could copy page.php into your child theme directory, and then delete the lines:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// calling the standard sidebar
    thematic_sidebar();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You'd also have to update the css.  You could target pages using the body tag, ie body.page #container { }.&#60;/p&#62;
&#60;p&#62;For pages where you did want a sidebar, you could use a page template.&#60;/p&#62;
&#60;p&#62;Here's an example of how you would build a template to remove the sidebar, you can borrow most of the code here and reverse it for your purposes: &#60;a href=&#34;http://wptheming.com/2010/03/custom-page-templates-thematic/&#34;&#62;Custom Page Templates in Thematic&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>onto on "Remove sidebar on all pages but blog or create a sidebar-less page template"</title>
<link>http://themeshaper.com/forums/topic/remove-sidebar-on-all-pages-but-blog-or-create-a-sidebar-less-page-template#post-12246</link>
<pubDate>Sun, 09 May 2010 17:40:43 +0000</pubDate>
<dc:creator>onto</dc:creator>
<guid isPermaLink="false">12246@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;first of all many thanks for the Thematic Framework. It's awesome! I'm a Wordpress n00b, so bear with me if I ask for something stupid or hard to solve.&#60;/p&#62;
&#60;p&#62;I'm using a modded Street Child theme (http://www.cozmoslabs.com/2009/06/02/street-wordpress-theme/) by the way. &#60;/p&#62;
&#60;p&#62;I have two questions:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;I'm designing a new website and I'd like to remove the sidebar on all site pages except the blog and it's blog posts. How do I do this? I know how to remove the sidebar from single pages (tutorial here: &#60;a href=&#34;http://www.elshaddai-edwards.com/2010/01/remove-sidebar/&#34; rel=&#34;nofollow&#34;&#62;http://www.elshaddai-edwards.com/2010/01/remove-sidebar/&#60;/a&#62;) but it's a hassle to manually add exceptions to the functions.php and style.css. I was hoping for an easier solution, preferably one that doesn't also make me modify the style.css.&#60;/li&#62;
&#60;li&#62;Related to the first question: Is there a way to use page templates for Thematic in the same way as the Hybrid Framework? I recall that somebody converted the Hybrid page templates (http://themehybrid.com/archives/2009/11/hybrid-page-templates) to Thematic, but I can't find the site or a download any more. What I'm after are preconfigured page templates which make it easy to create new page e.g. a page without asides or an archive page. Unfortunately I don't know any PHP else I would have created a such page templates myself.&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Many thanks for your help!&#60;/p&#62;
&#60;p&#62;onto
&#60;/p&#62;</description>
</item>

</channel>
</rss>
