WordPress.org

Ready to get started?Download WordPress

Forums

setup_postdata does not retreve comments (1 post)

  1. celebitchy
    Member
    Posted 8 years ago #

    I'm running WP 2.0. I want to create two custom homepages for my blog, http://www.celebitchy.com (root directory runs MT)

    Each are new page templates:
    http://www.celebitchy.com/blog/headline_view
    http://www.celebitchy.com/blog/classic_view

    I'm trying to call setup_postdata to show the number of comments beneath each post, but no comments are appearing on either template. The thing is, they used to appear fine on the headline version.

    I tried turning off all my plugins, deleting all comment-related plugins, and renaming each deactivated plugin in turn. I also tried replacing my comment template with the default version, and calling setup_postdata again right before the comments.

    Here is the code. I suspect it's a setting or something I changed in WP. Sorry for extraneous code, I'm not sure what's relevant.
    Classic View: http://paste.uni.cc/9732
    Headline View (one post): http://paste.uni.cc/9733

    If it's relevant, here are my current plugins, which are all deactivated:
    http://paste.uni.cc/9730

    What am I missing?
    Thanks in advance for your help with this tricky problem.

Topic Closed

This topic has been closed to new replies.

About this Topic