Skip to content

WordPress plugin that adds the ability to show a caption in the Featured Image block via the same "Add caption" block toolbar button available on the Image block. Image captions must be edited in the Media Library. This is a prototype to implement https://github.com/WordPress/gutenberg/issues/40946

Notifications You must be signed in to change notification settings

westonruter/featured-image-block-with-caption

Repository files navigation

Featured Image Block with Caption

Contributors: westonruter
Tested up to: 6.8
Stable tag: 0.1.0
License: GPLv2 or later
Tags: block theme, featured image, site editor, caption

Description

This plugin adds the ability to show a caption in the Featured Image block via the same "Add caption" block toolbar button available on the Image block. Image captions must be edited in the Media Library.

This is a prototype to implement gutenberg#40946.

See writeup: Adding Caption & Lightbox to the Featured Image Block.

Installation

  1. Download the plugin ZIP from GitHub or if you have a local clone of the repo run npm run plugin-zip.
  2. Visit Plugins > Add New Plugin in the WordPress Admin.
  3. Click Upload Plugin.
  4. Select the featured-image-block-with-caption.zip file on your system from step 1 and click Install Now.
  5. Click the Activate Plugin button.

You may also install and update via Git Updater.

Changelog

0.1.0

  • Initial release.

About

WordPress plugin that adds the ability to show a caption in the Featured Image block via the same "Add caption" block toolbar button available on the Image block. Image captions must be edited in the Media Library. This is a prototype to implement https://github.com/WordPress/gutenberg/issues/40946

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •