Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Can't link stylesheet via functions.php http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Fri, 29 May 2015 06:11:17 +0000 helgatheviking on "Can't link stylesheet via functions.php" http://forums.themeshaper.com/topic/cant-link-stylesheet-via-functionsphp#post-27361 Sat, 09 Jun 2012 21:35:46 +0000 helgatheviking 27361@http://forums.themeshaper.com/ <p>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 </p> <p>please also read the article i wrote that directly addresses this issue:<br /> <a href="http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/" rel="nofollow">http://thematictheme.com/2012/06/01/improved-script-style-loading-thematic-1-0/</a> </p> logish on "Can't link stylesheet via functions.php" http://forums.themeshaper.com/topic/cant-link-stylesheet-via-functionsphp#post-27349 Sat, 09 Jun 2012 00:53:53 +0000 logish 27349@http://forums.themeshaper.com/ <p>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:</p> <p>&lt;?php</p> <p>function childtheme_create_stylesheet() {<br /> $templatedir = get_bloginfo('template_directory');<br /> $stylesheetdir = get_bloginfo('stylesheet_directory');<br /> ?&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $templatedir ?&gt;/library/styles/reset.css" /&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $templatedir ?&gt;/library/styles/typography.css" /&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $templatedir ?&gt;/library/styles/images.css" /&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $templatedir ?&gt;/library/layouts/2c-l-fixed.css" /&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $templatedir ?&gt;/library/styles/default.css" /&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $stylesheetdir ?&gt;/style.css" /&gt;</p> <p> &lt;?php<br /> }<br /> add_filter('thematic_create_stylesheet', 'childtheme_create_stylesheet');</p> <p>?&gt; </p> Jagst3r15 on "Can't link stylesheet via functions.php" http://forums.themeshaper.com/topic/cant-link-stylesheet-via-functionsphp#post-27347 Fri, 08 Jun 2012 23:15:10 +0000 Jagst3r15 27347@http://forums.themeshaper.com/ <p>Please note that Thematic has moved to <a href="http://thematictheme.com" rel="nofollow">http://thematictheme.com</a></p> <p>In your functions.php you will want to enqueue your style as per the WordPress codex: <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_style" rel="nofollow">http://codex.wordpress.org/Function_Reference/wp_enqueue_style</a> </p> logish on "Can't link stylesheet via functions.php" http://forums.themeshaper.com/topic/cant-link-stylesheet-via-functionsphp#post-27346 Fri, 08 Jun 2012 23:09:51 +0000 logish 27346@http://forums.themeshaper.com/ <p>Hi, I followed the instructions as per <a href="http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/" rel="nofollow">http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/</a> to link my stylesheets via the functions.php. But it isn't working.</p> <p>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. </p> <p>I really need to know what has gone wrong. Thanks. </p>