Attributes for Blocks
by ska-dev 5 (21 reviews)

Attributes for Blocks

Allows to add HTML attributes to Gutenberg blocks.

Tested up to WP 6.9.4 (Current: 7.0)
v1.0.13 Current Version v1.0.13
Updated 6 months ago Last Update on 01 Dec, 2025
Refreshed 3 weeks ago Last Refreshed on
Rank
#3,479
No change
Active Installs
4K+
-13.6%
KW Avg Position
91.8
No change
Downloads
42.3K
+32 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (21 reviews)

Next Milestone 5K

Total Progress 62.7%
4K+ 5K+
157
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

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
Upgrade to Pro
Need 373 more installs to reach 5K+

Rank Changes

3,305 3,392 3,479 3,566 3,653 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
3,305 3,392 3,479 3,566 3,653 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
3,474 3,479 3,484 3,489 3,494 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
3,462 3,498 3,535 3,571 3,607 12-03-2026 13-03-2026 14-03-2026 15-03-2026 16-03-2026 17-03-2026 18-03-2026 19-03-2026 20-03-2026 21-03-2026 22-03-2026 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026 08-04-2026 09-04-2026 10-04-2026 11-04-2026 12-04-2026 13-04-2026 14-04-2026 15-04-2026 16-04-2026 17-04-2026 18-04-2026 19-04-2026 20-04-2026 21-04-2026 22-04-2026 23-04-2026 24-04-2026 25-04-2026 26-04-2026 27-04-2026 28-04-2026 29-04-2026 30-04-2026 01-05-2026 02-05-2026 03-05-2026 04-05-2026 05-05-2026 06-05-2026 07-05-2026 08-05-2026 09-05-2026 10-05-2026 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
Current #3,479
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 100 200 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
0 50 100 150 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
0 500 1K 1.5K 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026
0 500 1K 1.5K 12-03-2026 15-03-2026 18-03-2026 21-03-2026 24-03-2026 27-03-2026 30-03-2026 02-04-2026 05-04-2026 08-04-2026 11-04-2026 14-04-2026 17-04-2026 20-04-2026 23-04-2026 26-04-2026 29-04-2026 02-05-2026 05-05-2026 08-05-2026 11-05-2026 14-05-2026 17-05-2026 20-05-2026 23-05-2026 26-05-2026 29-05-2026 01-06-2026 04-06-2026 07-06-2026 10-06-2026
0 500 1K 1.5K 10-06-2025 22-06-2025 04-07-2025 16-07-2025 28-07-2025 09-08-2025 21-08-2025 02-09-2025 14-09-2025 26-09-2025 08-10-2025 20-10-2025 01-11-2025 13-11-2025 25-11-2025 07-12-2025 19-12-2025 31-12-2025 12-01-2026 24-01-2026 05-02-2026 17-02-2026 01-03-2026 13-03-2026 25-03-2026 06-04-2026 18-04-2026 30-04-2026 12-05-2026 24-05-2026 05-06-2026 10-06-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
21 reviews
Overall 100%
5
21 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Tracked Keywords

Showing 4 of 4
Keyword Position Change Type Updated
ARIA 17 Tag 3 weeks ago
attributes 23 Tag 3 weeks ago
blocks 157 Tag 3 weeks ago
style 170 Tag 3 weeks 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
Upgrade to Pro

Track This Plugin

Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.

Start Tracking Free

Plugin Details

Version
1.0.13
Last Updated
Dec 01, 2025
Requires WP
6.2+
Tested Up To
6.9.4
PHP Version
7.4 or higher
Author
ska-dev

Support & Rating

Rating
★ ★ ★ ★ ★ 5
Reviews
21
Support Threads
0
Resolved
0%

Keywords

Upgrade to Pro

Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.

Upgrade Now

Frequently Asked Questions

Common questions about Attributes for Blocks

In your selected block's inspector controls (Block settings) scroll all the way to the bottom and click on "Advanced". It should contain a section called "Additional attributes". Type an attribute name into the "Add attribute" field and press "Add" to add an attribute for the block. A new input with the attribute's name should appear below, into which you can optionally insert the attribute value. Example attributes: style, title, target, class, id, onclick, data-*, aria-*.
For regular blocks, attributes are added to the block save content's root element, meaning they will be rendered only on the front end and not in the editor. For dynamic blocks the attributes are added via render_callback function and they may also be applied in the editor, depending if the block is rendered server or client side.
It should work with normal blocks that render a valid WP Element that can utilize the blocks.getSaveContent.extraProps filter as well as dynamic blocks that utilize a render_callback. Third party blocks that do something unorthodox may not work. Known unsupported blocks Usage with Alpine.js @ prefix in an attribute name is used for "override" mode in this plugin, for Alpine.js attributes use x-on:click instead of @click or use the shorthand syntax with two @ characters instead of one: @@click. Disable block support The afb_unsupported_blocks filter can be used in your child theme's functions.php file to disable block support for adding additional attributes. add_filter('afb_unsupported_blocks', function($blocks) { $blocks[] = 'core/button'; return $blocks; });
Blocks with custom attributes may become invalid, depending on which attributes you've added. From there you can recover the block without the custom attributes by clicking "Attempt Block Recovery" or keep the block with custom attributes as HTML by choosing "Convert to HTML". If you don't want to risk blocks becoming invalid you need to remove all custom attributes before disabling the plugin.
You can modify which roles have the unfiltered_html capability using custom code in your theme's functions.php file or via a custom plugin. Only grant this capability if you trust the current and future users of that role to not do anything malicious. add_action('init', function() { if($role = get_role('contributor')) { $role->add_cap('unfiltered_html'); } });

Sign In / Register

You need to sign in or register to use this feature.