Forums

Post Date Tags (5 posts)

  1. TomHusband
    Member
    Posted 1 year ago #

    I would like to add a date tag showing when the post was made. Like here where there's a little calendar next to the post. Is there a plugin that will do this?

    Thanks,

    Tom
    [sig moderated]

  2. Kafkaesqui
    Moderator
    Posted 1 year ago #

    They probably use multiple instances of the_time() with date format strings to specify month, day and time:

    <?php the_time('M'); ?> = Feb
    <?php the_time('j'); ?> = 17
    <?php the_time('g:i A'); ?> = 11:30 PM

  3. TomHusband
    Member
    Posted 1 year ago #

    Thanks! I added the date in the loop so that will work for the time being. I'd still like to get something like that little calendar graphic though.

    Tom

  4. Kafkaesqui
    Moderator
    Posted 1 year ago #

    I guess you could ask Scott if he'd let you use it on your blog...

    http://www.scottkelby.com/blog/wp-content/themes/skblog/images/bg_dateblock_top.gif

  5. TomHusband
    Member
    Posted 1 year ago #

    Right. I thought about that but I thought there might be a plugin that would have something similar.

    Thanks again for your help.

    Tom

Topic Closed

This topic has been closed to new replies.

About this Topic