date header like MT? (3 posts)

  1. donzacharias
    Posted 9 years ago #

    There must be an easy way to get a Date Header like MT has... it is only displayed at the start of a container of posts from each day, like

    *June 29, 2006
    Posted at 11:00 am
    Post post

    Posted at 8:00 am
    First post on 6/29

    *June 28, 2006
    Posted at 11:59 pm
    My last post on 6/28

    and so forth... Inside the Loop, how do I compare the_date to the_date of the previous iteration of the loop? Thanks!

  2. You don't as it's already done. the_date() automatically only outputs stuff if the date has changed since it was last used.


  3. donzacharias
    Posted 9 years ago #


    I was using the_time even though I said I was using the_date, so I guess that makes me a liar

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.