Looking for a way to add a token/replacement pattern into shortcode.
For example, creating a button where different text and link is required depending on other factors – something like the following:
” text=”[label replacement pattern]”]The main reason I need to do this is that I’m using view field views and want to replace an empty field with a custom button, contained in the ‘sub view’ when the view is empty, which needs to be different depending on what should be in the ‘sub view’ – I’m using shortcodes in with Global: Text Area in the No Results Behaviour (if that makes sense)
Unless, of course, anyone knows another way to achieve the same result.