WordPress HTML Entities in Posts

Tonight, I was playing around with trying to figure out how to display some HTML entities inside a wordpress post.

I wanted to be able to display a simple fraction in a wordpress post.

After a bit of RTFMing on the WordPress Codex, I found that the tags will allow you to render HTML entities specificly.

The wordpress “code” tag will allow you to render specific HTML entities.

Be sure to use the decimal version of the entity rather than the entitized version!!!

Example.

4 ¼ x 5 ½

Leave a Reply

Your email address will not be published. Required fields are marked *