<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Programming Thematic 4 You</title>
	<atom:link href="http://programming.thematic4you.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://programming.thematic4you.com</link>
	<description>Code Snippets and more ...</description>
	<lastBuildDate>Tue, 08 Jun 2010 09:51:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to install a Thematic Child Theme?</title>
		<link>http://programming.thematic4you.com/2010/06/how-to-install-a-thematic-child-theme/</link>
		<comments>http://programming.thematic4you.com/2010/06/how-to-install-a-thematic-child-theme/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 19:19:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Child Theme]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Thematic]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=81</guid>
		<description><![CDATA[I know that this is an easy task for the most of you, but there are still enough people that are not familiar with Child Themes.]]></description>
			<content:encoded><![CDATA[<p>I know that this is an easy task for the most of you, but there are still enough people that are not familiar with Child Themes.</p>
<h3>Upload Thematic</h3>
<p>Download the Thematic Theme Framework <a title="Thematic Theme Framework" href="http://wordpress.org/extend/themes/thematic">(current release)</a> from wordpress.org or a <a title="Thematic Theme Framework - Development release" href="http://developing.thematic4you.com/thematic-development-release/">stable development release</a> from thematic4you.com and extract the zip file. Take the /thematic/ folder and upload it to your /wp-content/themes/ directory through FTP. Make sure that you upload the whole directory structure of the /thematic/ folder including all subdirectories and files.<span id="more-81"></span></p>
<h3>Upload the Child Theme</h3>
<p>The next step is to find a child theme that is designed to be installed over the parent theme you chose. In this case, I’ll be using our new <a title="BT Extended for Thematic" href="http://3oneseven.com/18/blogging-times-version2-wordpress-theme/">BT Extended child theme for Thematic</a>. Please be aware, that you need the <strong>stable development release of Thematic</strong> for this child theme.<br />
Similar to the previous step, you extract the /BTExtended_Thematic/ folder and upload it to the /wp-content/themes/ directory via your FTP client. Make sure that you upload the whole directory structure of the /BTExtended_Thematic/ folder including all subdirectories and files.</p>
<h3>Activate the Child Theme</h3>
<p>Now that you have both the parent theme and child theme uploaded, the final step is to activate the child theme. In your WordPress admin panel, simply navigate to the Appearance -&gt; Themes menu, and select the child theme you selected. You don’t need to activate the parent theme. All that it needs to do is sit in the theme directory.</p>
<h3>Credits:</h3>
<p>Thanks a lot to <a title="THEMELAB" href="http://www.themelab.com/">Leland</a> for his <a title="How To Install a WordPress Child Theme" href="http://themelets.com/tutorials/how-to-install-a-wordpress-child-theme/">original post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/06/how-to-install-a-thematic-child-theme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to test wp_nav_menu() with Thematic?</title>
		<link>http://programming.thematic4you.com/2010/03/how-to-test-wp_nav_menu-with-thematic/</link>
		<comments>http://programming.thematic4you.com/2010/03/how-to-test-wp_nav_menu-with-thematic/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 15:21:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Menu]]></category>
		<category><![CDATA[Superfish]]></category>
		<category><![CDATA[WordPress 3.0]]></category>
		<category><![CDATA[wp_nav_menu()]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=64</guid>
		<description><![CDATA[During the last weeks some people asked, how to test WordPress 3.0 and wp_nav_menu() with Thematic. Here's a first answer.]]></description>
			<content:encoded><![CDATA[<p>During the last weeks some people asked, how to test WordPress 3.0 and wp_nav_menu() with Thematic. Here&#8217;s a first answer.<span id="more-64"></span></p>
<p>First of all we need to tell your Child Theme, that it supports the new functionality:</p>
<pre class="brush: php;">// This theme uses wp_nav_menu()
add_theme_support( 'nav-menus' );
</pre>
<p>Next step will be to remove the old menu from Thematic and add the new one:</p>
<pre class="brush: php;">// Remove standard menu
function remove_menu() {
	remove_action('thematic_header','thematic_access',9);
}
add_action('init', 'remove_menu');

// Create wp_nav_menu
function new_access() { ?&gt;
	&lt;div id=&quot;access&quot;&gt;
		&lt;div class=&quot;skip-link&quot;&gt;&lt;a href=&quot;#content&quot; title=&quot;&lt;?php _e('Skip navigation to the content', 'thematic'); ?&gt;&quot;&gt;&lt;?php _e('Skip to content', 'thematic'); ?&gt;&lt;/a&gt;&lt;/div&gt;
			&lt;?php wp_nav_menu( array( 'menu' =&gt; 'primary-menu', 'container_class' =&gt; 'menu', 'menu_class' =&gt; '', 'fallback_cb' =&gt; '' ) ); ?&gt;
	&lt;/div&gt;&lt;!-- #access --&gt;
&lt;?php
}
add_action('thematic_header','new_access',9);
</pre>
<p>And finally we need to add the needed UL class to support Superfish:</p>
<pre class="brush: php;">// Add the UL class to support Superfish
function wp_nav_menu_add_menuclass($ulclass) {
	return preg_replace('/&lt;ul&gt;/', '&lt;ul class=&quot;sf-menu&quot;&gt;', $ulclass, 1);
}
add_filter('wp_nav_menu','wp_nav_menu_add_menuclass');
</pre>
<p>Please keep in mind that WordPress 3.0 is still not final. This code might break at any time. Don&#8217;t rely on it!</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/03/how-to-test-wp_nav_menu-with-thematic/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>How to display all widget areas for a test?</title>
		<link>http://programming.thematic4you.com/2010/02/how-to-display-all-widget-areas-for-a-test/</link>
		<comments>http://programming.thematic4you.com/2010/02/how-to-display-all-widget-areas-for-a-test/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 14:36:06 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Layout]]></category>
		<category><![CDATA[Widget Area]]></category>
		<category><![CDATA[0.9.6.x]]></category>
		<category><![CDATA[Sidebar]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=31</guid>
		<description><![CDATA[If you work with Thematic for the first time, the most asked question will be, where are all these widget areas located?

You could go to the Widgets section in WP Admin and assign at least one widget to the 13 widget areas.]]></description>
			<content:encoded><![CDATA[<p>If you work with Thematic for the first time, the most asked question will be, where are all these widget areas located?</p>
<p>You could go to the Widgets section in WP Admin and assign at least one widget to the 13 widget areas. I&#8217;m too lazy for this. So I spend some time to create something that eases my life.<span id="more-31"></span></p>
<p>Go to WP Admin / Appearance / Thematic Options and hit the &#8216;Reset Widgets&#8217; button. Then add the following code to your child theme&#8217;s functions.php:</p>
<pre class="brush: php;">function widget_args()
{
	return array (
	'before_widget' =&gt; thematic_before_widget(),
	'after_widget'  =&gt; thematic_after_widget(),
	'before_title'  =&gt; thematic_before_title(),
	'after_title'   =&gt; thematic_after_title()
	);
}

function wa_primary_aside()
{
	echo thematic_before_widget_area('primary-aside');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Primary Aside', 'text' =&gt; 'This is the Primary Aside', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('primary-aside');
}

function wa_secondary_aside()
{
	echo thematic_before_widget_area('secondary-aside');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Secondary Aside', 'text' =&gt; 'This is the Secondary Aside', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('secondary-aside');
}

function wa_subsidiary_open()
{
	echo '&lt;div id=&quot;subsidiary&quot;&gt;';
} 

function wa_1st_subsidiary()
{
	echo thematic_before_widget_area('1st-subsidiary-aside');
	the_widget('WP_Widget_Text', array('title' =&gt; '1st Subsidiary Aside', 'text' =&gt; 'This is the 1st Subsidiary Aside', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('1st-subsidiary-aside');
}

function wa_2nd_subsidiary()
{
	echo thematic_before_widget_area('2nd-subsidiary-aside');
	the_widget('WP_Widget_Text', array('title' =&gt; '2nd Subsidiary Aside', 'text' =&gt; 'This is the 2nd Subsidiary Aside', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('2nd-subsidiary-aside');
}

function wa_3rd_subsidiary()
{
	echo thematic_before_widget_area('3rd-subsidiary-aside');
	the_widget('WP_Widget_Text', array('title' =&gt; '3rd Subsidiary Aside', 'text' =&gt; 'This is the 3rd Subsidiary Aside', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('3rd-subsidiary-aside');
}

function wa_subsidiary_close()
{
	echo '&lt;/div&gt;';
} 

function wa_index_top()
{
	echo thematic_before_widget_area('index-top');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Index Top', 'text' =&gt; 'This is the Index Top', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('index-top');
	}

function wa_index_insert()
{
	echo thematic_before_widget_area('index-insert');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Index Insert', 'text' =&gt; 'This is the Index Insert', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('index-insert');
}

function wa_index_bottom()
{
	echo thematic_before_widget_area('index-bottom');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Index Bottom', 'text' =&gt; 'This is the Index Bottom', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('index-bottom');
}

function wa_single_top()
{
	echo thematic_before_widget_area('single-top');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Single Top', 'text' =&gt; 'This is the Single Top', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('single-top');
}

function wa_single_insert()
{
	echo thematic_before_widget_area('single-insert');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Single Insert', 'text' =&gt; 'This is the Single Insert', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('single-insert');
}

function wa_single_bottom()
{
	echo thematic_before_widget_area('single-bottom');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Single Bottom', 'text' =&gt; 'This is the Single Bottom', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('single-bottom');
}

function wa_page_top()
{
	echo thematic_before_widget_area('page-top');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Page Top', 'text' =&gt; 'This is the Page Top', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('page-top');
}

function wa_page_bottom()
{
	echo thematic_before_widget_area('page-bottom');
	the_widget('WP_Widget_Text', array('title' =&gt; 'Page Bottom', 'text' =&gt; 'This is the Page Bottom', 'filter' =&gt; ''), widget_args());
	echo thematic_after_widget_area('page-bottom');
}

add_action('widget_area_primary_aside', 'wa_primary_aside', 10);
add_action('widget_area_secondary_aside', 'wa_secondary_aside', 10);
add_action('widget_area_subsidiaries', 'wa_subsidiary_open', 10);
add_action('widget_area_subsidiaries', 'wa_1st_subsidiary', 30);
add_action('widget_area_subsidiaries', 'wa_2nd_subsidiary', 50);
add_action('widget_area_subsidiaries', 'wa_3rd_subsidiary', 70);
add_action('widget_area_subsidiaries', 'wa_subsidiary_close', 90);
add_action('widget_area_index_top', 'wa_index_top', 10);
add_action('widget_area_index_insert', 'wa_index_insert', 10);
add_action('widget_area_index_bottom', 'wa_index_bottom', 10);
add_action('widget_area_single_top', 'wa_single_top', 10);
add_action('widget_area_single_insert', 'wa_single_insert', 10);
add_action('widget_area_single_bottom', 'wa_single_bottom', 10);
add_action('widget_area_page_top', 'wa_page_top', 10);
add_action('widget_area_page_bottom', 'wa_page_bottom', 10);
</pre>
<p>This code will not assign any widget to the widget areas. So it&#8217;s nothing to test any logic behind the widgets or widget areas. It&#8217;ll simulate the process using <code>the_widget()</code>.</p>
<p>The link id and the class are not working properly. I could make both items static and fix this issue, but I left this part as it is, if you want to filter <code>thematic_before_widget()</code>, <code>thematic_after_widget()</code>, <code>thematic_before_title()</code> and <code>thematic_after_title</code>.</p>
<p>This should be good enough to get a feeling for the locations of the several widget areas and to test the design / layout of your child theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/02/how-to-display-all-widget-areas-for-a-test/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to remove widget areas from the backend?</title>
		<link>http://programming.thematic4you.com/2010/02/how-to-remove-widget-areas-from-the-backend/</link>
		<comments>http://programming.thematic4you.com/2010/02/how-to-remove-widget-areas-from-the-backend/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 14:59:15 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Widget Area]]></category>
		<category><![CDATA[0.9.6.x]]></category>
		<category><![CDATA[remove]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=24</guid>
		<description><![CDATA[You might want to remove a widget area from the backend, because it is not needed for your child theme. Or you don't want a customer to mess with it.]]></description>
			<content:encoded><![CDATA[<p>You might want to remove a widget area from the backend, because it is not needed for your child theme. Or you don&#8217;t want a customer to mess with it.<span id="more-24"></span></p>
<p>Just copy the following code into your child theme&#8217;s functions.php:</p>
<pre class="brush: php;">function remove_widgetized_area($content) {
	unset($content['Secondary Aside']);
	return $content;
}
add_filter('thematic_widgetized_areas', 'remove_widgetized_area');</pre>
<p>Here&#8217;s a list of the default widget areas:</pre>
<ul>
<li>'Primary Aside'</li>
<li>'Secondary Aside'</li>
<li>'1st Subsidiary Aside'</li>
<li>'2nd Subsidiary Aside'</li>
<li>'3rd Subsidiary Aside'</li>
<li>'Index Top'</li>
<li>'Index Insert'</li>
<li>'Index Bottom'</li>
<li>'Single Top'</li>
<li>'Single Insert'</li>
<li>'Single Bottom'</li>
<li>'Page Top'</li>
<li>'Page Bottom'</li>
</ul>
<p>Please use the <a title="ThemeShaper Forums" href="http://themeshaper.com/forums">ThemeShaper Forums</a> for any further questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/02/how-to-remove-widget-areas-from-the-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove the sidebar from a certain page?</title>
		<link>http://programming.thematic4you.com/2010/01/how-to-remove-the-sidebar-from-a-certain-page/</link>
		<comments>http://programming.thematic4you.com/2010/01/how-to-remove-the-sidebar-from-a-certain-page/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 14:59:32 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Widget Area]]></category>
		<category><![CDATA[0.9.5.x]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Sidebar]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=20</guid>
		<description><![CDATA[After installing a Gallery Plugin or a Forum Plugin you might want to remove the sidebar (Primary Aside and Secondary Aside) to gain more space for the plugin's output.

In my example for this task, I'm going to remove the sidebar from my page 'Forum'.

The major requirement for this and all other code snippets: You have to use a child theme]]></description>
			<content:encoded><![CDATA[<p>After installing a Gallery Plugin or a Forum Plugin you might want to remove the sidebar (Primary Aside and Secondary Aside) to gain more space for the plugin&#8217;s output.</p>
<p>In my example for this task, I&#8217;m going to remove the sidebar from my page &#8216;Forum&#8217;.</p>
<p>The major requirement for this and all other code snippets: You have to use a child theme!<span id="more-20"></span></p>
<p>We start with the child theme&#8217;s functions.php and add the following code:</p>
<pre class="brush: php;">// filter thematic_sidebar() .. no display for the page 'Forum', keep it for the rest
function remove_sidebar() {
 // We test if we are on the page 'Forum'
 if (is_page('forum')) {
 // 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('thematic_sidebar', 'remove_sidebar');</pre>
<p>Now that we&#8217;re able to switch off the sidebar for the page &#8216;Forum&#8217;, we need to make the gained space available for our content.</p>
<p>We open the child theme&#8217;s style.css and add the following code:</p>
<pre class="brush: css;">body.slug-forum #container {
 width: 960px;
}

body.slug-forum #content {
 width: 940px;
}</pre>
<p>Please note that this modification is related to the 2c-r-fixed layout. You might want to change the width settings according to your own design.</p>
<p>You can modify the conditions in remove_sidebar() to your needs &#8230; more details about &lt;a title=&#8221;WordPress &#8211; Conditional Tags&#8221; href=&#8221;http://codex.wordpress.org/Conditional_Tags&#8221; target=&#8221;_self&#8221;&gt;Conditional Tags&lt;/a&gt;.</p>
<p>Tested with&lt;a title=&#8221;Thematic, A WordPress Theme Framework&#8221; href=&#8221;http://themeshaper.com/thematic/&#8221;&gt; Thematic 0.9&lt;/a&gt; and a basic child theme.</p>
<p>Please use the &lt;a title=&#8221;ThemeShaper Forums&#8221; href=&#8221;http://themeshaper.com/forums/&#8221;&gt;ThemeShaper Forums&lt;/a&gt; for any further questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/01/how-to-remove-the-sidebar-from-a-certain-page/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>How to use a different layout for a certain page?</title>
		<link>http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/</link>
		<comments>http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 14:17:07 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Layout]]></category>
		<category><![CDATA[0.9.5.x]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[different layouts]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=6</guid>
		<description><![CDATA[Today I'll show you how to setup your home / frontpage to use a 3 columns fixed layout and all other pages using a 2 colums, sidebar on the right fixed layout.

The major requirement for this and all other code snippets: You have to use a child theme!]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ll show you how to setup your home / frontpage to use a 3 columns fixed layout and all other pages using a 2 colums, sidebar on the right fixed layout.</p>
<p>The major requirement for this and all other code snippets: You have to use a child theme!<span id="more-6"></span></p>
<p>We start with our style.css, responsible for the 2c-r-fixed layout. It should contain the following code:</p>
<pre class="brush: css;">/* Reset browser defaults */
@import url('../thematic/library/styles/reset.css');

/* Apply basic typography styles */
@import url('../thematic/library/styles/typography.css');

/* Apply a basic layout */
@import url('../thematic/library/layouts/2c-r-fixed.css');

/* Apply basic image styles */
@import url('../thematic/library/styles/images.css');

/* Apply default theme styles and colors */
/* It's better to actually copy over default.css into this file (or link to a copy in your child theme) if you're going to do anything outrageous */
@import url('../thematic/library/styles/default.css');

/* Prepare theme for plugins */
@import url('../thematic/library/styles/plugins.css');</pre>
<p>Please make sure that you don&#8217;t import the original thematic/style.css.</p>
<p>Now we need to create your style-home.css. Copy style.css to style-home.css. Once the file is created you need to change the line responsible for the layout. Change it from 2c-r-fixed to 3c-fixed.  Your style-home.css should now contain the following code:</p>
<pre class="brush: css;">/* Reset browser defaults */
@import url('../thematic/library/styles/reset.css');

/* Apply basic typography styles */
@import url('../thematic/library/styles/typography.css');

/* Apply a basic layout */
@import url('../thematic/library/layouts/3c-fixed.css');

/* Apply basic image styles */
@import url('../thematic/library/styles/images.css');

/* Apply default theme styles and colors */
/* It's better to actually copy over default.css into this file (or link to a copy in your child theme) if you're going to do anything outrageous */
@import url('../thematic/library/styles/default.css');

/* Prepare theme for plugins */
@import url('../thematic/library/styles/plugins.css');</pre>
<p>Now that we have defined two different layouts, we need to define where the different styles should be used. For this we edit the functions.php in your child theme&#8217;s directory and add the following code:</p>
<pre class="brush: php;">// filter thematic_create_stylesheet to implement your own stylesheets
function my_stylesheet($content) {
	// We test if we're on home or on your frontpage
  if (is_home() || is_front_page()) {
  	// yes, we are .. now let's load the 3c-fixed layout
		$content = &quot;\t&quot;;
		$content .= &quot;&lt;link rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;&quot;;
		$content .= get_bloginfo('stylesheet_directory') . &quot;/style-home.css&quot;;
		$content .= &quot;\&quot; /&gt;&quot;;
		$content .= &quot;\n\n&quot;;
  } else {
  	// we are not .. let's load the 2c-r-fixed layout
		$content = &quot;\t&quot;;
		$content .= &quot;&lt;link rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;&quot;;
		$content .= get_bloginfo('stylesheet_directory') . &quot;/style.css&quot;;
		$content .= &quot;\&quot; /&gt;&quot;;
		$content .= &quot;\n\n&quot;;
	}
		// $content will be handed back to thematic_create_stylesheet
    return $content;
}
// connect the filter to thematic_create_stylesheet
add_filter ('thematic_create_stylesheet', 'my_stylesheet');</pre>
<p>That&#8217;s it. Now your blog is using two different layouts.</p>
<p>One last note about further modifications of your stylesheets. Modifications that are related to the 2c-r-fixed layout or the 3c-fixed layout need to be done either in style.css or style-home.css. Do not modify the original files in the Thematic directory. Modifications that are related to both layouts need to be done in style.css <strong>and</strong> in style-home.css.</p>
<p>You can modify the conditions in my_stylesheet() to your needs &#8230; more details about <a title="WordPress - Conditional Tags" href="http://codex.wordpress.org/Conditional_Tags" target="_self">Conditional Tags</a>.</p>
<p>Tested with<a title="Thematic, A WordPress Theme Framework" href="http://themeshaper.com/thematic/"> Thematic 0.9</a> and a basic child theme.</p>
<p>Please use the <a title="ThemeShaper Forums" href="http://themeshaper.com/forums/">ThemeShaper Forums</a> for any further questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Programming Thematic 4 You</title>
		<link>http://programming.thematic4you.com/2010/01/programming-thematic-4-you/</link>
		<comments>http://programming.thematic4you.com/2010/01/programming-thematic-4-you/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 23:01:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Thematic]]></category>

		<guid isPermaLink="false">http://programming.thematic4you.com/?p=3</guid>
		<description><![CDATA[I hereby declare the bar officially open!]]></description>
			<content:encoded><![CDATA[<p>I hereby declare the bar officially open!</p>
]]></content:encoded>
			<wfw:commentRss>http://programming.thematic4you.com/2010/01/programming-thematic-4-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
