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 ½


No Responses to “Wordpress HTML Entities in Posts”  

    No Comments

    Leave a Reply



A Few Books on My Shelf

Flickr

www.flickr.com
This is a Flickr badge showing public photos and videos from Ben Wann. Make your own badge here.