Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've created a page that includes a size such as 5x10 since the given term is something people often Google for, together with some other words.

Wordpress is converting 5x10 to: & # 2 1 5 ;
(without the spaces)

Is there any way to prevent this?

I suppose that there are places where this feature would be useful but in my case it's hindering my SEO efforts.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

This is performed by wptexturize(). Unfortunately it saves replacement lists as static variables which you can't modify.

So your options are:

  1. Remove wptexturize filter from related hook (depends on where you have that replacement done).
  2. Write and add your own filter that will replace converted symbol back.
share|improve this answer
    
3. wrap the x between spaces –  onetrickpony Apr 10 '11 at 22:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.