Created
April 24, 2012 14:10
-
-
Save baczoni/2479987 to your computer and use it in GitHub Desktop.
Wordpress: Page specific css and javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Page specific css and/or javascript -- Add to header.php | |
if (is_page_template('page-archives.php')) { ?> | |
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ archives.css" type="text/css" media="screen" /> | |
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/ js/archives.js"></script> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment