WP Manifestindependent plugin directory
manifest / content / featured-image-guard-plugin

Minhaz Featured Image Enforcer

WordPress plugin to enforce featured image requirements by post type.

by Minhaz Uddin · github.com/minhazuddin25/featured-image-guard-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/minhazuddin25/featured-image-guard-plugin/archive/refs/heads/main.zip

Require featured images on selected post types before content can be published or updated.

Description

Minhaz Featured Image Enforcer provides a simple, configurable way to require featured images only for the post types selected by the site administrator.

Posts are guarded by default. Pages and custom post types are not guarded unless explicitly enabled in the plugin settings.

The plugin supports both the WordPress block editor and the classic editor, with server-side enforcement for REST API publishing.

Features

  • Require featured images on selected post types.
  • Posts are guarded by default.
  • Pages and custom post types can remain unguarded.
  • Settings are authoritative: unchecked post types are not retained as guarded.
  • Supports the block editor and classic editor.
  • Prevents publishing without a featured image.
  • Drafts and pending content are not blocked.
  • REST API enforcement.
  • GPL-2.0-or-later licensed.

Installation

  1. Upload the minhaz-featured-image-enforcer folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings → Minhaz Featured Image Enforcer.
  4. Select the post types that should require featured images.
  5. Save the settings.

Usage

By default, Posts require a featured image before they can be published.

To change the behavior:

  1. Open Settings → Minhaz Featured Image Enforcer.
  2. Check the post types that should be enforced.
  3. Uncheck post types that should not be enforced.
  4. Save Changes.

Only the currently selected post types are enforced.

Frequently Asked Questions

Are Pages required to have featured images?

Not by default. Pages are unguarded unless Pages are explicitly enabled in the settings.

Are custom post types supported?

Yes. Public post types that support featured images can be selected when available.

Are drafts blocked?

No. Drafts and pending content are not blocked.

Does the plugin work with the block editor?

Yes. Publishing is enforced server-side through the WordPress REST API.

Does the plugin work with the classic editor?

Yes.

Changelog

1.0.1

  • Fixed post-type scoping so unchecked post types are no longer retained as guarded.
  • Pages and custom post types are no longer guarded when unchecked.
  • Preserved Posts as the default guarded post type.

License

Minhaz Featured Image Enforcer is distributed under the terms of the GNU General Public License v2 or later.

Copyright (C) 2024-2026 Minhaz Uddin

Releases

1 release.

Tag
Published
v1.0.1 latest
Aug 29, 2026 12d ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.