Linux 软件免费装

StalePilot - Content Expiry & Scheduled Post Actions

开发者 teydeastudio
bartoszgadomski
更新时间 2026年5月6日 20:23
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

content management scheduled content post expiry content expiry expiration date

下载

1.0.2

详情介绍:

StalePilot lets you set an expiry date on any post type and automatically take action when that date arrives. Whether you manage time-sensitive promotions, seasonal content, legal notices with review deadlines, or news articles that lose relevance, StalePilot gives you the tools to handle content lifecycle directly within WordPress. Key benefits: StalePilot works with posts, pages, and custom post types. It integrates with both the Block Editor (Gutenberg) and the Classic Editor.

安装:

  1. Upload the stalepilot directory to /wp-content/plugins/, or install it directly through the WordPress plugin screen.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Go to Settings > StalePilot to choose which post types support expiry and configure default actions and notifications.
  4. Edit any post or page and use the "StalePilot" panel in the sidebar to set an expiry date and action.

常见问题:

Which post types are supported?

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.

What happens when a post expires?

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.

Can I display a countdown timer on the front end?

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.

What happens if I restore a trashed post that had an expiry date?

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.

Where can I find the unminified source code?

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.

更新日志:

1.0.2 (2026-04-27) 1.0.1 (2026-04-24) 1.0.0 (2026-04-07)