The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] All posts displaying content from most recent post (6 posts)

  1. dow0013
    Posted 4 years ago #

    Hey all,

    I've run into a rather frustrating problem...

    When I create a new post, ALL of the previous posts that have been created display the content of the most recent post. The permalinks stay the same, but the content changes. This is boggling my mind.

    Even inside the dashboard, when I create a post and click on "view post" I am presented with content from the most recent post.

    My most recent post is this:

    An older post can be found here:

    Notice, they ALL show the same content from the recent post.

    I have reverted to the twentyeleven theme and it seems to fix the problem so it IS a theme issue. I'm just not sure where in the theme this is going wrong.

    Also - the homepage is displaying images while using the_excerpt which is bizarre. Possibly related?

    Appreciate any help!!

  2. samueltdesign
    Posted 4 years ago #

    A few ideas that popped into my head when reading over the issue -

    1. Is it something to do with viewing the site via xxx.xxx.xxx.xxx/~wizard/ ? I know my hosting can go a bit odd when I try and do that!

    2. Are the URL rewrites turned on?

    3. What theme are you using, or is it a custom theme that you've created?

    Sam Thompson

  3. dow0013
    Posted 4 years ago #

    Hey Sam - Thanks for the response!

    I haven't run into issues with the hosting path before, but that could be throwing it off a bit maybe?

    The URL rewrites are on and I've got the .htaccess updated as well to reflect that.

    It's a custom theme, but I started with the "Starkers - Naked Theme" like I do with most of my sites.

    Thanks for looking into this!!

  4. samueltdesign
    Posted 4 years ago #

    ah it must be something in the the_content(); function I reckon as the titles for the pages are correct, its just the content that's wrong!

    Can you paste the single.php code? Or has it not changed in the theme?

    ooo, another idea - it's not because of the WordPress 3.4 update is it?!

  5. dow0013
    Posted 4 years ago #


    I don't know why I didn't check the template for the single post pages!!! I had a query_posts(); in there somehow... must have accidentally thrown that code in from working on the homepage or something..

    You have no idea how much headache you just saved me!

    Thank YOU!!!!

  6. samueltdesign
    Posted 4 years ago #

    haha! No problem, you sorted it yourself, just jogged your memory!

Topic Closed

This topic has been closed to new replies.

About this Topic