WordPress.org

Ready to get started?Download WordPress

Forums

Post Expirator
[resolved] Auto delete 90 days after publication (5 posts)

  1. Taffy-boy
    Member
    Posted 1 year ago #

    Hi Aaron,

    this plugin is exactly what I need for a news site I'm working on, but I can't seem to figure out how to set it so that each post will auto delete after 90 days from publication date..?

    Can you just clarify this point please

    Cheers Steve...

    http://wordpress.org/extend/plugins/post-expirator/

  2. SpikeTheLobster
    Member
    Posted 1 year ago #

    Ditto on this request: it defaults to the same day/time as the post is made, which is kinda... yeah.

    I figure it needs something as a Custom "Default Date/Time Duration" setting, but since the only help on that is "see PHP strtotime function", I'm rather lost.

    A pointer on formatting a 90-day thing would be nice.

    And as a feature request, how about an "x days" option in that dropdown? :)

  3. Aaron Axelsen
    Member
    Plugin Author

    Posted 1 year ago #

    entering something like "+90 days" should do the trick. the strtotime function takes literal strings like the above and translates them into the necessary formats.

  4. SpikeTheLobster
    Member
    Posted 1 year ago #

    Thanks Aaron. I did have a look at the function description, but those things are written in some kind of bizarre, unhelpful language instead of normal English. :)

    I'll give that a shot and report back.

  5. SpikeTheLobster
    Member
    Posted 1 year ago #

    Works a treat! I chose "Custom" and entered "+90 days" (without quotes) and it set the date 90 days in the future, at the same time as the post was created.

    Thanks very much, Aaron!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic