WordPress Code Plugin

If you look at the tutorial I put up, you can see that the code snippets are syntax highlighted. Most of the java classes are initially hidden, but when you press the arrow to the right, the code slides down. Very cool. I found this WordPress plugin called WP-CodeBox. It works pretty slick.

One thing that I wasn’t completely happy with, was that there was no “name” to the code. The header for the top just looked like this:

code here

What I wanted was something like this:

code here

It took a bit of sorting through the code, but I found the section that parsed the parameters, and added a “name” parameter. Now I could add whatever text to the header I wanted, and have the name of the code stand out.