Mai Media Credit
Adds a media credit field to the Image block to store the attribution text as attachment metadata.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/maithemewp/mai-media-credit/archive/refs/heads/develop.zipFrom the readme
Mai Media Credit
A WordPress plugin that adds a media credit field to the Image block to store attribution text as attachment metadata.
Description
Mai Media Credit enhances the WordPress Image block by adding a dedicated "Media Credit" field in the block settings sidebar. This allows content creators to easily add proper attribution to images directly within the block editor, with the credit information being stored as attachment metadata for consistent display across your site.
Features
- Block Editor Integration: Adds a "Media Credit" field to the Image block settings sidebar
- Attachment Metadata Storage: Stores media credits as attachment metadata (mediacredit)
- Automatic Display: Automatically displays media credits on the frontend for:
- Image blocks in the block editor
- Classic editor images (converted to blocks)
- Genesis framework entry images (single posts)
- Real-time Saving: Credits are saved automatically with debounced AJAX requests
- Admin Interface: Media credit field available in the WordPress Media Library attachment edit screen
Requirements
- WordPress 6.7 or higher
- PHP 8.2 or higher
- Block editor (Gutenberg)
Installation
Manual Installation