wearerequired / post-header-image
WordPress plugin for adding a custom header image to posts.
Installs: 1 038
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:wordpress-plugin
Requires
- php: >=8.2
This package is auto-updated.
Last update: 2024-12-01 00:07:00 UTC
README
- Contributors: wearerequired, hubersen, grapplerulrich
- Tags:
- Requires at least: 5.0
- Tested up to: 5.2
- Requires PHP: 7.0
- Stable tag: 1.0
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
WordPress plugin for adding a custom header image to posts. Only supports the block editor. There is no support for the classic editor.
By default, custom header images is only enabled for posts. To add support to other post types use the the 'add_post_type_support()` function. Example for pages:
add_post_type_support( 'page', 'post-header-image' );
Block Editor
- Install npm dependencies via
npm install
- Enable watch task with
npm run dev
- Build files with
npm run build
- Update language file with
npm run pot-to-php
. Make sure to runnpm run build
first.