Hi All,
I thought I'd try my hand at building a wordpress theme for a blog some friends and I are planning to start. I got the basics down (or so I thought) with the style sheet, header.php, index.php, sidebar.php, footer.php pages. Then I tried to break my nav off into a seperate php file and that's when I noticed the theme wasn't working. As soon as I added this the wordpress menu bar disappeared from the top of the screen as did any code following the code:
<?php get_nav(); ?>
I did a bit of testing and discovered it wasn't the actual contents of the nav.php that was causing the problem. In fact, if I added any <?php get_somepage(); ?> command this would cause the theme do deliver the same symptoms. I also moved the command around the code to see if it made any difference, tried embedding it within different Divs etc. None of this made any difference.
I'm at a point now with trying to figure it out where I just can't figure out whats going wrong.
I've been using the book WordPress Theme design as a guide to help me with what I'm doing. the book recommends building a html page with CSS. Then cutting it up into the different bits of a wordpress theme while using the Kubrick theme for the loop and other key bits of code.
If anyone would be willing to take a look at the site and see if they can spot something obvious I'd really appreciate it. There's really nothign to the site at all at the moment as I'm just trying to figure out the design. The address is:
I've taken out the line of code that breaks it because it kills the rest of the code from appearing in the source. So basically when it's there is terminates the code.
Thanks for reading