Post Header Image
WordPress plugin for adding a custom header image to posts.
by required · github.com/wearerequired/post-header-image · website
★ 2stars
1.1kcomposer installs
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/wearerequired/post-header-image/archive/refs/heads/master.zipAlso on Packagist as wearerequired/post-header-image:
composer require wearerequired/post-header-imageFrom the readme
Post Header Image
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 'addposttypesupport() function. Example for pages:
addposttypesupport( '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 run npm run build first.