How to Have Code Display in Your Post

by Paul Wilson

 

If you look at my last two post (see here and here) you will notice that in one post I am displaying my code as an image and the other as regular text. In fact, looking at my last entries before the last one they were all images. Every time I tried to add the code to display wordpress would read it as regular code and make my post look funky.

I finally got wise and found a plugin that allowed me to show my code without messing everything up. The plugin is Code Everything and it is super easy. Basically, all you do is add <code> before and </code> after your coding example, and walla you see the example you want to show. I know this really is insignificant, but you have no idea how much time that this little plugin saves me (and hopefully you).

Related Posts: