My personal blog, located at http://williamsden.com/ 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() ?>
</div>
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:
http://codex.wordpress.org/Template_Tags/the_date
spencerp
Member
Posted 5 years ago #
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. ;)
spencerp
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.
spencerp
Member
Posted 5 years ago #
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..? ;)
spencerp