Posting the date once (3 posts)

  1. dponce80
    Posted 11 years ago #

    I've looked for an answer for this, I just don't know how to formulate my query to find it. I'm sure it's sompleace, but I'm stumped.

    I'm using the bionic jive theme, and you can see my page here: http://www.ohgizmo.com (we're doing well, by the way, over 8,000 uniques/day)... anyway, I'm working on a redesign, and I'd like to be able to display the date of the posts only once, in a nice image wrapped header, the way gizmodo, or engadget do it. I just have no idea how to do it. I'd like the date header to stay at the top through out the day, then to start dropping down as soon as the day is over, so that readers coming in later and reading the posts from top to bottom will find it chronologically correct.

    I don't know it it's even possible to do that... can anyone help me?

  2. Beel
    Posted 11 years ago #

    <h2><?php the_date(); ?></h2> above <div class="post"> will display only once per day with the posts listed below. You will need to change the_time() to display only the time and not the date.

  3. dponce80
    Posted 11 years ago #

    Woderful! Problem fixed! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic