Title: Posts Page Help
Last modified: August 24, 2016

---

# Posts Page Help

 *  Resolved [chybowzj](https://wordpress.org/support/users/chybowzj/)
 * (@chybowzj)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/)
 * Hello I am doing a school project for a CMS class and I have a custom theme im
   working on and on my posts page which can be found here [http://primeroofing.byethost7.com/deals/](http://primeroofing.byethost7.com/deals/)
   my problem is that when I click on a post the page it goes to is blank it does
   not display the posts content. Im sure there is a pretty simple fix for this 
   but I have tried googling this problem and cannot find a solution!
 * Thanks for the help in advance!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  anonymized-13749270
 * (@anonymized-13749270)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/#post-6122882)
 * Do you have a `single.php` file in your theme?
 * You can simply add `<?php the_content(); ?>` to show post content..
 *  Thread Starter [chybowzj](https://wordpress.org/support/users/chybowzj/)
 * (@chybowzj)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/#post-6122890)
 * I added it but it still doesn’t show the text it just shows the share buttons.
 *  [enrico512](https://wordpress.org/support/users/enrico512/)
 * (@enrico512)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/#post-6122891)
 * Please post your single.php codes here and let see what’s going wrong? 🙂
 *  Thread Starter [chybowzj](https://wordpress.org/support/users/chybowzj/)
 * (@chybowzj)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/#post-6122892)
 * Added this coding and solved my problem thanks for the help you lead me in the
   right direction!
 *     ```
       <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
           <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
               <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
               <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
   
               <div class="entry">
                   <?php the_content(); ?>
               </div>
   
               <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
           </div>
           <?php endwhile; endif; ?>
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Posts Page Help’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)
 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [chybowzj](https://wordpress.org/support/users/chybowzj/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/posts-page-help-1/#post-6122892)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
