Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have created a wordpress site and my posts show up on the on the home page, but when I click on a post, the context of the post does not show up. Everything else shows up, header, sidebar etc.
- The site url is http://www.post34baseball.org
- Below is the page.php code. I feel like something is missing. Any help would be huge! Thanks.
- <?php
- /**
- * The Template for displaying all single posts.
- *
- * @package WordPress
- * @subpackage Twenty_Ten
- * @since Twenty Ten 1.0
- */
- get_header(); ?>
- <div id="container">
- <div id="content" role="main">
- <?php while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry-title-wrap"><h1 class="entry-title" ><?php the_title(); ?></h1></div>
- <div class="entry-content">
- <?php the_content(); ?>
- </div><!-- .entry-content -->
- <?php endwhile; ?>
- </div><!-- #post -->
- </div><!-- #post -->
- </div><!-- #content -->
- <?php get_sidebar(); ?>
- </div><!-- #container -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement