Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kurt
    Participant

    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?

    kurt
    Participant

    It didn’t paste correctly the first time

    [sc name="PhoneNumber"]

    [sc name="PhoneNumber"]

    kurt
    Participant

    Let's try this!

    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>

    Thanks,
    Aakash

    kurt
    Participant

    Thank you so much, Aakash! Worked great! Have a great day!

    Na An
    Participant

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter