Attributes for Blocks icon
Page Builders & Blocks

Attributes for Blocks

Allows to add HTML attributes to Gutenberg blocks.

  • By ska-dev
  • v1.0.15
  • Updated
Developer ska-dev
93 Excellentmaintenance
  • 8 yearson WordPress.org
  • 5plugins
  • 16,100+installs in total
  • 4.8★avg. rating (60)
  • 100%of plugins updated this year
9/14 badges Profile →

Is Attributes for Blocks safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 3 months ago (version 1.0.15).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.4+.
  • Pass: Well rated Rated 5.0/5 by 21 users on WordPress.org.
  • Pass: Widely used Active on 4,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 23, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Attributes for Blocks describes itself as: “Allows to add HTML attributes to Gutenberg blocks.”

It is active on 4,000+ WordPress sites and rated 5.0 out of 5 by 21 users on WordPress.org. Developers can extend it through 0 actions and 3 filters, listed below.

We haven't published a hands-on review of Attributes for Blocks yet. Want one, or need help with it? Send us a request.

How to install Attributes for Blocks

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Attributes for Blocks” and pick the one by ska-dev.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install attributes-for-blocks --activate

Requirements: WordPress 6.2+ · PHP 7.4+ · tested up to WordPress 7.1.5

Hooks & customisation

Attributes for Blocks 1.0.15 fires 0 actions and 3 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

attributes-for-blocks — top hooks
// Filter in attributes-for-blocks.php
apply_filters( 'afb_attribute_separator', $separator, $attribute );

// Filter in attributes-for-blocks.php
apply_filters( 'afb_get_attributes', $attributes, $args, $tags );

// Filter in attributes-for-blocks.php
apply_filters( 'afb_unsupported_blocks', … );

Browse all 3 hooks with examples →

Attributes for Blocks: frequently asked questions

Is Attributes for Blocks free?

Yes. Attributes for Blocks is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Attributes for Blocks safe to use?

Attributes for Blocks is actively maintained: the latest version was released 3 months ago. Users rate it 5.0 out of 5 from 21 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Attributes for Blocks work with WordPress 7.1?

Yes. Attributes for Blocks is tested up to WordPress 7.1, the current release. It requires WordPress 6.2 or later and PHP 7.4 or later.

How many websites use Attributes for Blocks?

Attributes for Blocks is active on 4,000+ WordPress sites, according to WordPress.org. It is currently at version 1.0.15, last updated on August 20, 2026.

What are the best alternatives to Attributes for Blocks?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Page Builders & Blocks plugins for related options.

Can I customise Attributes for Blocks without editing its code?

Yes. Attributes for Blocks 1.0.15 fires 0 actions and 3 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 3 hooks with examples.

Done for you

Need Attributes for Blocks to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Attributes for Blocks customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with ska-dev. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 23, 2026.

More plugins by ska-dev

All 5 →

Allows to add animations to block editor blocks on scroll.

10,000+ installs Updated 3 months ago 5 hooks

Allows to control Gutenberg autosave interval or disable autosave completely.

2,000+ installs Updated 3 months ago

Advanced UI for managing Tailwind classes on WordPress blocks, generate Tailwind HTML with AI, convert HTML to blocks.

70+ installs Updated 3 months ago 55 hooks

Adds a toolbar with quick actions to the Block Editor.

30+ installs Updated 2 months ago

Alternatives in Page Builders & Blocks

See all →

The Elementor Website Builder has it all: drag and drop page builder, Atomic Editor, pixel perfect design, global and reusable…

10+ million installs Updated 1 week ago 448 hooks
Reviewed

Enables the previous "classic" widgets settings screens in Appearance - Widgets and the Customizer. Disables the block editor from managing…

2+ million installs Updated 12 months ago
Reviewed

Elementor addons with 18+ free widgets, Header & Footer Builder, WooCommerce widgets & templates. Trusted by 2+ million websites.

2+ million installs Updated 6 days ago 91 hooks

Elementor addon: 120+ widgets & templates — Elementor Gallery, Mega Menu, Slider, Form, Post Grid, Accordion, Header Footer Builder &…

1+ million installs Updated 1 week ago 458 hooks