Set Shortcode Defaults for the Attributes
-
Hello, I would like to know if it is possible to custom define the default attributes for the shortcodes.
For example, in my layout I will consistently be using the shortcode:
[expands title="My title" trigclass="sub" elwraptag="div" elwrapclass="expand-wrap"].However, ideally I would like to write the cleaner and shorter:
[expands title="My title"]for I know the trigclass, elwraptag, and elwrapclass will be the same each time.I know I can modify the default attributes in collapse-o-matic.php, but then I would potentially need to rewrite my attributes after each plugin update.
Apart from this one question/feature request, this is a fantastic plugin, and thanks for creating it!
The topic ‘Set Shortcode Defaults for the Attributes’ is closed to new replies.