Post Expirator


The Post Expirator plugin allows the user to set expiration dates for both posts and pages. There are a number of different ways that the posts can expire:

  • Skica
  • Obrisati
  • Smeće
  • Privatno
  • Zalijepiti
  • Odlijepiti
  • Kategorija: Zamjeni
  • Kategorija: Dodaj
  • Kategorija: Obriši

For each expiration event, a custom cron job will be schedule which will help reduce server overhead for busy sites.

The expiration date can be displayed within the actual post by using the [postexpirator] tag. The format attribute will override the plugin
default display format. See the PHP Date Function for valid date/time format options.

NOTE: This plugin REQUIRES that WP-CRON is setup and functional on your webhost. Some hosts do not support this, so please check and confirm if you run into issues using the plugin.

Plugin homepage WordPress Post Expirator.

New! Feature Requests Please enter all feature requests here. Requests entered via the plugin website or support forum may be missed.

[postexpirator] atributi kratkog koda

  • type – defaults to full – valid options are full,date,time
  • dateformat – format ovdje poništit će vrijednost postavljenu na stranici s postavkama
  • timeformat – format ovdje poništit će vrijednost postavljenu na stranici s postavkama

Ovaj plugin je potpuno kompatibilan sa WordPress Multisite načinom


  • Dodavanje datum isteka objavi
  • Pregled datuma isteka na zaslonu pregleda objava
  • Postavke zaslona


Ovaj odlomak opisuje kako instalirati dodatak i i kako ga natjerati da radi.

  1. Raspakirajte sadržaj dodataka na /wp-content/plugins/post-expirator/ directory
  2. Aktiviraj plugin kroz “Plugin” meni u WordPress-u


23. siječnja 2020.
For some reason this plugin randomly decides not to expire some posts. I have no idea why but it just won't do it. It's very frustrating because I have to manually check constantly to make sure nothing got stuck. I guess I'm just going to give up on it since it hasn't been updated in ages and assume it's dead. I guess you get what you pay for.
05. studenoga 2019.
I am thrilled to have found this plugin. I was searching everywhere for a product expiry plugin for the Woocommerce webshop, and couldn't find anything simple that would work... until now. Thanks so much for this excellent and simple solution! Cheers, Marjoline
Pročitajte svih 86 recenzija

Suradnici i Programeri

“Post Expirator” is open source software. The following people have contributed to this plugin.


“Post Expirator” has been translated into 6 locales. Thank you to the translators for their contributions.

Prevedite “Post Expirator” na svoj jezik.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Version 2.4.0

  • Fix: Fixed PHP Error with PHP 7.

Verzija 2.3.1

  • Popravak: popravite pogrešku u PHP-u koja se pojavila na nekim instalacijama.

Verzija 2.3.0

  • Novo: obavijest e-poštom po isteku objave. Globalna e-pošta može se postaviti, administratori bloga mogu biti odabrani i / ili se mogu obavijestiti određeni korisnici na temelju vrste objave.
  • Novo: opcija isteka dodana – zalijepi/odlijepi objavu sada je dostupno
  • Novo: opcija isteka dodana – smeće objava sada je dostupno
  • New: Added custom actions that can be hooked into when expiration events are scheduled / unscheduled.
  • Fix: Minor HTML Code Issues

Verzija 2.2.2

  • Fix: Quick Edit did not retain the expire type setting, and defaulted back to “Draft”. This has been resolved.

Verzija 2.2.1

  • Fix: Fixed issue with bulk edit not correctly updating the expiration date.

Verzija 2.2.0

  • New: Quick Edit – setting expiration date and toggling post expiration status can now be done via quick edit.
  • Novo: Skupno uređivanje – mijenjanje datuma isteka na postovima koji su već konfigurirani sada se može obaviti putem skupnog uređivanja.
  • Novo: dodano je mogućnost narudžbe prema datumu isteka u nadzornoj ploči.
  • Novo: prilagođeno oblikovanje na stranici s zadanim postavkama. Više vrsta postova sada se prikazuje čišće.
  • Fix: Minor Code Cleanup

Verzija 2.1.4

  • Fix: PHP Strict errors with 5.4+
  • Fix: Removed temporary timezone conversion – now using core functions again

Verzija 2.1.3

  • Fix: Default category selection now saves correctly on default settings screen

Verzija 2.1.2

  • Security: Added form nonce for protect agaisnt possible CSRF
  • Security: Fixed XSS issue on settings pages
  • New: Added check to show if WP_CRON is enabled on diagnostics page
  • Fix: Minor Code Cleanup

Verzija 2.1.1

  • New: Added the option to disable post expirator for certain post types if desired
  • Fix: Fixed php warning issue cause when post type defaults are not set

Verzija 2.1.0

  • New: Added support for heirarchical custom taxonomy
  • New: Enhanced custom post type support
  • Fix: Updated debug function to be friendly for scripted calls
  • Fix: Change to only show public custom post types on defaults screen
  • Fix: Removed category expiration options for ‘pages’, which is currently unsupported
  • Fix: Some date calls were getting “double” converted for the timezone pending how other plugins handled date – this issue should now be resolved

Verzija 2.0.1

  • Removes old scheduled hook – this was not done completely in the 2.0.0 upgrade
  • Old option cleanup

