How to add subscript and superscript in WordPress page titles

It is possible to add subscript and superscript in a WordPress page title? I need to add pages with “H2O” in the title.

I have been searching, but cannot find anything with answers… only a few non-answered threads on wordpress.org forums.

1 Answer
1

You can use markup in titles. H<sub>2</sub>O will work just fine. I would use H₂O with a real because markup will be stripped in title attributes and in feeds.

Note that WordPress will not create a pretty permalink for the correct character. The slug for my example will look like this: h2o-h%e2%82%82o.
You need my plugin Germanix URL to get h2o for both variants.

enter image description here

Leave a Comment