The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Post Expirator
Auto expire posts after certain # of days from post date? (8 posts)

  1. Rene Michaels
    Posted 3 years ago #

    I would like to auto-expire posts after a certain number of days from the original post date and have them auto delete. Example; set a rule to expire posts after 547 days (from the original post date)

    Authors would not need to do anything with regard to setting an expiry when they add a post as this would be set in the Post Expirator admin.

    Is there a way to do that with Post Expirator?


  2. Aaron Axelsen
    Plugin Author

    Posted 3 years ago #

    you can set a default expiration value .. so when you create the post, it will have a default value set

  3. Rene Michaels
    Posted 3 years ago #

    Hey Aaron,

    Thanks for the guidance!

    Just so I'm clear, I see a setting for "Default Date/Time Duration:" and if I set to "Custom", and then I can "Set the custom value to use for the default expiration date.", but what do I enter in that field? ...it says to "see PHP strtotime function", and I have no clue what to enter in that field. I want the posts to auto expire 547 days from the original post date.

    Appreciate the help!

  4. Handoko
    Posted 3 years ago #

    Enter this bellow:
    +547 day

  5. Rene Michaels
    Posted 3 years ago #

    Excellent, thanks guys!

  6. qzha017
    Posted 3 years ago #

    Hi Aaron it dose not work, I put in +7 days but nothing happens, I go and check the posts from Admin and under expires all says Never. I go and check single post page nothing displays although I selected show post footer.

    can you please help me to work this, so far it dosent do anything for me

  7. Handoko
    Posted 3 years ago #

    Have you tried to put +1 day ? Try only 1 day first. If it works then you can try others. It will be easier if you try the shorter first.

  8. qzha017
    Posted 3 years ago #

    Ok I just realised my posts are generated by the Gravity Form not through the admin, thats why it didnt work. Thanks for your fast reply, do you have any idea how to make it work if the post were created through Gravity Forms? Its embedded into pages then published as posts.

    Thanks alot Handoko

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Expirator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.