Encoding HTML tags in WordPress

Grrrr very frustrating. When you add pieces of HTML code to pages and add code tags in the HTML view when you switch back the tags have disappeared. To get around this you need to encode the tags using HTML encoding.

The &gt; and &lt; are character entity references for the > and < character in HTML. It is not possible to use the less than (<) or greater than (>) signs in html, because the browser will mix them with tags. To use these characters you can use entity names (&gt;) and entity numbers(<).

Just do a search & replace to change the < and > then to &gt; and &lt;.


Improving readability of WordPress home page with Read More tag

I have a large number of blog posts and a few of them are quit long. The WordPress theme I am using show the complete post on the home page. This means users visiting the home page need to scroll “forever” going through the posts. This was annoying me. I was thinking of switching to a theme that limited the blog post size on the home page providing a read more link to the full blog post. I could not find a suitable theme that worked well for desktop, tablet and smartphone. What to do? Continue reading