WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.