<?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: Different Stylesheet for Different Templates</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 18 May 2013 16:18:01 +0000</pubDate>

<item>
<title>stvnscarboro on "Different Stylesheet for Different Templates"</title>
<link>http://themeshaper.com/forums/topic/different-stylesheet-for-different-templates#post-11563</link>
<pubDate>Mon, 19 Apr 2010 18:53:48 +0000</pubDate>
<dc:creator>stvnscarboro</dc:creator>
<guid isPermaLink="false">11563@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This worked perfect! Thank you so much &#34;Helga&#34;!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Different Stylesheet for Different Templates"</title>
<link>http://themeshaper.com/forums/topic/different-stylesheet-for-different-templates#post-11522</link>
<pubDate>Sat, 17 Apr 2010 21:43:05 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">11522@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Is this what you are looking for?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/&#34; rel=&#34;nofollow&#34;&#62;http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>stvnscarboro on "Different Stylesheet for Different Templates"</title>
<link>http://themeshaper.com/forums/topic/different-stylesheet-for-different-templates#post-11408</link>
<pubDate>Tue, 13 Apr 2010 19:45:20 +0000</pubDate>
<dc:creator>stvnscarboro</dc:creator>
<guid isPermaLink="false">11408@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm trying to use a different layout stylesheet for different page templates (Basically, keep main styling (style.css) and change from 2 column to 3 column layout(3c-fixed.css) I've tried many ways, but just can't seem to make it work, any help would be really appreciated.&#60;/p&#62;
&#60;p&#62;I began with this post:&#60;a href=&#34;http://themeshaper.com/thematic/guide/?page_id=101&#34;&#62; href=&#34;http://themeshaper.com/thematic/guide/?page_id=101&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've tried adapting this post by changing the &#60;code&#62;is_page(&#38;#39;page#&#38;#39;)&#60;/code&#62; conditional tag to the &#60;code&#62;is_page_template(page-template.php)&#60;/code&#62; (this code is copied directly from my functions.php file in my childtheme directory -- my .css file is located in the same directory):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_blogcss(){
if (is_page_template(&#38;#39;news.php&#38;#39;)) { ?&#38;gt;
&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; type=&#38;quot;text/css&#38;quot; media=&#38;quot;screen&#38;quot; href=&#38;quot;&#38;lt;?php echo
bloginfo(&#38;#39;stylesheet_directory&#38;#39;) ?&#38;gt;/blog.css&#38;quot; /&#38;gt; &#38;lt;?php
}

}
add_action(&#38;#39;wp_head&#38;#39;,&#38;#39;childtheme_blogcss&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This results in FireFox ignoring the 3c-fixed.css stylesheet all together, but keeping the style.css file.&#60;/p&#62;
&#60;p&#62;I then tried to use the action:&#60;br /&#62;
&#60;code&#62;add_action(&#38;#39;thematic_create_stylesheet&#38;#39;,&#38;#39;childtheme_blogcss&#38;#39;);&#60;/code&#62;&#60;br /&#62;
and&#60;br /&#62;
&#60;code&#62;add_filter(&#38;#39;thematic_create_stylesheet&#38;#39;,&#38;#39;childtheme_blogcss&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;but that resulted in no styling -- no style.css or 3c-fixed.css. &#60;/p&#62;
&#60;p&#62;I really want to use the functions.php file and avoid creating 4 header.php files each calling a different .css file. I'm using the 0.9.6.2 Thematic theme with a simple childtheme I am creating.&#60;/p&#62;
&#60;p&#62;Am I &#60;em&#62;missing&#60;/em&#62; something? Any help would be great. Thank you.&#60;/p&#62;
&#60;p&#62;If this helps:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Skype = stvnscarboro&#60;/li&#62;
&#60;li&#62;AIM = stvnscarboro&#60;/li&#62;
&#60;li&#62;Twitter = stvnscarboro&#60;/li&#62;
&#60;/ul&#62;</description>
</item>

</channel>
</rss>
