Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 15th, 2012  |  syntax: None  |  size: 1.00 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 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.
  2.  
  3. The site url is http://www.post34baseball.org
  4.  
  5. Below is the page.php code.  I feel like something is missing.  Any help would be huge!  Thanks.
  6.  
  7. <?php
  8. /**
  9.  * The Template for displaying all single posts.
  10.  *
  11.  * @package WordPress
  12.  * @subpackage Twenty_Ten
  13.  * @since Twenty Ten 1.0
  14.  */
  15.  
  16. get_header(); ?>
  17.  
  18. <div id="container">
  19.                         <div id="content" role="main">
  20. <?php while ( have_posts() ) : the_post(); ?>
  21.                                 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  22.                                 <div class="entry-title-wrap"><h1 class="entry-title" ><?php the_title(); ?></h1></div>
  23.                                         <div class="entry-content">
  24.                                                 <?php the_content(); ?>
  25.                                         </div><!-- .entry-content -->
  26.  
  27.                         </div><!-- #post -->
  28. <?php endwhile; ?>
  29.                         </div><!-- #content -->
  30. <?php get_sidebar(); ?>
  31.  
  32. </div><!-- #container -->
  33. <?php get_footer(); ?>