MTDateFooter in wp? (5 posts)

  1. spiceee
    Posted 12 years ago #

    i'm about to do a lot of patching if i can't find a way to add a footer everytime a date is closed in the wordpress loop and another one is called.
    see, i need this movable type functionality baaaad in WP.
    i've just finished a plugin for WP that is sort of a MTOnThisDay port, it lists the posts you've written in the same date in past years... it's pretty cool (i'll post to the hacks forum if anyone else is interested).
    i just need to emulate the MTDateFooter thing, so my hack is only called when WP is about to go to another date in the loop.
    help help!

  2. Ryan Boren
    WordPress Dev
    Posted 12 years ago #

    There's an is_new_day() function. Will that work for you?

  3. unixman
    Posted 12 years ago #

    Spiceee, post it. Even if now one seems interested now, I am sure someone will, sooner or later.

  4. spiceee
    Posted 12 years ago #

    umm, it sort of works, rboren.
    but then again, to make it work *really well* i needed a function more like is_next_post_a_new_day(), since is_new_day() forces me to test stuff in a new day and my onthisday hack asks for a test when the last post for the day is about to wrap.

  5. carthik
    Posted 12 years ago #

    spicee, could you put that new function in the plugin that you write that does this? Just an idea.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.