Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date hides on double post same day entry’s.’ is closed to new replies.