On This Page
Auto Set Featured Image
Overview
Auto Set Featured Image watches posts as they are saved and, when no featured image is set, looks for the first suitable image already embedded in the content (classic HTML or block markup). When it finds a local attachment, it assigns file as the post thumbnail. Archives, social cards, and theme grids that depend on thumbnails suddenly “just work” even when authors never open the Featured Image sidebar.
The module is designed to respect intentional choices: once a featured image exists, saves should not overwrite it unless your workflow or settings say otherwise. Advanced options may limit which post types participate, enforce minimum dimensions, or skip patterns that should never become cover art.

Features
First-Image Detection
Save-Time Hooks
Manual Featured Image Respected
Post Type and Size Rules
Media Library Alignment
How It Works
Enable the Module
Scope in Advanced Settings
Author Without a Sidebar Thumbnail
Save or Publish
Audit Legacy Imports

Installation & Activation
Install WP PowerSuite
Enable Auto Set Featured Image
Configure Before Bulk Edits
Communicate Workflow

Use Cases
- FeedOptimizationRSS syndication where readers expect thumbnails even when feed omit explicit featured IDs.
- ContentHandoffNewsletter CMS handoffs copying body images but not sidebar metadata.
- WriterOnboardingStudent newspapers onboarding writers who only use drag-and-drop blocks.
Frequently Asked Questions
Will it pull hotlinked images?
Often only local attachments qualify; hotlinks lack stable attachment records. Upload media to the library or use import tools that sideload.
What if my first image is a decorative divider?
Reorder blocks, use Advanced exclusions, or set featured manually once; some sites add a dedicated “hero” block above decorative art.
Does it run on bulk edit?
Behavior depends on save hooks fired by your bulk tool—verify after bulk updates.
Will it replace an existing featured image?
Typically no; confirm module copy for your version if you need overwrite behavior.
Can it pick from galleries or only the first block?
The parser follows content order; carousel-first layouts may need manual thumbnails if the visible hero is not first in markup.
Troubleshooting
- Thumbnail still empty after saveConfirm the image is uploaded (Media Library item), not a plain external URL; check post type scope; disable plugins that strip attachment IDs on save.
- Wrong image became featuredMove the true hero earlier in content or set featured manually; review pattern blocks that output invisible spacer images first.
- Works for admins but not authorsCheck capabilities and any role-based meta restrictions from other plugins.
- REST or headless saves skip detectionEnsure API payloads include full content and fire standard save hooks if custom pipelines bypass wp_insert_post processing.
