https://github.com/wearerequired/post-header-image
WordPress plugin for adding a custom header image to posts. Only supports the block editor.
https://github.com/wearerequired/post-header-image
wordpress wordpress-plugin
Last synced: about 1 year ago
JSON representation
WordPress plugin for adding a custom header image to posts. Only supports the block editor.
- Host: GitHub
- URL: https://github.com/wearerequired/post-header-image
- Owner: wearerequired
- Created: 2019-08-07T08:03:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T14:27:10.000Z (over 2 years ago)
- Last Synced: 2025-04-09T17:20:35.920Z (about 1 year ago)
- Topics: wordpress, wordpress-plugin
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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 '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 run `npm run build` first.