Stubborn and Baffling Theme Problem.
-
Newbie. Completely lost. When I activate the theme I tried to code, a wonderful blank page shows up for my blog.
I read the tutorial here, but changed some things around for my liking…that may be the problem…
I’m not sure what’s wrong here.
The header.php…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /><link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=weekly&format=link'); ?>
<?php comments_popup_script(400, 500); ?>
<?php wp_head(); ?>
</head><body>
<div class="head">
<img src="http://www.kentonngo.com/750volts/wp-content/themes/seeing-blue/banner.PNG">
</div>
<!-- end header -->and the main.php
<?php get_header(); ?><div class="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date(", '<div class="dateheader">', '</div>'); ?>
<div class="post">
<font class="posttitle" id="post-<?php the_ID(); ?"><?php the_title(); ?>
</font>
<br>
<font class="dateheader"><?php the_date(l, F jS, Y); ?>
<br>
Trackback: <?php trackback_url(display); ?>
<a href="<?php the_permalink(); ?>">Permalink</a>
</font>
<br>
<?php the_content("Continue reading " . the_title('', '', false)); ?>
<font class="postfooter">
Posted by <a href="mailto:<?php the_author_email(); ?>"><?php the_author_nickname(); ?></a> at <?php the_time(h:i:s A); ?> | <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'; ?>">
</font>
</div>
<?php endwhile; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?><?php endif; ?>
<?php posts_nav_link(' - ', __('� Previous Page'), __('Next Page �')); ?>
</div><div class="sidebar">
<?php wp_list_pages(); ?>
<hr>
<?php get_links_list(); ?>
<hr>
Categories<br>
<?php wp_list_cats('hierarchical'); ?>
<hr>
Archives<br>
<ul>
<?php get_archives('monthly', '', 'html', '', '', FALSE); ?>
</ul>
<div id="search">
<form id="searchform" method="get" action="<?php echo $_SERVER[�PHP_SELF�]; ?>">
<div>
<input type="text" name="s" id="s" size="15" />
<input type="submit" value="<?php _e('Search'); ?>" />
</div>
</form>
</div>
</div><?php get_footer(); ?>
and the footer.php…
<hr />
<div id="footer"><?php bloginfo('name'); ?> is proudly powered by
<a href="http://wordpress.org">WordPress</a>
<!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --></div>
<?php do_action('wp_footer'); ?>
</body>
</html>and the style.css…
/*
Theme Name: Seeing Blue
Theme URI: http://www.kentonngo.com
Description: A template for my blog. Any questions?
Author: Kenton Ngo
Author URI: http://www.kentonngo.com
Version: 1.0
*/body {
font-family: georgia;
padding: 0px; }.head {
background: url(http://www.kentonngo.com/750volts/wp-content/themes/seeing-blue/banner2.PNG) repeat;
position: absolute;
width: 100%;
height: 150px;
padding: 0px;
top: 0px;
left: 0px; }.sidebar {
background-color: #6666FF;
width: 25%;
position: absolute;
top: 150px;
left: 0px;
text-decoration: underline;
font-variant: small-caps;
letter-spacing: 3px;
text-weight: bold; }.sidebar ul {
list-style-type: none;
margin-left: 5px;
padding: 0px; }.main {
background-color: #CCCCFF;
width: 75%;
position: absolute;
top: 150px;
left: 0px; }blockquote {
background-color: #9999CC;
bottom-border-width: 2px;
right-border-width: 0px;
top-border-width: 0px;
left-border-width: 2px;
border-color: #666699; }.posttitle {
text-size: 150%;
text-weight: bold;
text-decoration: underline;
text-align: center; }.dateheader {
text-size: 75%;
text-align: center;
font-variant: small-caps; }.postfooter {
text-align: center; }p:first-letter {
font-size: 200%; }What did I do wrong? Please help…
The topic ‘Stubborn and Baffling Theme Problem.’ is closed to new replies.