WordPress.org

Support

Support » Installation » Upgraded to 3.0, posts not showing

Upgraded to 3.0, posts not showing

  • Hello,

    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?

Viewing 13 replies - 1 through 13 (of 13 total)
  • esmi

    @esmi

    Forum Moderator

    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

    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.

    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 🙂

    Update:

    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.

    Thanks

    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?

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

    We need update from WP on this thread.

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

    Moderator James Huff

    @macmanx

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

    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.

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

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

    <!– end #mainContent –></div>
    <?php get_sidebar(‘secondary’); ?>
    <?php get_footer(); ?>

    Hello,

    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.

    @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

    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.

    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.

    Thanks,
    ~Hailey

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Upgraded to 3.0, posts not showing’ is closed to new replies.
Skip to toolbar