| 开发者 |
fernandot
ayudawp |
|---|---|
| 更新时间 | 2026年6月17日 02:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[scheduled-posts-showcase]
With parameters:
[scheduled-posts-showcase count="3" show_date="1" show_excerpt="1" container_style="card"]
Widget:
Add the "Scheduled Posts Showcase" widget to any widget area from Appearance → Widgets.
Gutenberg Block:
Search for "Scheduled Posts" in the block inserter and add the block to any post or page.
REST API:
GET /wp-json/scheduled-posts-showcase/v1/scheduled-posts
Parameters: per_page, fields, post_type, order
Why This Plugin?
Existing plugins for displaying scheduled posts either:
/wp-content/plugins/scheduled-posts-showcase/ or install directly from the WordPress plugin repository.By design, this plugin never creates links to scheduled posts. Linking to unpublished content causes 404 errors for visitors, which is bad for user experience and SEO. Instead, the plugin shows post information to build anticipation without broken links.
Yes! Select any public post type from the settings page or specify it in the shortcode with post_type="your_post_type".
Use the settings page to configure global defaults for appearance. You can also override settings on individual instances (widget, block, shortcode). For advanced customization, use the CSS classes documented below.
The REST API respects the same visibility settings as the other display methods. If you restrict visibility to logged-in users or editors, the API will also require authentication.
Yes! The plugin provides extensive hooks for developers. See the Developer Hooks section below for all available filters and actions with usage examples.
custom_class shortcode attribute. Per-instance classes are appended to the global ones, never replace them.spscase_heading_tags and spscase_image_sizes filters to extend those lists from code.?page=scheduled-posts-showcase still work.wp-server-side-render as an explicit dependency via a companion .asset.php file, which the widgets editor was not pulling in transitively (resulting in a React #130 error).
For older changelog entries, please check the changelog.txt file