Adding code to your WordPress post can be easy and pain free… or it can be a huge hassle! I originally thought it would be easy enough to just add a new plugin that will allow code to be wrapped in a tag, which will output the exact text that was entered.

I unfortunately found out that many of the plugins available for this need, don’t always seem to work correctly.

If you’re going to be constantly displaying code in almost every post, you may want to try out the plugins that are available. However, if you are just going to be displaying code every once in a while, I highly recommend you use the simple text converter HTMLizer by www.onlinetools.org.

Display Code, The Easy Way

htmlizer 225x102 How to Display Code in WordPress PostsHTMLizer is a simple form that converts all of the special characters in your code into HTML standard code. Its as simple as copy, paste, cut, and then paste. Now that is much easier then spending 30 minutes trying to get a plugin to behave.

Try out HTMLizer and let me know how it works for you. HTMLizer no longer exist, but here is a site that also has an html encoder.

Technorati Tags: display code wordpress, display code, wordpress, wordpress post, convert code, html display code, display html, display code block, code on website, display source code, how to display code

Related Articles

Enter Your Comment