Support » Fixing WordPress » Posts not appearing on home page

  • On our site HomerDerby new posts are not appearing on the front page. An example of this is this post where it has been published but refuses to show on the home page. Other test posts of this have the same behavior.

    This was happening in 2.6, upgraded to 2.7.1 in an effort to fix it but to no avail.

    Any suggestions would be helpful. Thank you.


Viewing 11 replies - 1 through 11 (of 11 total)
  • One of the first things you will want to do is open up the index.php file in your theme folder and look for the line that has

    <?php while (have_posts()) : the_post(); ?>

    Now, look before that line to see if there is anything with the function query_posts(...) in it. If so, comment out that line or remove it. Chances are that line may be hiding certain categories or posts. If you find that line, post it here so we can try to tell you how to correct it.

    BTW, can you temporarily switch to a different theme, like the WordPress Classic theme, and see if the post shows up. You can switch back and forth between themes without losing any data.

    There is no such function in that file.

    However, a new twist. I switched to WordPress Classic and the home page did not change themes. Other pages did but not the home page. Could this be a caching problem of some sort?

    Yes, it is very likely a caching issue in your browser or in WordPress. Try holding down the CTRL key on your keyboard and hit the F5 key, or hold down the SHIFT key when you refresh your screen (this is for PC, not sure how to do it on a Mac). If the page doesn’t refresh, then perhaps you have something like WP Super Cache plugin on your blog – disable that. WordPress by default has no caching mechanism, so it is your browser or a plugin.

    Do the posts eventually end up on your blog, just not right away? If so, it is definetly a caching issue.

    This isn’t a browser cache issue, certainly. Possibly a server cache issue though.

    I don’t have any caching plugins like WP Super Cache.

    The posts appear on the blog, just not on the front page. This has been happening since last Friday when we has a huge load day.


    Unfortunately right now I am at work and can’t access your site to see that the post isn’t showing, so I will make a note to look back here later. You say “This isn’t a browser cache issue, certainly” but you don’t say how you know that. Have you tried emptying the cache or accessing the site from another computer. What server are you using and have you asked the server host if they cache anything?

    It may be a plugin causing this – can you list the plugins you are using so I can try to track it down. There are some plugins that will filter certain posts out of the home page (I know, I wrote a couple). Sorry to ask so many questions, but I want to help, just can’t do it until I have all the details. 🙂

    I’ve found and fixed the issue. The hosting provider had a redirect to a cached version of the homepage from a few days ago.

    Thank you for your assistance.


    I would ask the hosting provider to turn of the cache for your site, or find a hosting provider that doesn’t cache your site. I have never used any hosting provider that did caching, because as you have found out, that doesn’t work for WordPress! 🙂

    Mark this as resolved please.

    I’m having the same problems too, my posts won’t show up on the home page.

    My published post

    Check it out thanks.


    i was having same problem i just changed my theme my problem was solved

    Mobile Repairing Picture Help

    Any body take a quick look at my blog and help me if you can please

    [spam link moderated]

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Posts not appearing on home page’ is closed to new replies.