Active installations300Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 4 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Block Data Attribute version 2.1.0 as active, updated 4mo ago and tested up to WordPress 7.0.
Overview
About this plugin
Block Data Attribute lets you attach custom data-* attributes to core WordPress blocks straight from the block settings sidebar. No theme edits, no custom code, no block validation errors.
data-* attributes are a standard HTML mechanism for storing extra information on elements. They are widely used for JavaScript interactions, CSS targeting, analytics tagging, accessibility enhancements, and third-party integrations. This plugin brings that capability into the block editor in a clean, structured way.
Key Features
Add any number of data-* attributes to supported blocks.
Name and value fields with input sanitisation built in.
Drag-and-drop reordering of attributes within the sidebar panel.
Attributes are saved directly in block markup — no post meta, no database overhead.
Fully extensible: register additional allowed block types via a JavaScript filter.
No build step required — ships as a single plain JavaScript file.
Translation-ready.
Supported Blocks
Out of the box the following core blocks support custom data attributes:
core/button
core/column
core/columns
core/group
core/heading
core/paragraph
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
block settings
block editor
custom attribute
data attribute
gutenberg
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 7.0
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity10 Jun 20264mo ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.