WordPress.org

Support

Support » How-To and Troubleshooting » Posting the date once

Posting the date once

  • 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?

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

    Woderful! Problem fixed! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posting the date once’ is closed to new replies.