Forums

How to creat e a clickable date button? (1 post)

  1. jeriksson
    Member
    Posted 7 months ago #

    Hi,

    My theme is outputting a date with this code:

    <span class="date"><?php the_time(__('F jS, Y', 'mytheme')) ?></span>

    Is there any build in function in wordpress to make this date link a clickable link to the date archive for that date?

    I noticed wordpress stores dates and by doing date/2011/09/10/ you will list all posts for that day, so i figured it would be handy to be able to click the date it self.

    Any ideas?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.