Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author TIEro

    (@tiero)

    Yes, the plugin will expire all posts older than 90 days if you set it for 90 days.

    There are a couple of things to check here:

    1. Have you waited a little while? The wp-cron job might not kick off immediately, since it runs at most once per hour. You might suddenly find everything has expired when you check back later in the day.

    You can force an expiry by adding a line to one of your theme files (I always put it in the header, since that loads everywhere):

    <?php do_TIEexpiry_all() ?>

    Then just reload your main blog page (not the Dashboard) and it will run the expiry. Don’t forget to remove the line afterwards or it’ll run every time anyone loads the page, which is horrible for your server. Yes, I have done this… ??

    2. The exact settings matter, obviously. Post status set to “Published” (box marked) or whatever’s appropriate for your requirement, radio button for “Categories to include in expiry checks” marked, category numbers list in the box there (comma-separated), “Expiry by age” has 90 in the days box and the “Use category filters” marked.

    Screenshot of those settings here.

    Let me know if it still doesn’t work!

    Thread Starter Dani

    (@danicasati)

    Yes, I did everything of point 2, and today point 1 too.
    Reloaded homepage with the code in header… same problem. Posts in choosen categories are not expired.

    Thread Starter Dani

    (@danicasati)

    I’ll try with new configuration and another category, stay tuned…

    Plugin Author TIEro

    (@tiero)

    No, you’re right. I just ran my own test and it ignored the category inclusion. Nightmare: must have slipped a bug in when I was updating stuff.

    Will have it sorted ASAP!

    Plugin Author TIEro

    (@tiero)

    Update: retested properly, rather than a quick run where I forgot to mark the box to use category filters (which is why it didn’t work).

    Tested with a single category included: working fine.
    Tested with multiple categories included: working fine.

    I assume you’re using it on posts of post_type “post” and not a custom setup?

    If you like (and trust me sufficiently), I can check your site myself and see if there’s something odd going on. You can use my site’s contact form to get in touch if you’d like to do that (so no one sees private details here!).

    Thread Starter Dani

    (@danicasati)

    Yes, I’m using “POST” type.
    I updating…

    Thread Starter Dani

    (@danicasati)

    I can’t see the update version on WP repository.

    Plugin Author TIEro

    (@tiero)

    I retested and there was nothing to update: 1.4.0.2 is working fine on the test data.

    I thought it had a bug but that was a typo on my part (I didn’t mark the “Include category filters” checkbox). Sorry for the confusion.

    Plugin Author TIEro

    (@tiero)

    Please let me know the results you get with your test on another category. Everything works properly with v.1.4.0.2 on my test sites.

    Thread Starter Dani

    (@danicasati)

    It seems it works.
    It would be perfect if plugin could send notifications to post author on expiration.

    Plugin Author TIEro

    (@tiero)

    Thanks for updating – that’s a relief! ??

    I like the notification idea. That might mean a LOT of emails, but it would a useful addition. I’ll look into it and see if I can do it for the next version.

    Thread Starter Dani

    (@danicasati)

    Thnak you for your work.
    I’ll continue beta-testing for help you to achieve best expiration plugin in repository.

    Plugin Author TIEro

    (@tiero)

    v1.1 is now up and available, with notifications. TIEtools is also updated with the functionality (which also works on the dupe detector in there).

    Let me know if you have any thoughts… or problems, though I hope not!

    Thread Starter Dani

    (@danicasati)

    I see it.
    I’ve updated inmediately, and I’ll test new feature in next hours.
    Thank you very much.

    I have these settings in my TIEtools:

    Post Expiry – ON
    Use category filters – Tabbed
    Post Status Options – Published
    Category Options – Exclude these categories: 30,41,762,823,876,878

    Still TIEtools removes some posts that locates in excluded categories. How is this possible?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Expiration based on category doesn't work’ is closed to new replies.