| 开发者 |
teydeastudio
bartoszgadomski |
|---|---|
| 更新时间 | 2026年5月6日 20:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
stalepilot directory to /wp-content/plugins/, or install it directly through the WordPress plugin screen.By default, StalePilot is enabled for posts and pages. You can enable it for any public custom post type in the plugin settings under Settings > StalePilot.
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. 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 20 and run npm install && npm run build in the plugin directory.