Title: Steve&#039;s Attributes
Author: stevegibbs
Published: <strong>2026-يىلى 19-فېۋرال</strong>
Last modified: 2026-يىلى 19-فېۋرال

---

قىستۇرما ئىزدە

![](https://s.w.org/plugins/geopattern-icon/steves-attributes.svg)

# Steve's Attributes

 يازغۇچى [stevegibbs](https://profiles.wordpress.org/stevegibbs/)

[چۈشۈر](https://downloads.wordpress.org/plugin/steves-attributes.1.1.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/steves-attributes/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/steves-attributes/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/steves-attributes/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/steves-attributes/#developers)

 [قوللاش](https://wordpress.org/support/plugin/steves-attributes/)

## چۈشەندۈرۈش

WordPress’s Gutenberg editor makes it easy to add links to images, buttons, and 
text, but it doesn’t provide a straightforward way to add custom HTML attributes
to those links. This is where «Steve’s Attributes» comes in.

This plugin extends the core Image, Button, Paragraph, List Item, Heading, File,
and Navigation Link blocks to include a «Custom Attributes» field in their link 
settings. You can add any HTML attributes you need, such as data attributes for 
popups, custom classes, tracking attributes, or accessibility enhancements.

**Key Features:**
 * Adds a «Custom Attributes» textarea to the link settings of
supported blocks. * Parses attributes in `key="value"` format (one per line). * 
Merges `class` attributes properly to avoid duplicates. * Super lightweight – only
loads in the block editor, no frontend impact. * No database queries or heavy processing.***
Expanded Block Support**: Now supports Image, Button, Paragraph, List Item, Heading,
File, and Navigation Link blocks.

**Use Cases:**
 * Adding popup triggers (e.g., `data-popup-id="123"`) * Custom styling
classes (e.g., `class="my-custom-class"`) * Tracking attributes (e.g., `data-ga-
action="click"`) * Accessibility enhancements (e.g., `aria-label="Open details"`)

### Usage

### General Instructions

 1. Add one of the supported blocks to your post/page (Image, Button, Paragraph, List
    Item, Heading, File, Navigation Link).
 2. Ensure the block contains a link. For example:
 3.  * **Image Block**: Set a link URL in the block settings.
     * **Button Block**: Set the button text and link URL.
     * **Paragraph/Heading/List Item Blocks**: Select text and add a link using the
       inline link tool.
     * **File Block**: Upload a file, and ensure it’s linked.
     * **Navigation Link Block**: Add a navigation item with a URL.
 4. Select the block containing the link.
 5. In the block sidebar, locate the «Link Attributes» panel.
 6. In the «Custom Attributes» field, add your desired HTML attributes, one per line,
    in `key="value"` format. You can also add classes and IDs.

### Example

    ```
    `
    ```

data-popup-id=»my-popup»
 rel=»noopener» class=»my-custom-class» id=»unique-id» `

## ئورنىتىش

 1. Upload the `steves-attributes` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ›Plugins‹ menu in WordPress.

## FAQ

### Does this plugin add bloat to my site?

No. The plugin only loads JavaScript and CSS in the WordPress admin when editing
posts/pages. It has no impact on frontend performance.

### Can I deactivate the plugin after adding attributes?

Yes, the attributes are saved in the post content. However, they won’t be added 
to the HTML output until the plugin is reactivated, as the rendering filter is what
applies them.

### What blocks are supported?

Currently supports Image, Button, Paragraph, List Item, Heading, File, and Navigation
Link blocks when they contain links.

### Is this secure?

Yes, all input is sanitized and escaped properly using `esc_attr()` to prevent Cross-
Site Scripting (XSS) vulnerabilities.

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Steve's Attributes» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە
قوشقان.

تۆھپىكار

 *   [ stevegibbs ](https://profiles.wordpress.org/stevegibbs/)

[«Steve's Attributes» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/steves-attributes)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/steves-attributes/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/steves-attributes/) تەكشۈرۈپ ياكى
[RSS](https://plugins.trac.wordpress.org/log/steves-attributes/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/steves-attributes/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.1.0

 * Added support for List Item (`core/list-item`), Heading (`core/heading`), File(`
   core/file`), and Navigation Link (`core/navigation-link`) blocks.
 * Refined `hasLink` logic to ensure the attributes field only appears when a link
   is present in the block.
 * Removed support for `core/post-featured-image` block.

#### 1.0.0

 * Initial release
 * Support for Image, Button, and Paragraph blocks
 * Custom attributes parsing and rendering
 * Proper class attribute merging

## Meta

 *  Version **1.1.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **3 ئاي بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10 دىن ئاز**
 *  **6.9.4** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/steves-attributes/)
 * بەلگە
 * [attributes](https://ug.wordpress.org/plugins/tags/attributes/)[blocks](https://ug.wordpress.org/plugins/tags/blocks/)
   [custom attributes](https://ug.wordpress.org/plugins/tags/custom-attributes/)
   [gutenberg](https://ug.wordpress.org/plugins/tags/gutenberg/)[links](https://ug.wordpress.org/plugins/tags/links/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/steves-attributes/advanced/)

## دەرىجە

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/steves-attributes/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/steves-attributes/reviews/)

## تۆھپىكار

 *   [ stevegibbs ](https://profiles.wordpress.org/stevegibbs/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/steves-attributes/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](https://stevegibbs.info)