If you want to create a permalink in WordPress to all entries on a particular day, it’s pretty simple:
<?php echo mysql2date('Y/m/d', $post->post_date); ?>
For me, I put http://ijsm.org/archives/[echo statement] in an anchor I’ve placed this around my instance of the_date to get a permalink that has the date. I suggest adding a title=”Permalink to entries on this date” to the anchor element in an effort to make it clear to your readers what you are doing.
Popularity: 8% [?]
One Response
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Continuing the Discussion