Turning a html5 website template into a theme. Loading unknown resource !?
-
Hi have a html5 website template which you can download here.
For some reason when I make the index a .php file and update all the stylesheet and Javascript URLs to have directory included, IE.
<?php echo get_template_directory_uri(); ?>/css/style.css
My stylesheet cannot be read. I’v tried placing a stylesheet in the theme root folder and updating the URL to..
<?php echo get_template_directory_uri(); ?>/style.css
But still doesnt work. Also when I viewmy chrome console I get an unable to load resource error and it says “GET https://localhost/wordpress/css/style.css 404 (Not Found)”
Yet I’v searched all the files in all folders and nowhere am I asking to load a resource at /css/style.css.
Iv been at this for 2 days now, any help would be much appreciated as always.
Best
Conor
- The topic ‘Turning a html5 website template into a theme. Loading unknown resource !?’ is closed to new replies.