Is there a way for others to extend or modify the style of plugin’s shortcodes?
-
Hello,
I am currently developing a plugin that, among other things, defines various shortcodes for people to use. The thing is, these shortcodes have their own style (defined in a .css which is loaded by the plugin). This CSS defines all the necessary classes to style the shortcodes, and that is the “default” style that comes right out of the box when installing the plugin.
My question is: is there a way for others that use my plugin to extend or modify this style? for example, my shortcodes define a set of red colors, but an user wants to use the exact same styling but with blue colors, maintaining all other styles. I want to do this in a way similar to themes, so that the plugin comes with a default theme, and others can extend that (make a child) and then have the two themes, only for the shortcodes. Is this possible? I don’t specifically need a full response as I know it may be a bit long, it’s enough to know where direction should I go in order to achieve this and what should I look for.
Thank you for your time
- The topic ‘Is there a way for others to extend or modify the style of plugin’s shortcodes?’ is closed to new replies.