Title: 2.7 Theme Break &#8211; All posts display
Last modified: August 19, 2016

---

# 2.7 Theme Break – All posts display

 *  [skyle](https://wordpress.org/support/users/skyle/)
 * (@skyle)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/27-theme-break-all-posts-display/)
 * All posts show no matter which post you chose to see. Click on the post at the
   top right of the page to see the results (or chose “blog” from the left navigation
   at [http://www.fullscalearchitecture.com/press](http://www.fullscalearchitecture.com/press)
 * The problem is theme-based as changing the theme fixes the problem. Code is below:
 *     ```
       <?php get_header(); ?>
       <div id="wrap">
   
       <?php include(TEMPLATEPATH."/left.php");?>
   
       <?php get_sidebar(); ?>
   
       <div id="content">
       	<?php if (have_posts()) :?>
       		<?php $postCount=0; ?>
       		<?php while (have_posts()) : the_post();?>
       			<?php $postCount++;?>
                   <?php if (get_post_meta($post->ID, 'header image', true)) { ?>
                  <img src="<?php echo get_post_meta($post->ID, 'header image', true); ?>" />
        <?php } else { ?>
        <?php } ?>
       <?php if (is_home()) { ?>
                  <h2 class="entrytitle"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                  <h3 class="entrydate"><?php the_time('F jS, Y') ?>, By <?php the_author() ?></h3>
        <?php } elseif (is_single()) { ?>
        <h2 class="entrytitle"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                  <h3 class="entrydate"><?php the_time('F jS, Y') ?>, By <?php the_author() ?></h3>
        <?php } elseif (is_page('about')) { ?>
   
        <?php } else { ?>
       			<h2 class="entrytitle"><?php the_title(); ?></h2>
        <?php } ?>
   
       <?php the_content('Read More &raquo;'); ?>
   
       	<?php endwhile; ?>
       	<div class="navigation">
       	<div class="nextposts"><?php next_posts_link('[OLDER]') ?></div>
       	<div class="previousposts"><?php previous_posts_link('[NEWER]') ?></div>
       		</div>
   
       	<?php else : ?>
       <div class="not_found">
       		Not found. Sorry but we don't see any items with that subject.
   
       </div>
       	<?php endif; ?>
       </div>
   
       <?php include(TEMPLATEPATH."/right.php");?>
   
       <?php get_footer(); ?>
       ```
   

The topic ‘2.7 Theme Break – All posts display’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [skyle](https://wordpress.org/support/users/skyle/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/27-theme-break-all-posts-display/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
