views:

32

answers:

1

Hey great people,

how can I disable wbtexturize() in my sidebar? 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. My nav is not in the_content() but included in the page.php this way: get_sidebar().

I also tried:

remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');

But this also only disables texturizing for the content or the excerpt.

I think its not a good idea to hack the wp-includes/formatting.php is it?

thanks, Max

+3  A: 

Try:

remove_filter('the_title', 'wptexturize');
windyjonas
thanks, that did the trick. stupid me. embarrassing i didn't try it beforehand. sorry for your time guys and thanks again windyjonas!
Max