Linux 软件免费装
Banner图

Senzastile Featured Image Fallbacks

开发者 senzastile
更新时间 2026年6月30日 19:42
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

custom post type featured image placeholder fallback image default thumbnail

下载

1.0.2 1.1.1

详情介绍:

Missing featured images make your blog and archive pages look broken. Senzastile Featured Image Fallbacks fixes that automatically: whenever a post, page, or custom post type is published without a featured image, the plugin instantly serves a beautiful fallback image or placeholder image from your Media Library — so your card grids, archives, and theme layouts always look complete and professional. No more empty boxes. No more inconsistent blog grids. No more editing old posts one by one. Best of all, it is 100% non-destructive: the plugin works on the frontend only and never touches your posts or your database. Deactivate it and everything reverts instantly. Why you'll love it Key features Whether you run a magazine, a blog, a WooCommerce store, or a portfolio built on custom post types, Senzastile Featured Image Fallbacks keeps your featured images consistent everywhere.

安装:

  1. Upload the plugin files to the /wp-content/plugins/senzastile-featured-image-fallbacks directory, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings → Image Fallbacks.
  4. Add one or more placeholder images from the Media Library.
  5. Choose a selection mode and the post types that should use fallbacks, then save.
That's it — your missing featured images are now handled automatically.

屏幕截图:

  • The settings page with the global placeholder image pool and drag-and-drop ordering.
  • Per-category placeholder pools for assigning dedicated images to specific categories.
  • The per-post opt-out checkbox in the block editor document sidebar.
  • A modern blog/archive grid with consistent fallback featured images applied.

升级注意事项:

1.1.1 Important fix: resolves a Fatal Error on activation introduced by the 1.1.0 package. Updating is strongly recommended. 1.1.0 Adds per-category placeholder pools, a block-editor checkbox to skip fallbacks on individual posts, and a clearer settings page. Existing settings keep working — no action required. 1.0.2 Prefix rename for WordPress.org review. Existing settings are migrated automatically; no action required. 1.0.1 Plugin rebranded to Senzastile Featured Image Fallbacks. No functional changes. 1.0.0 Initial release of Senzastile Featured Image Fallbacks.

常见问题:

Will this modify my posts?

No. The plugin filters featured image data on the frontend only. It never edits your posts, never sets a real featured image, and never changes your database. If you deactivate the plugin, every post returns to its original state immediately.

Does it work with custom post types?

Yes. The plugin supports standard posts, pages, and any public Custom Post Type (CPT) registered on your site. You choose exactly which post types use fallback images on the settings page.

Does it work with block themes (Full Site Editing)?

Yes. The plugin hooks into the standard WordPress featured image APIs (such as get_post_thumbnail_id(), has_post_thumbnail(), and the_post_thumbnail()), which are used by both classic themes and modern block themes. As long as your theme displays featured images through these standard functions, fallbacks appear automatically.

Does it work with WooCommerce?

Yes. WooCommerce products are a custom post type, so you can enable fallbacks for them on the settings page and a placeholder will be shown for any product without a product image on the frontend. Note that WooCommerce also ships its own built-in product placeholder; if you prefer this plugin's images for shop and archive grids, enable the product post type here. The plugin does not modify product data.

Can I disable fallbacks for individual posts?

Yes. Open any post in the block editor, find the Featured Image Fallbacks panel in the document sidebar, and check Do not use fallback images for this content. Developers can also use the senzfif_enabled filter, which takes precedence over the per-post checkbox.

Can I use different placeholders for different categories?

Yes. In Settings → Image Fallbacks, scroll to Category Pools and assign a dedicated set of images to any category. A post uses the pool of its first matching category; if no category pool matches, the global pool is used.

What's the difference between Stable Random and Pure Random?

Stable Random assigns the same fallback image to the same post every time, keeping your layouts consistent and working perfectly with page caching and CDNs (recommended). Pure Random picks a different image on each uncached page load for more variety. If you use a caching plugin or CDN, choose Stable Random — cached pages will otherwise "freeze" whichever random image was stored at cache time.

What happens if I uninstall the plugin?

Uninstalling cleanly removes everything the plugin created: its settings, the per-post opt-out data, and any legacy settings from previous versions. Your posts, pages, products, and real featured images are never touched. Simply deactivating (without deleting) keeps your settings for later.

Can I override the selected placeholder programmatically?

Yes. Developers can use the senzfif_placeholder_id filter to change the attachment ID returned for a given post.

更新日志:

1.1.1 1.1.0 1.0.2 1.0.1 1.0.0