Dates showing before posts

  • Author
    Posts
  • #1572237

    windwhistle
    Member

    A few weeks ago I added some code that hides the tags at the top of my older posts (I’m gradually converting them to categories). Since then I’ve noticed that the post dates are displaying before anything else on the blog. The tags were on the same line as the dates, so I think the new code is causing this. Is there a way to keep those dates from flashing and still keep the tags from showing?

    The blog I need help with is piedtype.com.

    #1572386

    I’m seeing categories, then the post title and then the date below the post title. Can you point me to a location where this is happening and I’ll be more than happy to take a look at it for you. I can’t find any posts on your site with tags only.

    #1572391

    windwhistle
    Member

    You’re seeing what you’re supposed to see. I see the same thing, once everything has loaded. But I always see the date for a second on a completely white screen before the rest of the page shows. Like FOUT.

    It happens when I load most any page on the blog. The dates appear/load before anything else. On the home page, of course, lots of dates appear. It’s as though they load faster than anything else. I’m using a Mac with Chrome and Firefox. Maybe the problem is my computer or browser instead of the code?

    There are no posts with tags only. The posts in the last year or two have categories only and on older posts, the tags are now hidden. One example of an older post with tags now hidden is http://piedtype.com/2010/03/15/sorry-toyota-im-still-unconvinced/

    Our previous discussion about hiding tags, along with the code I inserted, is here:
    https://en.forums.wordpress.com/topic/hiding-tags-in-post-header?replies=7#post-1521326

    #1572393

    Hmmm, it took me a while to reproduce this. I had to clear my browser cache and restart the browser to see it.

    Since it is not happening on the demo site, I suspect it has to do with that CSS getting loaded too soon or something.

    You have .post_meta as well as two .entry-date sections in your CSS. I would suggest combining those and putting those two and the .entry-date .dot rules at the very bottom of your CSS to see if that makes a difference. I don’t know that it will, but it would be worth a try and also tidy things up a little.

    #1572411

    windwhistle
    Member

    Sorry I’ve been so slow getting back to this. I just realized today that the code I was using had removed the comment counts on all the posts on the home page. I’ve always assumed comments generate interest, so decided to remove the code and show the counts. Having tags show on old posts is a small price to pay. Thank you for your time and suggestions.

    #1572412

    windwhistle
    Member

    And have a great new year!

    #1572413

    You are welcome and you have a great new year too.

The topic ‘Dates showing before posts’ is closed to new replies.