Return to Snippet

Revision: 55879
at February 26, 2012 20:27 by nWidart


Initial Code
<!-- 1140px Grid styles for IE -->
	<!--[if lte IE 9]><link rel="stylesheet" href="library/css/ie.css" type="text/css" media="screen" /><![endif]-->

	<!-- The 1140px Grid - http://cssgrid.net/ -->
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/1140.css" type="text/css" media="screen" />
	
	<!-- Your styles -->
	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/main.css" type="text/css" media="screen" />
		
	<?php if ( is_front_page() ) { ?>
     <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/homepage.css" type="text/css" media="screen" />
     <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/flexslider.css" type="text/css">

	<?php } elseif ( is_page('53') || '53' == $post->post_parent ) { ?>
     <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/portfolio.css" type="text/css" />

	<?php } else if ( is_page('9') || is_single() || is_category() || is_tag() || is_search() ) {?>
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/blog.css" type="text/css" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/SyntaxHighlighter.css" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/lf_Override.css" />

	<?php } else if ( is_page('11') ) {?>	
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/contact.css" type="text/css" />

	<?php } elseif ( is_page('7') ) { ?>
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/library/css/about.css" type="text/css" />
	<?php } ?>

Initial URL

                                

Initial Description
wp_conditional css files loading

Initial Title
wp_conditional css files loading

Initial Tags
css, files

Initial Language
PHP