blank theme!
-
Been building a theme, installed fine but shows as blank page. I can login to the admin panels fine except i can’t see the Homepages etc.
the code for the site is
header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <!-- meta --> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <!-- /meta --> <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title> <!-- stylesheets / javascript --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <!-- end --> </head> <body> <div id="firefox"> Download Firefox to browse the internet faster, and have access to 1000's of Add ons. <a href="http://www.mozilla-europe.org/en/firefox/" title="Download Firefox - The webs safest browser">Get FireFox Now</a> </div><!-- firefox --> <br /> <div id="wrap"> <div id="header"> <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"> <?php bloginfo('name'); ?> </a></h2> <p class="desc"> <?php bloginfo(’description’); ?> </p> </div><!-- /header --> <div id="nav"> <ul> <?php if(is_home() && !is_paged()){ ?> <li class="current_page_item"> <a href="<?php echo get_settings('home'); ?>" title="You are Home"> Blog Navigation </a> </li> <?php } else { ?> <li> <a href="<?php echo get_settings('home'); ?>" title="Click for Home">Blog Home</a> </li> <?php } ?> <?php wp_list_pages('sort_column=menu_order&title_li='); ?> <li> <a class="rss" rel="alternate" href="<?php bloginfo('rss2_url'); ?>" title="Really Simply Syndication">RSS Feed</a> </li> </ul> </div><!-- nav -->
index.php
`<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
<div id=”left”>
<p class=”content”>
<?php the_content(); ?>
</p>
</div><!– /left –>
<?php endwhile; ?>
<?php else : ?>
<div id=”left”>
<h2><?php _e(’Not Found’); ?></h2>
</div><!– left –>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>’the page is at http://www.garethgillman.co.uk/blog
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘blank theme!’ is closed to new replies.