21 Responses

  1. Jamal Mehmett
    Jamal Mehmett August 7, 2010 at 8:25 am | | Reply

    Nice trick… I have implemented something like this on my half-past-dead blog, and though I have gone a different road, the result is the same, I explained it here.

  2. Dave Bonta
    Dave Bonta August 7, 2010 at 1:31 pm | | Reply

    Very cool — thanks for sharing this! Certain types of record-keeping sites where the date is more crucial may still want prominent archives lists in the sidebar, but otherwise I agree that this is largely a waste of front-page real estate (and I’ve never understood the appeal of calendar widgets). However, I think most blogs with regular readerships will still want either a drop-down list in the sidebar or an archives directory page for the odd reader who’s looking for a post that appeared on roughly such-and-such a date, especially considering how poorly WordPress’ native search function works.

  3. Opal
    Opal August 8, 2010 at 9:37 pm | | Reply

    This looks cool. I have always wondered about this issue.
    Might just be a bit too techy for me.
    Still I need to have a go, or get someone to help me!
    Opal

  4. Andrew
    Andrew August 9, 2010 at 7:33 am | | Reply

    The purpose of this code is really nice. You’re right, “It never hurts to implement more methods of keeping people on your site”, and this is another great way to do it. Better bounce rate and improves internal linking as well.

  5. Travis
    Travis August 10, 2010 at 11:01 am | | Reply

    I’m a bit surprised these functions don’t default to the current post’s date. I guess if that were the default the function names would be different, like “get_the_month_link()”? Still a bit rough on WP naming conventions.

  6. Chris Cox
    Chris Cox August 12, 2010 at 3:20 pm | | Reply

    That’s a very interesting take on user retention. I agree that the default dateline doesn’t do a great deal, apart from visually.

    Looking at your post thumbnail, I was wondering if it might be possible to generate something similar (including the lifted corner) using CSS3 transforms…

  7. Bunny
    Bunny August 13, 2010 at 10:16 am | | Reply

    Great job….amazing post!!!Looking for another one…Best of luck

  8. Rob Felty
    Rob Felty August 15, 2010 at 1:38 pm | | Reply

    Very nice idea! Just a plug to one on of my own plugins. My collapsing archives plugin gives you a nice widget in the sidebar which can be configured to not take up much space. It can expand and collapse months and years, and also display posts if you want it to.

  9. Opal Wholesale
    Opal Wholesale August 18, 2010 at 5:48 am | | Reply

    Using the publishing link in your theme is pretty darn good. I will need to take a deeper look.

  10. SenseiMattKlein
    SenseiMattKlein September 4, 2010 at 6:21 am | | Reply

    Just out of curiosity Justin, who else other than the Americans use the month/day/year format? It is a bit confusing because sometimes you don’t know the actual date if it is like 06/05/1997.

  11. K Clarke
    K Clarke September 7, 2010 at 11:42 am | | Reply

    ya every time i try and look at the date liek that it gets confusint as most people format the date ina different way. however im a firm believer that more tracking is better. so hopefully this works out

  12. MackTeck
    MackTeck September 17, 2010 at 10:34 am | | Reply

    Thanks for a simple way to do this. I was thinking about doing this myself, but my technique had sql queries involved. thanks for simplifying it for me

  13. Mark
    Mark November 20, 2010 at 12:20 pm | | Reply

    Or, you could just use WordPress’s get_option(‘date_format’) to get the appropriate date format for the blog.

  14. Rev. Voodoo
    Rev. Voodoo December 3, 2010 at 8:07 am | | Reply

    hmmm…I’ve had my dates link to my archives for a couple years now… BUT… everything is hardcoded. As in I don’t use date_format. Which bums me out. For the sake of learning I’m trying to get my theme as end user friendly as possible. Part of that would be allowing the user to change the date format as they see fit….. but I don’t want to give up the linking. So in the end, I’d love to see a way to always link the date to the archive, while using date_format to respect the users needs

  15. Victor
    Victor December 15, 2010 at 1:43 am | | Reply

    I removed the archive widget from menu, because I set the permalinks to show only %post title% in URL, but in archives is including the date too, giving a 404 Error Page.

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.