Adding extra attribute to module

Hello. I am using this plugin that implements clipboard.js on my site https://wordpress.org/plugins/clipboard/

I then can use this to copy to clipboard which works perfectly

<input id="foo" value="text to copy">

<button class="btn" data-clipboard-target="#foo"> Copy to clipboard </button>

However, I want to use it with a Beaver Builder module but I can’t. I tried to follow this guide but it didn’t work https://kb.wpbeaverbuilder.com/article/662-add-custom-attributes-to-rows-columns-or-modules

How should I do this?

Which module will you add it? Beaver Builder document site is nicely described how you will add the attributes into the modules. They shared the lot of methods.

I have one tutorial which is adding the attributes option into the settings form. So you can easily add the any attributes via module, columns or row settings form. Unfortunately that tutorial is in under pay wall.

https://pro.wpbeaverworld.com/adding-attributes-beaver-builder-rowcolumnmodule-wrapper/

Nice website, might be my last resort if I’m still struggling.

1 Like