An open API service indexing awesome lists of open source software.

https://github.com/westonruter/featured-image-block-with-caption

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
https://github.com/westonruter/featured-image-block-with-caption

wordpress wordpress-plugin

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Featured Image Block with Caption #

Contributors: [westonruter](https://profile.wordpress.org/westonruter)
Tested up to: 6.9
Stable tag: 0.1.0
License: [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html) 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](https://github.com/WordPress/gutenberg/issues/40946).

See writeup: [Adding Caption & Lightbox to the Featured Image Block](https://weston.ruter.net/2025/05/17/adding-caption-and-lightbox-to-the-featured-image-block/).

## Installation ##

1. Download the plugin [ZIP from GitHub](https://github.com/westonruter/featured-image-block-with-caption/archive/refs/heads/main.zip) 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](https://git-updater.com/).

## Changelog ##

### 0.1.0 ###

* Initial release.