Permalink
Browse files

Updated the way that files are called, now using "<?php echo get_temp…

…late_directory_uri(); ?>" if not there will be problems with the name of the Theme's folder.

Forcing you to use "pears" as folder name
  • Loading branch information...
1 parent b074d9c commit ae41a0a1afedee016abc3dbe3155f91832cbe98d @nicoandrade nicoandrade committed Feb 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 header.php
View
@@ -8,7 +8,7 @@
<!-- hide css from IE6 but load for everyone else -->
<!--[if gte IE 7]><!-->
-<link rel="stylesheet/less" media="screen, projection" href="/wp-content/themes/pears/css/screen.less" />
+<link rel="stylesheet/less" media="screen, projection" href="<?php echo get_template_directory_uri(); ?>/css/screen.less" />
<!-- <![endif]-->
<link rel="shortcut icon" href="/favicon.png" />
@@ -18,7 +18,7 @@
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
-<script type="text/javascript" src="/wp-content/themes/pears/js/less.js"></script>
+<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/less.js"></script>
</head>
<body <?php body_class(); ?>>

0 comments on commit ae41a0a

Please sign in to comment.