Support » Fixing WordPress » IE6 and query_posts: fail.

  • Resolved syrupcore


    This is weird. I have some tabs on the homepage. I’m populating the tabs with specific blog posts. For some reason, this isn’t outputting any content in IE6 and safari. Works fine in FF.

    	while (have_posts()) : the_post();

    This isn’t a css issue. View Source shows the containing <div>s as empty but view source in FF shows the content in the <div>s. I mean, I know this doesn’t make sense – this should all be resolved long before the browser knows the difference but man, it’s just not there!

    Is there another/better way to get a single post that I might should try? There are actually 5 different calls likes that to fill each tab. I tried removing all but one but it didn’t make a difference.

    Thanks for any thoughts.


Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve used a plugin call Get A Post to display just one post. Working in 2.5.1 even though its old

    What is your blog URL?

    Try using <?php

    thanks. I’ll look into that plugin. Seems like I shouldn’t need one though. Site isn’t posted anywhere yet, still in local dev.

    <?php didn’t work either but I am starting to wonder if perhaps it has to do with my local instance of apache/php.

    Should also note that even with calls to css and js removed, I’m still having this problem. Since it’s not making it to the browser in ie6/safari, I’m wondering if it has something to do with the headers being sent but hell, I’m just grasping at straws at this point.


    Got it. The posts I was trying to retrieve were set as “unpublished”. As I was first setting up the tabs, I had mistakenly left one unpublished and it appeared in FF. I thought, “oh cool, I can make a direct call to an unpublished post but it wont appear in nav and the like” – exactly what I wanted, easy! Alas, FF was the only browser that rendered them.

    See, I still don’t understand how/why. I just noticed I’m still running PHP/4.3.11, that might be part of the problem. Dunno.

    If no one can explain it and some one else can verify what happened by running a little test locally, I’ll post a bug.


    guess I’ll just resolve it.

    I’m dumb. It’s because I was logged into FF and if you’re logged in, you can see posts with the status of “unpublished”.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘IE6 and query_posts: fail.’ is closed to new replies.