Revision: 50416
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 20, 2011 01:42 by hasssan
Initial Code
function create_stylesheet() { $templatedir = get_bloginfo('template_directory'); $stylesheetdir = get_bloginfo('stylesheet_directory'); ?> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/styles/reset.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/styles/typography.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/styles/images.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/layouts/2c-r-fixed.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/styles/default.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/library/styles/plugins.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $stylesheetdir ?>/style.css" /> <?php } add_filter('thematic_create_stylesheet', 'create_stylesheet');
Initial URL
Initial Description
if don't like `@import` in stylesheet
Initial Title
Wordpress Thematic - create stylesheet
Initial Tags
wordpress
Initial Language
PHP