-
AuthorPosts
-
May 12, 2016 at 1:30 am #631057
Hi,
Is there a way of making the text box not convert single quotes in links to double quotes? The reason I am asking is, that I am using a short code for an accordion. If I add a link to the text then the accordion stops working. I was told by the plugin supplier to use single quotes for the links.
I did some research and found some reference that said to add the following line to the functions.php file:
remove_filter (‘the_content’, ‘wptexturize’);Now this works when I save it the first time. But as soon as I go back into the page editor and click on the text box it converts all the link quotes back to ” double quotes.
Is there any way I can prevent this from happening? Because it makes the accordion stop working.
katjafrueh.ch
Thanks so much & kindest Regards,
Corina-
This topic was modified 9 years, 5 months ago by
cd2s.
May 14, 2016 at 8:02 am #632287Hey cd2s,
Thank you for using Enfold.
Try to use the html entity version of the single quotes symbol: https://dev.w3.org/html5/html-author/charref
Or edit the element once, save it as a template then leave it as it is.
Best regards,
IsmaelMay 19, 2016 at 8:00 am #635025Thank you Ismael.
Unfortunately that doesn’t work either “using HTML entity”. I will just have to redo the double quotes to single quotes every time we have to make changes on the website. Just thought maybe there is a simple solution to this.Thanks so much for taking the time to look at it.
Have a great day & kindest Regards,
corinaMay 20, 2016 at 4:50 am #635678Hi,
Sorry for the inconvenience. We’ll investigate the issue further and provide an update if we find anything. Thanks for understanding.
Best regards,
IsmaelMay 20, 2016 at 6:55 am #635728Hi Ismael
Thanks so much. It’s not a big problem… since it is a small website it is doable… but might be interesting for someone else who has a bigger website. Thanks for your always so prompt and amazing support. I really appreciate it.
Have a great day & kindest Regards,
Corina -
This topic was modified 9 years, 5 months ago by
-
AuthorPosts
- The topic ‘Textbox converting single quotes in links to double quotes’ is closed to new replies.
