WordPress.org

Ready to get started?Download WordPress

Forums

automatically delete posts after x number of days (5 posts)

  1. dfwgreg
    Member
    Posted 4 years ago #

    I'm using feedwordpress to import news from another site to my site and the posts that feedwordpress imports to starting to get big. Is there a way I can put a code in a custom field to delete the post automatically when it reaches x number of days (say 90 days).

  2. MichaelH
    Member
    Posted 4 years ago #

  3. dfwgreg
    Member
    Posted 4 years ago #

    It looks good but you have to put a date on the code instead of 'delete 90 days after publish'

  4. evandavidpaul
    Member
    Posted 3 years ago #

    Hi dwfgreg, did you ever find a solution to this. I'm running into a similar situation. I can't add an expiration date to every post and need something that is automatic.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    http://wordpress.org/extend/plugins/auto-prune-posts/
    works for me...I use it for feedwordpress actually

Topic Closed

This topic has been closed to new replies.

About this Topic