Expiring Posts
Pick a date and a post moves to an "Expired" status automatically. Works in the block editor and the classic editor.
Solide Wahl
Expiring Posts is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 3.5/5 and was last updated 5 days ago, and scores 71/100 on our health check.
- Aktiv entwickelt – letztes Update vor 5 Tagen
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 136.4% vs the previous 30 days
- Kleine Benutzerbasis (100+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Expiring Posts stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| expire | #54 |
| expiry | #71 |
| post status | #97 |
| schedule | >100 |
| unpublish | #15 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 3.5 from 2 reviews
About Expiring Posts
Aus der offiziellen Readme · V2.0.0Beschreibung
Expiring Posts lets you set an expiry date on any post, page or custom post type. When the date arrives, the post moves to a new Expired status and is no longer visible to visitors. Nothing is deleted: expired posts stay in your admin under the Expired view, and you can publish them again at any time.
Use it for sales and promotions, job listings, event announcements, limited offers, or anything that should only be online for a while.
Merkmale
- Block editor: an Expires row in the post sidebar, next to Status and Date, with a date and time picker.
- Classic editor: an Expires field in the Publish box, just like the publish date.
- Expire now: expire a published post straight away, from either editor.
- Expired status: expired posts are hidden from visitors, search and feeds, but editors can still open and preview them.
- Easy to restore: publish an expired post again and it is back online. If its expiry date has passed, expiry is turned off so it doesn’t expire again straight away.
- Post list: see at a glance which posts are expiring, and when.
- Show the date on your site with the
[expiring_posts_date]shortcode or theexp_the_expiration_date()template tag. - Uses your site’s timezone everywhere.
- Works with custom post types.
- Developer friendly: filters, actions, a PHP API and a REST API field.
Wie es funktioniert
When you set an expiry date, the plugin schedules a single WP-Cron event for the next post that is due. When it runs, every post whose date has passed moves to the Expired status, and the event is scheduled for the next one.
Only published, scheduled and private posts expire. Drafts and pending posts are left alone.
Only users who can publish a post can change its expiry.
Developer notes
Development happens on GitHub: https://github.com/ivankruchkoff/expiring-posts
- The post status is
expired. - Expiry is stored in post meta:
exp_expiration_date(site timezone,Y-m-d H:i:s) andexp_pending_expiration(1when expiry is on). Both keys are protected, so they don’t show in the Custom Fields box. - The
expiring_postsREST API field (in theeditcontext) reads and writes{ "enabled": true, "date": "2026-12-01T23:59:00" }. Dates are in the site timezone; dates with a UTC offset are converted.
Functions
exp_expire_post( $post, $timestamp = false )sets a post to expire at a Unix timestamp. Without a timestamp the post expires immediately.exp_unschedule_expiring_post( $post )turns expiry off.exp_get_expiration_timestamp( $post = null )returns the expiry as a Unix timestamp, orfalse.exp_get_expiration_date( $post = null, $format = '' )returns the formatted expiry date.exp_the_expiration_date( $format = '', $before = '', $after = '' )prints it.
Shortcode
[expiring_posts_date format="F j, Y" none="Never expires"] shows the current post's expiry date. Both attributes are optional.
Filters
exp_disable_expiration_for_this_post( bool $disabled, int $post_id ): returntrueto hide the controls and stop a post from expiring.exp_supported_post_types( string[] $post_types ): post types that can expire.exp_expirable_post_statuses( string[] $statuses ): statuses that can move to Expired. Defaultpublish,private,future.exp_user_can_manage_expiration( bool $can, WP_Post $post ): who can change a post’s expiry.exp_expired_post_status_args( array $args ): arguments forregister_post_status(). For example, setpublictotrueto keep expired posts visible.exp_expire_batch_size( int $size ): posts expired per cron run. Default 100.exp_get_expiring_posts( array $posts ): the post ID => timestamp list used for scheduling.
Actions
exp_post_expired( int $post_id, string $old_status ): after a post expires.exp_expire_post( int $post_id, int $timestamp ): afterexp_expire_post()sets a date.unschedule_expiring_post( int $post_id ): after expiry is turned off.
Installation
- Install and activate the plugin from Plugins → Add New.
- Edit a post. In the block editor, click Expires in the sidebar. In the classic editor, click Edit next to Expires in the Publish box.
- Turn on expiry, pick a date and time, and save the post.
Änderungsprotokoll
Adds block editor support and fixes several security issues and a PHP 8 fatal error. Requires WordPress 6.6 and PHP 7.4. Existing expiry dates are kept.
2.0.0
- New: block editor support. Set or change the expiry date from the post sidebar, and expire a post straight away with Expire now.
- New: the
expiring_postsREST API field. - New:
[expiring_posts_date]shortcode andexp_get_expiration_date(),exp_the_expiration_date()andexp_get_expiration_timestamp()template functions for showing the expiry date. - New:
exp_supported_post_types,exp_expirable_post_statuses,exp_user_can_manage_expiration,exp_expire_batch_sizeandexp_get_expiring_postsfilters, and theexp_post_expiredaction. - New: editors can preview expired posts.
- New: the plugin is translatable (text domain
expiring-posts) and ships translations for 32 languages: Arabic, Bulgarian, Chinese (Simplified and Traditional), Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Persian, Polish, Portuguese (Brazil), Romanian, Russian, Serbian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian and Vietnamese. Language packs from translate.wordpress.org take priority when installed. - Security: expiry dates are escaped in the post list. Previously a crafted value in the expiry field could run a script in the browser of anyone viewing the list.
- Security: the expiry meta fields are protected and validated, so they can no longer be edited through the Custom Fields box or XML-RPC.
- Security: only users who can publish a post can change its expiry. Previously anyone who could edit it could.
- Security: the classic editor only saves expiry for the post being edited, not for other posts saved in the same request.
- Security: the date fields are validated as numbers before use.
- Security: plugin files can’t be loaded directly.
- Fix: a fatal error on PHP 8 (a warning on PHP 7) when post states were requested without a current post, which caused the “critical error” reported on the support forum. Props Luke Gedeon (#7, #8).
- Fix: expiry times were stored or shown in UTC instead of the site timezone in several places, so posts could expire hours early or late.
- Fix: re-publishing an expired post with a later expiry date now keeps it scheduled. Props Rinat Khaziev (#1).
- Fix: the classic editor no longer shows a blank status on new posts. Props Philip John (#3).
- Fix: switching a privately published post back to Public in the classic editor no longer leaves the status blank and saves it as private again (#2).
- Changed: the classic editor expiry field now matches the publish date field: “at” instead of “@”, “Never” capitalised, and the same input sizes, spacing and mobile layout (#9).
- Fix: drafts and pending posts are no longer expired.
- Fix: an invalid nonce no longer stops the whole post save with an error page; the expiry change is just skipped.
- Fix: the scheduled event is cleaned up when the last expiring post is deleted, and when the plugin is deactivated.
- Fix: many posts due at once are expired in batches instead of all in one request.
- Changed: requires WordPress 6.6 and PHP 7.4. Tested up to WordPress 7.2 and PHP 8.6.
1.3
- Add the
exp_disable_expiration_for_this_postfilter and readme for WordPress.org.
Screenshots
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Expiring Posts alternatives
All expire plugins →Fragen und Antworten
Expiring Posts: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Expiring Posts free?
Yes. Expiring Posts is free to download and use from the official WordPress.org plugin directory.
Is Expiring Posts safe to use in 2026?
Expiring Posts is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 3.5/5 and was last updated 5 days ago, and scores 71/100 on our health check.
How many websites use Expiring Posts?
Expiring Posts is active on 100+ WordPress websites and has been downloaded 6,910 times since it launched in March 2019. It was downloaded 539 times in the last 30 days.
Does Expiring Posts work with WordPress 7.1?
Yes. The developer has tested Expiring Posts up to WordPress 7.2, the latest release. It requires WordPress 6.6 or newer.
What PHP version does Expiring Posts need?
Expiring Posts requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Expiring Posts last updated?
The latest version, 2.0.0, was released on November 26, 2026 (5 days ago).
Who makes Expiring Posts?
Expiring Posts is developed and maintained by Ivan.
What are the best alternatives to Expiring Posts?
The most popular alternatives to Expiring Posts are Schedule Post Changes With… (100K+ installs), Show/Hide Content at Set Ti… (10K+ installs) and WP Post Expires (1K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
