When I post a second entry (or third, forth, so on so forth) the same day, everything but the top entry's date hides, why is this? I can't see anything in the stylesheet that would cause this, then again maybe I'm being stupid.
Help?
http://limes-not-lemons.com/wp-content/themes/mango/style.css
Much appreciated!
Axxie,
In your index.php (or whatever page you are using to display posts), use
<?php the_time('F jS, Y') ?>
instead of
<?php the_date('','',''); ?> (will be something similar)
Kalon.
Kalon... thanks!!
can't believe i didn't try that before, i had been wondering about it for a few days now.
Now thats confusing... is vud0013 the same person as Axxie?
Anyway, glad I could help.
I need to obtain the date as a variable in PHP. I need this two times per post (one for the day, the other for the month).
So, i use the_date('d', '', '', FALSE) and the_date('n', '', '', FALSE), but it doesn't work the second time.
How i use the_time to obtain a date usable in PHP?
Its been a long time since ive done WP stuff but i think there is a get_the_time() function open to you?
Yep - a quick look on the codex and bang