Upgraded to 3.0, posts not showing (14 posts)

  1. gmagdic
    Posted 5 years ago #


    we have a problem, we've upgraded automatically our WP to 3.0 , and our posts are not showing. We are using static page as a home page, and set an empty blog page as our posts page in Reading settings. After upgrade homepage was fine, but blog home page did not show any recent posts, no errors, everything else was there, only recent posts weren't showing.

    We've returned our site from backup, to ver 2.9.2 and now its fine, but we want to switch to 3.0 eventually.

    Any help?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems?

    Also see http://wordpress.org/support/topic/411649

  3. greygoo
    Posted 5 years ago #

    I'm having the same problem. Switched to the default theme and it fixed it, so it must be something specific to the theme. I'm using Bueno.

  4. gmagdic
    Posted 5 years ago #

    Authors of our theme reported this as a bug to wp dev team.

    We hope that they'll resolve it quickly, so we can upgrde :)

  5. gmagdic
    Posted 5 years ago #


    We reported this bug to our theme author, and they said it's a WP problem, and that they don't have any timeline to this being resolved.

    We would like to notify WP dev team here, to take a look a this, as we need to upgrade our WP.

    Our theme is Woo theme Gotham News.


  6. That seems contradictory to their blog post: http://www.woothemes.com/2010/06/wp-3-0-menus/

    So this is a quick note to tell you all, that all our themes are already WP 3.0 compatible

    Did your theme author made a child theme of a Woo Theme?

  7. gmagdic
    Posted 5 years ago #

    Yes, as I was saying, it's WP problem, not Woo problem.

    We need update from WP on this thread.

  8. namor606
    Posted 5 years ago #

    we're seeing the same issue on a customized kubrick script

  9. James Huff
    Volunteer Moderator
    Posted 5 years ago #

    If everything works fine in the Twenty Ten theme, then the problem is theme-specific and not a WordPress issue.

  10. Pedro1234
    Posted 5 years ago #

    The code below works perfect in v2.9. Both sidebars show up and my pages show in between them. Upgrade to v3.0 and both sidebars show up fine, but the pages do not. I dont think you can get much more basic than this. So why does 2.9 work fine and 3.0 not?

    The website is http://www.redlettercoaching.com.au . It has been moved back to v2.9.

    * @package WordPress
    * @subpackage RedLetter
    <?php get_sidebar(); ?>

    <div id="mainContent">
    <?php the_content(); ?>

    <!-- end #mainContent --></div>
    <?php get_sidebar('secondary'); ?>
    <?php get_footer(); ?>

  11. mjepson
    Posted 5 years ago #


    I can confirm the change in WP 3.0, and would say it is a bug. This has worked perfectly in 2.9.2 and previous versions.

    This is the issue:

    Most of our themes use index.php as the homepage in the themes, and often uses query_posts to fetch posts:

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("paged=$paged"); ?>

    This works perfectly as homepage, but if you set a static home page in Settings > Reading and set a page as your posts page, then that posts page will not work properly.

    Here is an example using TwentyTen with a modified index.php:

    Settings>Reading: http://cl.ly/4b9c79e284917ebc38de
    Homepage (About): http://cl.ly/ca801b7ac28403d1f3b2
    Posts Page (Blog): http://cl.ly/d3cca61eaa5ca2335acf

    The solution to this "feature" in WP 3.0 is to set the category parameter in the query like this:

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-0&paged=$paged"); ?>

    Now it works again! http://cl.ly/757da36f56113ed03608

    It would be best if this was fixed in the WP 3.0.1 so we don't have to modify a perfectly working query_posts in all themes.

  12. mjepson
    Posted 5 years ago #

    @natanrice informs me that you can also use 'post_type' => 'post' instead of the category hack

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=post&paged=$paged"); ?>

    Still sad that we have to modify all our themes to fix this... default should be post_type=post

  13. gmagdic
    Posted 5 years ago #

    Ok, this solved our problem. Thanks for your effort.

    It is sad to change all of your themes, maybe 3.0.1 would be a better idea.

  14. hdolsen
    Posted 5 years ago #

    I've having problems with the theme too. I can't get the comments or "post a reply" to show upon the blogsite. The "post a reply" shows up on my portfolio site where I have enabled comments though. But I can't get any comments to show up right.
    I tried installing a plugin for comments too called "IntenseDebate", but that too would only work on other sites, and not where I have my blogposts...

    It's getting frustrating.

    I just started working on the site, and there is lots to do still...Here's the link: http://www.hdolsen.com I'm pretty new at this (although I have some webdesign class skills) so I'd really appreciate any small tip or help you might have.


Topic Closed

This topic has been closed to new replies.

About this Topic