HTML Attributes Customizer for Blo… WordPress Plugin Skip to content
HTML Attributes Customizer for Blocks icon

WordPress plugin

HTML Attributes Customizer for Blocks

Add custom HTML attributes to any Gutenberg block: data-*, class, id, aria, fetchpriority. Dynamic {{variables}} on the front end.

By NEERAJ K
Version
1.0.4
Last updated
Sep 24, 2026
Tested up to
WordPress 7.1.5
Requires
WP 6.0 · PHP 7.4

Health check

Is HTML Attributes Customizer for Blocks safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on September 24, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where HTML Attributes Customizer for Blocks ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

Checked against the top 100 WordPress.org search results on .

Overview

What HTML Attributes Customizer for Blocks does

Try in Playground — opens WordPress Playground with this plugin installed and lands on the Add Post editor.

HTML Attributes Customizer for Blocks adds an HTML attributes panel in the block sidebar. Enter one attribute per line as name="value" (double quotes), or a boolean attribute as a single name (for example inert).

Attributes are stored on the block as JSON objects: htmlbacAttributes and htmlbacInnerAttributes (for example {"fetchpriority":"high","data-nolazy":"0"}). Boolean flags use true.

Merging: Duplicate names on multiple lines are combined. Values merge with spaces (semicolons for style). class merges with the block’s existing classes instead of replacing them.

Variables: Use tokens such as {{post.title}} or {{user.auth_status}} inside quoted values. They are replaced when the block renders on the front end.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

HTML Attributes Customizer for Blocks in action

Attributes tab — HTML attribute lines on a block (one per line: name="value" or boolean names).
Attributes tab — HTML attribute lines on a block (one per line: name="value" or…
Variables tab — Reference list of variables use inside quoted values.
Variables tab — Reference list of variables use inside quoted values.
Block editor — Image block selected with the HTML attributes panel open in the sidebar (Attributes and Variables tabs).
Block editor — Image block selected with the HTML attributes panel open in the…

FAQ

HTML Attributes Customizer for Blocks: questions and answers

What is HTML Attributes Customizer for Blocks?

HTML Attributes Customizer for Blocks is a WordPress plugin by NEERAJ K. Add custom HTML attributes to any Gutenberg block: data-*, class, id, aria, fetchpriority. Dynamic {{variables}} on the front end.

Is HTML Attributes Customizer for Blocks free?

HTML Attributes Customizer for Blocks is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is HTML Attributes Customizer for Blocks still maintained?

HTML Attributes Customizer for Blocks was last updated on September 24, 2026. The current version is 1.0.4. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does HTML Attributes Customizer for Blocks require?

HTML Attributes Customizer for Blocks requires WordPress 6.0 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize HTML Attributes Customizer for Blocks?

Yes. Codefreex installs, configures and customizes WordPress plugins including HTML Attributes Customizer for Blocks, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need HTML Attributes Customizer for Blocks set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us