I have a Wordpress page with the title "Paper 10x10". In my sidebar navigation this page is displayed as "Paper 10×10" (note that the x is texturized by Wordpress and therefor the x became a multiplication sign ×).
I have the plugin raw html plugin installed. It only disables wptexturizing for the_content
. But the navigation is not in the_content
but in get_sidebar()
.
I tried remove_filter:
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
But this also only disables texturizing for the content or the excerpt.
How can I disable the wptexturize
filter globally in my Wordpress blog?
You can disable it globally with the run_wptexturize
filter, as detailed here:
add_filter( 'run_wptexturize', '__return_false' );
Try:
remove_filter('the_title', 'wptexturize');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With