I want to execute a shortcode when click on an icon, a block, or something else.
Is there a possibility via “Interaction>Click” of Cwicly to do that?
If not, is there another solution?
Thank’s for help.
No this won’t be possible natively, but is a great suggestion.
You can use the Interaction → Click → Custom Function and then make an API call to execute the shortcode.
I think this would be super.
For hours I googled to reach something but didn’t find anything really usefull.
Do you have sample of this kind of custom function and API?