Tagged: rendering
Hi there,
I have an issue with a few symbols (like “) being showed italic on some areas of the page while they’re non italic on some other areas.
My wish would be for them not to be italic however I didn’t find a possibility to control it.
Please have a look at the page link shared in the private content field.
On the left side the ” is being rendered italic while on the right side, in the widget area it’s being rendered non italic
Please advise
Many Thanks & Kind Regards
Alec
Hey zero1media!
One is straight double quote and other is opening double quote.They are two different characters – http://practicaltypography.com/straight-and-curly-quotes.html
Best regards,
Yigit
well that’s weird….because I copied the quote from the left side, which appears to be a straight quote, and pasted it into the areas where I wanted it to be…however it still keeps on rendering not the correct way. In the wp backend it’s also rendering straight….
Yes, I understand that they are 2 different characters….how ever when I paste either of them….all of them are being showed italic in the main content area but not in the sidebar widgets…..
WP backend is showing them both straight too…
Do you want to see yourself and login into my wp admin?
Hi!
Thank you for using Enfold.
Please try to use the quotation marks on Text / HTML mode.
Cheers!
Ismael
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
Cheers!
Josue
Hi Josue, awesome…that worked…thanks a lot.
Cheers
Alec
You are welcome Alec, always glad to help :)
Regards,
Josue