Block Data Attribute
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.
Next Milestone 400
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Rank Changes
Downloads Growth
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| attribute | 172 | — | Tag | 16 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- trunk
- Last Updated
- Nov 07, 2022
- Requires WP
- 5.5+
- Tested Up To
- 6.1
- PHP Version
- 7.4 or higher
- Author
- MyPreview
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 5
- Reviews
- 4
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Block Data Attribute
Create a new page, by visiting “Pages” » “Add New”.
Click on the “Add Block” button and select the “Button” block. Alternatively, you can start typing /button in a new paragraph block, then press enter.
Once you’ve inserted the block, you can use the block settings sidebar to add your custom data attribute.
Clicking on the ⚙ cog icon next to the publish button will toggle the visibility of this sidebar.
In the block sidebar, you can expand the Block Data Attribute section to add custom attributes as needed.
Publish the page.
core/column
core/columns
core/heading
core/group
core/paragraph
Generally, this would be possible due to a JavaScript hooks system with WordPress that includes block filters and several other types of filters available via JavaScript.
You can extend the predefined list of block names by hooking into the mypreview.blockDataAttributeAllowedBlocks filter provided by the plugin.
How do I get help with the plugin?
The easiest way to receive support is to “Create a new topic” by visiting Community Forums page here.
Make sure to check the “Notify me of follow-up replies via email” checkbox to receive notifications, as soon as a reply posted to your question or inquiry.
Please note that this is an opensource 100% volunteer project, and it’s not unusual to get reply days or even weeks later.
Can I help in translating this plugin into a new language?
The plugin is fully translation-ready and localized using the GNU framework, and translators are welcome to contribute to the plugin.
Here’s the the WordPress translation website →
How do I contribute to this plugin?
We welcome contributions in any form, and you can help reporting, testing, and detailing bugs.
Here’s the GitHub development repository →
Did you like the idea behind this plugin?
If you or your company use any of my projects or like what I’m doing, please consider making a donation so I can continue maintaining and evolving all my projects and new ones. I’m in this for the long run.
--AND/OR--
Please share your experience by leaving this plugin 5 shining stars if you like it, thanks!