Beaver Builder Custom Attributes #6 in Page Builder Addons
Provides the ability to add custom attributes to any Beaver Builder module
by Jason Adams & SnippetNest · github.com/jasontheadams/bbcustomattributes · website
★ 26stars
5forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jasontheadams/bbcustomattributes/archive/refs/heads/master.zipFrom the readme
Beaver Builder Custom Attributes
What does this do?
It adds the ability to add custom attributes to modules, columns, and rows within Beaver Builder the same way you would add
a class or ID. In fact, you'll find the new field right below those fields in the Advanced tab.
How does it work?
After installing, to add an attribute to modules, columns, and rows, you navigate to the advanced tab. There will now be a field below the Label input where you can add your attributes.
When you click into a custom attribute, you will have inputs for Key, Value, Target Selector, and Override Attribute.
- The Key and Value inputs are your attribute name/value pairs like: key="value"
- The Target Selector is a way to add your custom attribute to an inner element of the current element. By default, all attributes are added to the outer wrapper of a module/column/row. For example, you could add an attribute like id, class, title or an aria- attribute to an inside a Button Module by typing in a Target Selector of a or a.fl-button. See below for more info about this feature.
- The Override Attribute select input allows you to override the attribute if that attribute already exists from another source
Read the full README on GitHub →