Add button to visual editor to create shortcode
-
Hi!
I don’t find the solution to my problem anywhere, so I am asking here:
I have a shortcode created in my theme through my functions.php, which I need to write down in the editor every time I want to use it. The format of the shortcode is[shortcodename url="https://www.blabla.com"]
Instead of writing that down everytime, I would like to add a button in my visual editor, that would call a small pop up where I would fill the url, and the shortcode would be generated this way.
Is that something possible? If yes, how do I do that?
Thanks for your help!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Add button to visual editor to create shortcode’ is closed to new replies.