Wordpress Plugin: Code Autoescape
I was trying to post code into a Wordpress post recently and noticed that when I tried to use the <code> tags the code just didn’t show up. So I looked around a bit and found out that it was a common occurance. There are quite a few times I’ve actually wanted to show some code in a post and now I can. The Code Autoescape Plugin allows you to do just that with out it disappearing.
This is what your code will look like in a post after you activate the plugin and place it between the <code> tags:
<a href="http://www.jimimorrisonshead.com/">JMH Techtronics</a>
So now you can actually share code in your posts and it does show up. I found out the hard way. I was describing the Optimal Title Plugin and listed the code for it and didn’t realize for aobut 3 days that the post had a big blank spot. Can’t imagine what people were thinking…lol
1. Download the plugin: codeautoescape.txt
2. Rename the file into codeautoescape.php and put it in your wp-content/plugins directory.
3. Activate the plugin from WordPress administration page.
Check my Wordpress Plugins page for more useful plugins.
Spread the Word
del.icio.us Digg Furl Reddit Ask Google Netscape Sphere StumbleUpon Technorati Help
Filed under: Wordpress Plugins by JMH
Enjoy this post? Subscribe to the RSS Feed
great tip. i haven’t been able to use it yet but i’ll definitely keep it in mind. thanks!
This is going to come in really handy with upcoming “How-to” articles! Thanks for the tip!