This plugin designed with extensibility in mind for data that should be associated with a particular block type but need not have any defined meaning.
As of April 2026, Block Data Attribute is a WordPress blocks plugin with 300 active installations and a 5/5 rating from 4 reviews. It has been downloaded 6.0K+ times in total. Requires WordPress 5.5+ and PHP 7.4+. Available on WordPress.org since 2020. Last updated 3 years ago — may have compatibility concerns. Top alternative: Spectra Gutenberg Blocks – Website….
This plugin designed with extensibility in mind for data that should be associated with a particular block type but need not have any defined meaning. data-* attributes will allow you to store extra information on different Gutenberg blocks, without other hacks such as non-standard attributes, appending properties on DOM, or modifying a block as HTML which will throw a block validation error when opening the post edit page once again.
| WordPress | 5.5+ requiredTested up to 6.1.10 |
| PHP | 7.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.