Verzija 2.0.0

Ovo je glavno ažuriranje ključnih funkcija ovog plugin-a. Svi trenutni plugin-ovi i postavke treba nadograditi na nove formate i raditi prema očekivanjima. Sve objave koje su trenutno određene da će isteći biti će automatski ažurirane na novi format.

  • New: Improved debug calls and logging
  • New: Added the ability to expire to a “private” post
  • New: Added the ability to expire by adding or removing categories. The old way of doing things is now known as replacing categories
  • New: Revamped the expiration process – the plugin no longer runs on an minute, hourly, or other schedule. Each expiration event schedules a unique event to run, conserving system resources and making things more efficient
  • New: The type of expiration event can be selected for each post, directly from the post editing screen
  • New: Ability to set defaults for each post type (including custom posts)
  • New: Renamed expiration-date meta value to _expiration-date
  • New: Revamped timezone handling to be more correct with WordPress standards and fix conflicts with other plugins
  • New: ‘Expires’ column on post display table now uses the default date/time formats set for the blog
  • Fix: Removed kses filter calls when then schedule task runs that was causing code entered as unfiltered_html to be removed
  • Fix: Updated some calls of date to now use date_i18n
  • Fix: Most (if not all) php error/warnings should be addressed
  • Fix: Updated wpdb calls in the debug class to use wpdb_prepare correctly
  • Fix: Changed menu capability option from “edit_plugin” to “manage_options”

Verzija 1.6.2

  • Added the ability to configure the post expirator to be enabled by default for all new posts
  • Changed some instances of mktime to time
  • Fixed missing global call for MS installs

Verzija 1.6.1

  • Tweaked error messages, removed clicks for reset cron event
  • Switched cron schedule functions to use “current_time(‘timestamp’)”
  • Cleaned up default values code
  • Added option to allow user to select any cron schedule (minute, hourly, twicedaily, daily) – including other defined schedules
  • Added option to set default expiration duration – options are none, custom, or publish time
  • Code cleanup – php notice

Verzija 1.6

  • Popravljen nevažeći html
  • Popravljen i18n problem sa datumima
  • Fixed problem when using “Network Activate” – reworked plugin activation process
  • Replaced “Upgrade” tab with new “Diagnostics” tab
  • Reworked expire logic to limit the number of sql queries needed
  • Added debugging
  • Various code cleanup

Verzija 1.5.4

  • Cleaned up deprecated function calls

Verzija 1.5.3

  • Fixed bug with sql expiration query (props to Robert & John)

Verzija 1.5.2

  • Fixed bug with shortcode that was displaying the expiration date in the incorrect timezone
  • Fixed typo on settings page with incorrect shortcode name

Verzija 1.5.1

  • Fixed bug that was not allow custom post types to work

Verzija 1.5

  • Expirator box pomaknut u siderbar i počišćen je meta kod
  • Dodana mogućnost isteka objava u kategoriji

Verzija 1.4.3

  • Popravljen problem sa 3.0 multisite otkrivanjem

Verzija 1.4.2

  • Dodan post expirator POT u /jezik spremnik
  • Popravljen problem sa plugin admin navigacijom
  • Popravljen problem vremenskih zona na zaslonu plugin opcija

Verzija 1.4.1

  • Dodana je podrška za vrste prilagođenih objava (Thanks Thierry)
  • Dodana je i18n podrška (Thanks Thierry)
  • Popravljen problem gdje se datum nije prikazivao u točnoj vremenskoj zoni u podnožju
  • Popravljen problem gdje se na nekim sustavima istek nije dogodio kada je određen

Verzija 1.4

NOTE: After upgrading, you may need to reset the cron schedules. Following onscreen notice if prompted. Previously scheduled posts will not be updated, they will be deleted referncing the old timezone setting. If you wish to update them, you will need to manually update the expiration time.

  • Popravljen problem s kompatibilnošću s WordPress-om – plugin je izvorno kodiran za WPMU – sada bi trebao raditi na oba
  • Dodana je sposobnost zakazivanja isteka roka po minuti
  • Popravljena vremenska zona – sada se koristi ista vremenska zona kao ona konfigurirana od strane bloga

Verzija 1.3.1

  • Popravljen sporadičan problem gdje se istekle objave ne brišu

Verzija 1.3

  • Datum isteka je sada zadržan preko svih izmjena statusa objava
  • Izmjenjen format opcija datuma/vremena za kratki kod postexpirator oznaku
  • Dodana mogućnost za automatsko dodavanje teksta u podnožje objave ako je datum isteka postavljen

Verzija 1.2.1

  • Popravljen problem sa prikazom formata datuma koji se ne prepoznaje nakon nadogradnje

Verzija 1.2

  • Izmjenjen naziv iz “Datum isteka” u “Post Expirator” i opcije konfiguracije su premještene u karticu “Opcije”
  • Added shortcode tag [postexpirator] to display the post expiration date within the post
    ** Added new setting for the default format
  • Popravljen problem gdje se datum isteka briše kada se objava automatski spremi

Verzija 1.1

  • Objave koje su istekle zadržavaju datum isteka

Verzija 1.0

  • Prvo izdanje