Is it possible to use a shortcode in an href?
Here’s what I have:
[sc name="PhoneNumber"]
However, the link doesn’t work because of the “. Any suggestions?
It didn’t paste correctly the first time
Hi kurt, I’ll try this scenario in my side and get back to you shortly.
Thanks, Aakash
Hi kurt,
Please use single quote instead of double quotes and it works.
<a href="[sc name='PhoneNumber']">[sc name='PhoneNumber']</a>
Thank you so much, Aakash! Worked great! Have a great day!
A very interesting topic that I have reviewed, I think this is one of the most important information for me. And I’m glad to read your article. Thanks for sharing! happy wheels
Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter
By using this website, you agree to our Terms Ok