Hi there,
I’ve got a custom shortcode written to return a number, it goes: [my_shortcode type="foo"]. It works great with Headline elements, but with Counters it doesn’t seem to accept the shortcode as an input.
I know that Cornerstone/Pro recently added the option to use these ‘dynamic content’ inputs, which have a similar syntax, e.g. {{dc:woocommerce:product_price product="111"}} to display the product_price of a woocommerce product with a product_id of 11.
Where could I hook in to create custom ‘dynamic content’ options, so that I could use {{dc:custom:my_shortcode type="foo"}} to output that specific (dynamic) number to a Counter element, and other Cornerstone elements?
Thanks!