URLs in variables – possible?
-
Hi, thanks for an incredibly handy plugin! I’ve been trying to create shortcodes that contain URLs in a variable.
Example:
Let’s say I’ve made a shortcode called Test in Post Snippets, and created a variable called description.
Now when I run the following shortcode [test description=”Blabla some text – find more info at
<a href="https://www.address.com/">some site</a>"
], the URL isn’t showing (in fact, the text disappears entirely). I’m guessing it has to do with the ” closing the variable too soon – but is there any way to resolve this so URLs can be included?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘URLs in variables – possible?’ is closed to new replies.