Title: Can&#8217;t show posts
Last modified: August 19, 2016

---

# Can’t show posts

 *  Resolved [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/)
 * To anyone who can help…
 * I have a website built on WordPress. Running fine. [http://www.pfpsafetyservices.co.uk](http://www.pfpsafetyservices.co.uk).
   The whole thing is done using pages, and I did spend some time taking out some
   of the post info from some of the php pages. The person has now decided they 
   want a page they can have posts (a news page), so I have tried to add a news 
   page but I can’t get it to show posts! I have adjusted the settings to show a
   static from page and posts on another page. I created a page called blog, when
   I leave it as a page, I get an empty box on the page and a link saying “edit 
   this entry”, as soon as I point the posts to that page all content dissapears.
 * I have had to put the site back to the way it was, which I now know isn’t the
   best setup, as it is basically with the homepage set to show posts, and the only
   post is the welcome text, and I have removed the extra bits that make it look
   like a post (title, comments…)
 * can anyone help, it is driving me crazy, I have restored all the PHP files from
   a backup (before any changes were made) and still no posts show on the page!!!
 * Any help is appreciated

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1561982)
 * This guide may help:
 * [http://codex.wordpress.org/Creating_a_Static_Front_Page](http://codex.wordpress.org/Creating_a_Static_Front_Page)
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562095)
 * yeah i’ve been through that, but when I do as it says, the ‘blog’ page is empty.
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562156)
 * OK I have just installed a brand new blog with a different database. I set the
   home page to static and the posts to show on the ‘blog’ page. It works, until
   I apply the theme I use. I really don’t want to change from this theme as it’s
   perfect for everything else. Does anyone know where I might start going about
   adding in the functionality?
 * thanks
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562162)
 * That would depend on your theme. What is it called and where did you get it from?
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562163)
 * its called Blue Black 2.7.5 by Bingo
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562164)
 * i got from the wordpess themes search
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562167)
 * When I change the theme back to classic wordpress the posts show up on the blog
   page the way I want, but as soon as I activate Blue-Black theme they disappear!
   I assume there must be a few lines of code missing somewhere in the theme, but
   I don’t know which, any suggestions appreciated!!
 * thanks,
 * Arron
 *  Thread Starter [arronjuk](https://wordpress.org/support/users/arronjuk/)
 * (@arronjuk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562178)
 * OK figured out a quick way, by copying the contents of index.php from a theme
   that worked with posts on a separate page (wordpress classic), created a new 
   template and pasted the code in there. Hey presto I now have posts on my ‘blog’
   page, using the theme I want. Now just a case of getting to look the way I want.
 *  [ryanstefonick](https://wordpress.org/support/users/ryanstefonick/)
 * (@ryanstefonick)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562243)
 * Hey Arronjuk – I’m glad to hear someone has finally figured a way to fix this
   theme. I am having the same problem with Blue Black here on my end. [http://riptidemma.com](http://riptidemma.com).
 * Can you please show what code you copied so I can attempt to fix mine too?
 * Do you find the theme is still working fine?
 * Thanks,
    Ryan
 *  [ryanstefonick](https://wordpress.org/support/users/ryanstefonick/)
 * (@ryanstefonick)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562244)
 * FWIW: If anyone else if having this problem with Blue-Black. I may have found
   the solution. Using Arronjuk’s advice, I copied the index file from the Classic
   Theme and used part of it in the Blue Black Index file. Here is what I have: 
   Not perfect but seems to be working fine.
 * <?php
    global $options; foreach ($options as $value) { if (get_settings( $value[‘
   id’] ) === FALSE) { $$value[‘id’] = $value[‘std’]; } else { $$value[‘id’] = get_settings(
   $value[‘id’] ); } } ?> <?php get_header(); ?>
 *  <!–content–>
    <div id=”content”>
 *  <!–left-col–>
    <div id=”left-col”>
 *  <!–post–>
 * <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 * <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
    <h3 class=”storytitle”
   >” rel=”bookmark”><?php the_title(); ?>
   </h3>
    <div class=”meta”><?php _e(“Filed
   under:”); ?> <?php the_category(‘,’) ?> — <?php the_tags(__(‘Tags: ‘), ‘, ‘, ‘—‘);?
   > <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__(‘Edit This’));?
   ></div>
 *  <div class=”storycontent”>
    <?php the_content(__(‘(more…)’)); ?> </div>
 *  <div class=”feedback”>
    <?php wp_link_pages(); ?> <?php comments_popup_link(
   __(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?> </div>
 * </div>
 * <?php comments_template(); // Get wp-comments.php template ?>
 * <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’);?
   ></p> <?php endif; ?> <div class=”post-bg-down”></div>
 *  <div class=”navigation”>
    <?php posts_nav_link(”,'<span class=”previous”>Previous
   </span>’,'<span class=”next”>Next</span>’) ?> </div>
 * </div><!–left-col-end–>
 * <?php get_sidebar(); ?>
    </div><!–content-end–>
 * </div><!–wrapper-end–>
    <?php get_footer(); ?>
 * **Hope this helps all of you !

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

The topic ‘Can’t show posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [ryanstefonick](https://wordpress.org/support/users/ryanstefonick/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/cant-show-posts/#post-1562244)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
