Hm, ok, I found a solution in completely turning of
wptexturize sitewide with:
add_filter( 'run_wptexturize', '__return_false' );
which works but seems a bit heavy handed. In trying to find a way to target the WYSIWYG sub-field more precisely, I found this thread:
remove_filter ('acf_the_content', 'wptexturize');
Which isn’t working for me, I assume potentially because it is a repeater/subfield?
I’m also actually accessing the repeater by simply getting the entire repeater as a variable and accessing the text directly via the array, so I’m even more confused that the text is being filtered. (
the_sub_field result in the same curly quotes, however)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!