Wordpress Post Expirator Plugin Released

The Post Expirator plugin allows the user to set expiration dates for
both posts and pages. There is a configuration option page in the
plugins area that will allow you to separately control whether or not
posts/pages are either deleted or changed to draft status.

The plugin hooks into the wp-cron process and runs every hour.  It was designed and developed to work with Wordpress MU, however it will not work in the mu-plugins folder due to how the plugin activation is setup to register the cron hooks.

It can be downloaded from the Wordpress Plugin Directory - http://wordpress.org/extend/plugins/post-expirator/

Let me know if anyone encounters any issues and I hope you enjoy it!

Trackbacks

    No Trackbacks

Comments

Display comments as (Linear | Threaded)

  1. roccia says:

    Hi Aaron, i'm using this plugin but there be some problems.

    I've installed it correctly on my 2.5 wp, but when i set an expiration date in a post and i save and close, the expiration date is not saved neither in custom fields (what is the key?) neither in the plugin box.

    Any advice?

  2. Aaron says:

    The key name is "expiration-date". I would recommend upgrading to WP 2.6 and trying it there.

  3. Cindy says:

    Aaron,
    I was very excited hen I found your plugin.

    But I have an issue I was hoping you could help me with.

    I downloaded the zip file from wordpress. I unzipped it. I uploaded the post-expirator.php file to the plugins folder via ftp.

    I logged into my admin area and navigated to the plugins screen to activate the plugin.

    And there is no plugin. There is nothing to activate. Is there something I did not do correctly?

    Can you please tell me how to get your plugin visible so I can activate it?

    I am using a self hosted WordPress 2.5

    Thank you for your assistance.

  4. Aaron says:

    That is very strange that it is not showing up. I have tested it with both wp 2.6 and wpmu 2.6 and it appears to work fine. I don't think there is anything in the code that would prevent it from working in WP 2.5. I would suggest either upgrading to 2.6 or setting up a test install to see if it works for you there.

  5. Henry says:

    This is a great plugin, and it appears to work as advertised. That being said, the expirator does not work in the fashion I would like it to. Here's the deal:
    I have pages that I want removed at a certain time. I queue these pages up ahead of time using the WP build-in "publish at a future time" feature. When the pages are publish with the WP cron, the expiration data is lost. It sure would be nice if you could harden Expirator enough that the WP cron can't remove the expiration data.

    Thanks!
    Henry

  6. Urban says:

    hi Aaron,
    I was very excited too when I found your plugin.
    I planned to use post expirator with tdomf form on my WP, but i don't know much about scripting.
    would you suggest me?
    Thanks,

  7. Morten says:

    Hi,
    I can't get the plugin to work on WPMU 2.6.2. (I've installed it in the plugins folder, not the mu-plugins folder.)

    It puts the key in the wp_1_postmeta db table all right, but nothing happens when reaching the time for the post to expire.

    Does it require any special rights on folders on the server or something like that? Hope you can give me a hint. Thanks.

  8. Aaron says:

    It uses the wp-cron process. So, sometimes it may require you to reload the page twice after the expiration date before you see that it's actually gone. I have not tested this on 2.6.2, but it was working fine with the 2.6 trunk

  9. Rem says:

    Can you test this on 2.6.2? It doesn't seem to be deleting the expired posts.

  10. Aaron Axelsen says:

    Works for me on 2.6.3

  11. getelement says:

    thnx for sharing this great plugin ! found a small typo which prevents safari from the ability to select any of the fields either the whole box is being disabled or enabled r. 122 states labael vs label.

  12. Aaron Axelsen says:

    fixed! thanks!


Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA