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.
Thanks so much & kindest Regards,
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.
Thank 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,
Sorry for the inconvenience. We’ll investigate the issue further and provide an update if we find anything. Thanks for understanding.
The topic ‘Textbox converting single quotes in links to double quotes’ is closed to new replies.