WordPress.org

Ready to get started?Download WordPress

Forums

Setting automatic post expiration date (3 posts)

  1. dfd0226
    Member
    Posted 4 years ago #

    I am using the FeedWordPress plug-in to syndicate TV listings for a celebrity into WordPress.

    I've already tried piping the RSS feed into a widget, but there is a bug on TV Guide's end where upcoming shows are only shown for a date 7 days in the future. As a result of this, listings in the feed change on a daily basis.

    I have found plug-ins that will automatically delete a post after I choose an expiration date, however I don't want to have to manually choose an expiration date for each episode. Rather, I would want a post to expire either a few hours (or up to 24 hrs) after the air date and time of the episode.

    Also, the FeedWordPress plug-in automatically publishes the syndicated post in the future on the date of the episode. Naturally I want people to know about the episode before it airs, so can I push back the publish date 6 days before the default, and then have it expire 7 days after the new publish date?

    Any help would be fantastic!

  2. jkovis
    Member
    Posted 4 years ago #

    I'm confused about your site's workflow; can you post the URL so I can see how it works?

  3. WordPress Chef
    Member
    Posted 4 years ago #

    A couple of code snippets can be found here it allows to set post expiration using date and time.

Topic Closed

This topic has been closed to new replies.

About this Topic