Support » Fixing WordPress » MTDateFooter in wp?

  • 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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ryan Boren


    WordPress Dev

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

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

    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.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MTDateFooter in wp?’ is closed to new replies.