wearerequired/post-header-image

WordPress plugin for adding a custom header image to posts.

Installs: 1 012

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:wordpress-plugin

dev-master 2024-02-02 14:27 UTC

This package is auto-updated.

Last update: 2024-03-31 14:49:02 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 run npm run build first.