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
- Host: GitHub
- URL: https://github.com/westonruter/featured-image-block-with-caption
- Owner: westonruter
- Created: 2025-05-16T05:53:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-30T02:22:55.000Z (7 months ago)
- Last Synced: 2026-05-03T09:33:35.192Z (about 2 months ago)
- Topics: wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 447 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.