| 开发者 |
teydeastudio
bartoszgadomski |
|---|---|
| 更新时间 | 2026年10月30日 18:33 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
stalepilot directory to /wp-content/plugins/, or install it directly through the WordPress plugin screen.By default, Teydea Content Expiry is enabled for posts and pages. You can enable it for any public custom post type in the plugin settings under Settings > Content Expiry.
The plugin performs the action you selected for that post: it moves the post to draft, makes it private, or moves it to trash. You can set a default action in the settings and override it per post.
Yes. In the classic posts or pages list, hover over an expired post and choose Restore previous status. For posts expired into Trash, open the Trash view first. The action appears when a valid previous status was recorded and you have permission to restore it. Making a post private removes its password, so a post that expired into Private is not restored to Published or Scheduled if it may have had a password. The Expiry column says so; publish the post manually and set its password again. A successful restore clears the expiry record, date, action, and pending expiry schedule. Set a new expiry if you want the content to expire again. The action is available in the classic list tables; it is not available in the block-editor sidebar or Site Editor DataViews.
Yes. The plugin includes an Expiry Countdown block (and a [stalepilot_countdown] shortcode) that displays either a live countdown timer or a static formatted date. You can customize colors, threshold warnings, and the expired message.
If the expiry date is still in the future, the plugin automatically reschedules the expiry. If the expiry date has already passed, the stale expiry metadata is cleaned up.
All source ships with the plugin: the plugin's own JavaScript is in src/, and the bundled @teydeastudio/components and @teydeastudio/utils libraries are in deps/js/components/src/ and deps/js/utils/src/. To rebuild, install Node.js 24 and run npm install && npm run build in the plugin directory.