I have written a web-page which is a web-app (a simple card database using php, mysql, and styled with css3). The page works as expected.
A friend of mine proposed me to use wordpress for everything else to save time on coding - welcome page, etc, so I decided to try it out. I need to lock the page to users with password only, so I had to add the page via a template. I just added the needed php comment and expected everything to work fine when I was surprised to see that neither the css not the script were read. I use some javascript to define height and width of some column, link to images and so on. All I got is some unstyled divs :(:(
here is the head of the page
<?php
/*
Template Name: Tarot
*/
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- CSS -->
<link rel="stylesheet" href="tarot/css/master.css">
<!-- Jquery main DB -->
<script type="text/javascript" src="tarot/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="tarot/js/jquery-ui-1.8.24.custom.min.js"></script>
<script type="text/javascript" src="tarot/js/jquery.flip.js"></script>
<!-- Main custom javascript file -->
<script src="tarot/js-system/db.js" type="text/javascript" charset="utf-8"></script>
</head>
I use jquery as a plugin, too...When I access the php drectly the page is working OK. Am I missing something?
I dont need to define the page as a template, as long as I find a way to make the page accessible to registered users of the site only