• On my home page, I have five future posts and five published posts. The query for the future posts is:

    <?php query_posts('post_status=future&showposts=5&order=ASC'); ?>

    and the query for the published post is:

    <?php query_posts('showposts=5'); ?>

    For some reason, everything works fine in IE7, but not in FF. Check it out at http://99flicks.com. You’ll see that you can click to view trailers for the In Theaters (published) posts but not the Coming Soon. Everything in IE7 works though.

    I have basically everything validated except one error (which is a duplication of ID tag), but that shouln’t mess up the links in Firefox.

    Please help, I’ve been spending hours on trying to fix this, yet maybe others will know the problem in an instant.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    It’s not a WordPress problem, and the query_posts works fine.

    I can’t explain why, but if you remove the <h1>In Theaters</h1> bit, then all the links work. Something about that H1 is horking it up.

    Thread Starter parthatel

    (@parthatel)

    I took out the h1 tags and it worked. That’s weird.

    Thread Starter parthatel

    (@parthatel)

    wow..after I took out the h1 tags, I cant go to the page for the future posts on either IE7 or FF. Try going to a url like http://99flicks.com/the-longshots.html for a future movie, and it’ll go to the home page.

    For the Coming Soon page, I have the query:

    <?php query_posts('post_status=future&order=ASC'); ?>

    Is this a query problem?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    No, it’s not a query problem, I think you’re just missing those pages or they’re in the future.

    Look, this one works:
    http://99flicks.com/the-dark-knight.html

    Future posts are not normally accessible at all, without special measures. Trying to go to a single future post won’t work, because the default query ignores future posts.

    Future posts are designed to be not visible, period.

    Thread Starter parthatel

    (@parthatel)

    I used the Future Is Now plugin and future posts now work with firefox, but not in IE7.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with query_post in Firefox?’ is closed to new replies.