@edward When there is a conflict where there is a global shortcode and a local shortcode of the same name, would the local shortcode take precedent? If not, how can I make that happen? We want to be able to use global shortcodes as a fallback in our templates, and allow local shortcodes to override global if/when they are set.
Currently, the local shortcodes are added first, then the global. A shortcode can only have one value, so the latest loaded shortcodes are used. So global has priority over local, although I suppose I could change that. I’ll have to add a filter to allow you, using a code snippet, to decide which shortcodes get loaded last?
That would be amazing.. we definitely want local to override global :) This way we can use a global shortcode in templates, but make customizations in the local environment if we want..
That’s exactly what the add-on does.
Currently, the local shortcodes are added first, then the global. A shortcode can only have one value, so the latest loaded shortcodes are used. So global has priority over local, although I suppose I could change that. I’ll have to add a filter to allow you, using a code snippet, to decide which shortcodes get loaded last?