<?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: Can't link stylesheet via functions.php</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 20:21:50 +0000</pubDate>

<item>
<title>helgatheviking on "Can't link stylesheet via functions.php"</title>
<link>http://themeshaper.com/forums/topic/cant-link-stylesheet-via-functionsphp#post-27361</link>
<pubDate>Sat, 09 Jun 2012 21:35:46 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27361@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;to repeat: thematic has moved to a new site and you should direct questions there.  this particular question has already been answered in the new forums there b/c this method is outdated and was changed in the upgrade to thematic 1.0  &#60;/p&#62;
&#60;p&#62;please also read the article i wrote that directly addresses this issue:&#60;br /&#62;
&#60;a href=&#34;http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/&#34; rel=&#34;nofollow&#34;&#62;http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>logish on "Can't link stylesheet via functions.php"</title>
<link>http://themeshaper.com/forums/topic/cant-link-stylesheet-via-functionsphp#post-27349</link>
<pubDate>Sat, 09 Jun 2012 00:53:53 +0000</pubDate>
<dc:creator>logish</dc:creator>
<guid isPermaLink="false">27349@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Jagst3r15. I'm a complete beginner in using the functions.php for child themes. Could you show me how to use enqueue for the following:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;function childtheme_create_stylesheet() {&#60;br /&#62;
    $templatedir = get_bloginfo('template_directory');&#60;br /&#62;
    $stylesheetdir = get_bloginfo('stylesheet_directory');&#60;br /&#62;
    ?&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $templatedir ?&#38;gt;/library/styles/reset.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $templatedir ?&#38;gt;/library/styles/typography.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $templatedir ?&#38;gt;/library/styles/images.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $templatedir ?&#38;gt;/library/layouts/2c-l-fixed.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $templatedir ?&#38;gt;/library/styles/default.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo $stylesheetdir ?&#38;gt;/style.css&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;?php&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_create_stylesheet', 'childtheme_create_stylesheet');&#60;/p&#62;
&#60;p&#62;?&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Can't link stylesheet via functions.php"</title>
<link>http://themeshaper.com/forums/topic/cant-link-stylesheet-via-functionsphp#post-27347</link>
<pubDate>Fri, 08 Jun 2012 23:15:10 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27347@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Please note that Thematic has moved to &#60;a href=&#34;http://thematictheme.com&#34; rel=&#34;nofollow&#34;&#62;http://thematictheme.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In your functions.php you will want to enqueue your style as per the WordPress codex: &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_enqueue_style&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_enqueue_style&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>logish on "Can't link stylesheet via functions.php"</title>
<link>http://themeshaper.com/forums/topic/cant-link-stylesheet-via-functionsphp#post-27346</link>
<pubDate>Fri, 08 Jun 2012 23:09:51 +0000</pubDate>
<dc:creator>logish</dc:creator>
<guid isPermaLink="false">27346@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I followed the instructions as per &#60;a href=&#34;http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/&#60;/a&#62; to link my stylesheets via the functions.php. But it isn't working.&#60;/p&#62;
&#60;p&#62;Using @import on style.css works fine. But linking the same stylesheet files using 'SOLUTION 2: FILTER THE PARENT THEME' on the guide leaves the page unstyled. &#60;/p&#62;
&#60;p&#62;I really need to know what has gone wrong. Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
