Support » Fixing WordPress » Dates only showing on every other post.

  • Resolved dremation


    My personal blog, located at is acting up. I know< I know! I’ve been helping alot of people around here with there problems, but this is killing me. I know I’ve got around 50 validation erros. But cant figure out why ever 3rd or 4th post is not showing dates. I’m using a modified version of fUnique.

    Heres the code Im using to display post ifo

    <div class="entrymeta">
    <?php _e("Filed under:"); ?> <?php the_category(',') ?> — on <?php the_date()?> — <?php edit_post_link() ?>


Viewing 6 replies - 1 through 6 (of 6 total)
  • Les Bessant


    keeper of the Tiggers

    Easy to fix 🙂

    You’re using <?php the_date()?>, which will only show the date for the first post for each day.

    To get the date on every post, change that to <?php the_time() ?> and you should see a transformation.

    Sure, the_time() work if you want the TIME of the post. I want the DATE of the post. The time is not important to me. Anyone?

    Don’t be stubborn if you got a good advice! LesBessant posted the solution.
    If you want explanation, read the Codex:

    EDITED* Oh, sorry moshu..wasn’t quick enough lol. =)

    This is what you want: <?php the_time('F jS, Y') ?>

    Straight from my blog’s theme..example there too, under the post title. 😉


    Yeah, Les had the right tag, just..follow the link moshu gave though, for future reference purposes.. 😉 =)

    Sorry, been an early morning and my mind wasn’t open. Thanks alot spencerp. I have no idea why I couldn’t figure that out.

    No problem. =) Don’t feel bad, I haven’t slept yet, so my thinking ability isn’t too hot now either lol.. =P Can ya mark this resolved now..? 😉


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dates only showing on every other post.’ is closed to new replies.