Viewing 1 post (of 1 total)
  • Author
    Posts
  • Anonymous
    Inactive

    Hi,

    I have a shortcode that displays some text passed as a parameter. If I want the displayed text to have quotes around it, how can I do it? Everything I have tried breaks.

    e.g. if I try [sc name="quote-block" heading="Some heading" body=""This is the text I want surrounded by quotes"" ]

    it doesn’t work. I have tried using " but that doesn’t work.

    Is it possible?

    Cheers

    Vince

Viewing 1 post (of 1 total)
  • The topic ‘How to pass quote marks in parameter to shortcode’ is closed to new replies.

Subscribe to our Newsletter

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