<?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: 1 column layout on specified pages</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 19:13:59 +0000</pubDate>

<item>
<title>friendlygiraffe on "1 column layout on specified pages"</title>
<link>http://themeshaper.com/forums/topic/1-column-layout-on-specified-pages#post-16682</link>
<pubDate>Mon, 01 Nov 2010 23:20:58 +0000</pubDate>
<dc:creator>friendlygiraffe</dc:creator>
<guid isPermaLink="false">16682@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks I got it with this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function add_wide_class($class) {&#60;br /&#62;
    global $post;&#60;br /&#62;
	if ( is_page('next-show') ) {&#60;br /&#62;
		$class&#38;lt;&#38;gt; = 'wide-page';&#60;br /&#62;
	}&#60;br /&#62;
	return $class;&#60;br /&#62;
}&#60;br /&#62;
add_filter( 'body_class',  'add_wide_class' );&#60;/p&#62;
&#60;p&#62;// Remove sidebar on selected pages&#60;br /&#62;
function remove_sidebar() {&#60;br /&#62;
    global $post;&#60;br /&#62;
	if (is_page('next-show')) {&#60;br /&#62;
		return FALSE;&#60;br /&#62;
	} else {&#60;br /&#62;
		return TRUE;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_sidebar', 'remove_sidebar');&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But when I use this function, to display the categories on one page, the sidebar appears again. Do you know why this is?:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;// display categories on pages&#60;br /&#62;
function childtheme_second_loop() {&#60;br /&#62;
	if (is_page('next-show')) {&#60;br /&#62;
		query_posts(&#34;category_name=next-show&#38;#38;showposts=10&#34;);&#60;br /&#62;
		thematic_index_loop();&#60;br /&#62;
		return;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_abovepagebottom', 'childtheme_second_loop');&#38;lt;/code&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>neonbible on "1 column layout on specified pages"</title>
<link>http://themeshaper.com/forums/topic/1-column-layout-on-specified-pages#post-16678</link>
<pubDate>Mon, 01 Nov 2010 14:29:57 +0000</pubDate>
<dc:creator>neonbible</dc:creator>
<guid isPermaLink="false">16678@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Create a new page template file for full width page.  And when you create a new page in WP-admin you can specify which template it uses.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or use the existing ones from thematic as an example.
&#60;/p&#62;</description>
</item>
<item>
<title>d_rec on "1 column layout on specified pages"</title>
<link>http://themeshaper.com/forums/topic/1-column-layout-on-specified-pages#post-16677</link>
<pubDate>Mon, 01 Nov 2010 12:14:22 +0000</pubDate>
<dc:creator>d_rec</dc:creator>
<guid isPermaLink="false">16677@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You'll need to slightly change this on your functions.php&#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;and maybe your style.css might need a slight modification to. Little more information in one of Chris's posts here; &#60;a href=&#34;http://programming.thematic4you.com/2010/01/how-to-remove-the-sidebar-from-a-certain-page/&#34; rel=&#34;nofollow&#34;&#62;http://programming.thematic4you.com/2010/01/how-to-remove-the-sidebar-from-a-certain-page/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>friendlygiraffe on "1 column layout on specified pages"</title>
<link>http://themeshaper.com/forums/topic/1-column-layout-on-specified-pages#post-16676</link>
<pubDate>Mon, 01 Nov 2010 11:49:34 +0000</pubDate>
<dc:creator>friendlygiraffe</dc:creator>
<guid isPermaLink="false">16676@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I am using a standard 2 column '2c-r-fixed' layout with a sidebar&#60;/p&#62;
&#60;p&#62;Is it possible to have a full-width 1 column layout on specific pages? IE: on the home page I want the #content div to  span full width ?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
