• 0

Wordpress blog posts not showing


Question

I need some help with a wordpress blog where no posts are being shown.

I have setup a wordpress (3.0.1) blog, it's running on Ubuntu 10.04 with nginx 0.7.67, php5, mysql etc. The blog name is andrew-bell.co.uk

I setup the blog ok, i added the theme and did a silly first post to check via Live writer 2011 to check it all worked. This is the only post that is viewable. I then changed the permalinks structure to allow caching. the new permalinks structure is /%category%/%postname%/

Since then, no further posts are being shown, no matter what category they are in. I have turned caching off (deactivated the plugin) to make sure it is not affecting the site. The posts are viewable from the admin panel in wordpress. the link to the post also works when you paste it in.

Can anyone help me to fix this? not sure what to do to get the posts to show

Andrew

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

What are the posts set to? Published, Pending Review, Draft?

In order for posts to display on your blog then they must be published. While you're logged into your Wordpress Admin account you'll be able to view a single post on its own regardless of the status you set it to.

Link to comment
Share on other sites

  • 0

Go to Settings > Reading > Blog pages show at most.

Do you have it set to 1? Because if I visit http://andrew-bell.co.uk/category/uncategorized/ I can see two posts under there and http://andrew-bell.co.uk/category/personal/ 1 post under there.

Make sure that a.) the theme doesn't have a custom query to call from a specific category, b.) You have it set to display more posts per page, c.) that no other plugins are interfering.

I can tell you've edited the theme because the "Next Page" link is removed.

You will need to edit index.php to include:

<?php if (next_posts_link() || previous_posts_link()): ?>
<?php next_posts_link('« Older Entries') ?> | <?php previous_posts_link('Newer Entries »') ?>
<?php endif ?>

Link to comment
Share on other sites

  • 0

i went to settings > Reading and the # of posts was set to 10

i reset the theme to the default and all the posts then appeared. To me that indicates the permalinks are working and the theme is at fault.

I am at work so cannot edit any of the code, but will add the code to index.php tonight.

Cheers for your help

Andrew

Link to comment
Share on other sites

  • 0

As I figured. That being said: The theme isn't at fault it's more so the user.. Not trying to be mean. Make sure you read all information on setting up the theme. I looked through their demo's and saw how they were setup so.. yup.

Link to comment
Share on other sites

  • 0

very true, wasn't blaming the theme as such.

will try again with the theme tonight. this time will read the instructions :)

Thanks for the help though

Link to comment
Share on other sites

  • 0

You're welcome :). If you still run into trouble later when you've got a chance to read the readme, reply in here and I'll gladly try to help again :D.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.