View Single Post
Old 02-14-2010, 05:44 PM  
Si
Such Fun!
 
Industry Role:
Join Date: Feb 2008
Posts: 13,900
Quote:
Originally Posted by harvey View Post
again, it has nothing to do with wordpress nor htaccess, it was something you did.

If you used /path/folder/file.js you'll ALWAYS get a 404. You need to use php bloginfo('template_directory') to locate the file, like the example below:

Code:
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/my_js_file.js"></script>
Got ya! thats why it wasn't calling it up properly. I will give that a shot and see what happens
Si is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote