WordPress.org

Ready to get started?Download WordPress

Forums

Date not showing on News posts (3 posts)

  1. Griffin0991
    Member
    Posted 7 years ago #

    Hello,
    Im relatively new to wordpress and have started skinning my own theme but ive run into an odd problem (well I think it's a problem). The skin im working on can be seen at http://www.genesisextreme.com/wordpress .Ive been working on trying to get the news posts to show up the way I want and noticed that for posts on the same day the date is not shown. Is this normal or did I screw something up along the way?
    Any help would be greatly appreciated.

    Thanks

    - Griffin

  2. MarkMichon
    Member
    Posted 7 years ago #

    the_date has a special clause that basically makes it only appear once per day. To get around this, you need to use the_time.

    for example <?php the_time('F jS, Y') ?> will display as

    June 23, 2007

  3. Griffin0991
    Member
    Posted 7 years ago #

    That seems to have done it.

    Thanks for the help :)

Topic Closed

This topic has been closed to new replies.

About this Topic