WordPress.org

Ideas

Auto expire/unpublish time for posts

  1. semrocc
    Member

    @Ipstenu

    semrocc, the plugin is the taste test, in your example.

    If you are looking for a plugin, then you already want the functionality, so comparing it to the taste test makes no sense. There's many examples/ways that posts and pages should expire, probably more than why they shouldn't. (there's that common sense thing again). I can't imagine moving into a new house and using the toilet only to find out you can't flush...or the water tap turns on but not off, or the garage door opens but doesn't close...(there's that common sense thing again)

    It certainly would be nice if the developers concentrated on more productive additions to the WP core instead of wasting time and energy on useless little kidsy things like emoji.

    I can't understand why other CMS systems incorporate this into core but WP refuses.

    Posted: 2 years ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    semrocc - If you're looking for chocolate, you're already looking for chocolate.

    No analogy is perfect, not even yours.

    This is like moving into a new house and finding there are no shower curtain rods. That's annoying but understandable.

    Posted: 2 years ago #
  3. semrocc
    Member

    This is like moving into a new house and finding there are no shower curtain rods. That's annoying but understandable.

    I would agree with that. I would also say that not having post expiration as a core WP function is annoying, but in this case...not understandable.

    Obviously this will never happen and I can certainly continue to use a plugin to accomplish this basic function that should be core...though I very often scratch my head and wonder why.

    Posted: 2 years ago #
  4. Ipstenu (Mika Epstein)
    Administrator

    "Never" is not the right term. "Not at this time" is the right phrase.

    Posted: 2 years ago #
  5. semrocc
    Member

    Let's check back in 10 years and see where things are at ;)

    Posted: 2 years ago #
  6. compusolver
    Inactive

    Joomla offers auto-unpublish in its core. If done via cron, it wouldn't be "bloat" insofar as affecting display times.

    Posted: 1 year ago #
  7. Ipstenu (Mika Epstein)
    Administrator

    I read https://docs.joomla.org/Scheduling_an_Article_to_be_available_only_between_certain_dates

    They have some issues which would cause problems in WP based on current expectations.

    * Menus pointing to the post aren't corrected
    * Sometimes the articles still show - https://forum.joomla.org/viewtopic.php?t=600418
    * What 'error' page do people see? (This seems ... vague)

    It isn't so much bloat as it is making proper decisions. Again, it has to be decided what happens when a post is unscheduled.

    * Who should see it? (Joomla says anyone who has access to see it when logged in, so for WP that would be the author, editors, and admins)
    * What should NON logged in people see? A 'this post has been removed' or a 404 or what?
    * What should logged in people see to understand the post is 'hidden'?
    * How do we address menus? (probably the same way we handle them now - when pages vanish, the menu items are removed).

    We can make hooks for unpublish, same as we do for publish, to allow plugins to flush caches etc, but remember that wp-cron is not a silver bullet for a lot of people :) You would end up with people visiting the site and hitting the page either on the unpublished moment or shortly there-after and that would trigger the unpubishing. Which means they would see the page that shouldn't be for longer than you want.

    Not insurmountable, just someone needs to come up with a proper plan of attack vs just saying 'We need this thing!' :)

    Posted: 1 year ago #
  8. semrocc
    Member

    Sounds like WP development teams needs to get busy coming up with a "plan of attack".

    Many scenarios warrant a post expiration...let's make it happen in 2017!

    Posted: 1 year ago #
  9. Ipstenu (Mika Epstein)
    Administrator

    My point is someone who cares a lot about this needs to come up with the plan of attack.

    You don't get to tell the devs to make something happen, they're not your employees. They work on what they care deeply about, what inspires them, and what they want to. It's the way of Open Source :) So if you can't do it, you have to look around for someone else who shares your passion and can.

    Posted: 1 year ago #
  10. compusolver
    Inactive

    Anyone who sets an unpublish time for a page or post linked via menu (rather than just in a category list), sort of deserves what they get! :)

    I'm trying "Gtuk Unpublish Posts" (plugin) and so far, so good. Haven't had anything due for unpublish yet, but all should go well.

    Posted: 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    6 Votes
  • Status

    This is plugin territory