Wordpress code display
- 13th Jul 2007
- Leave a Comment
- Wordpress
I keep getting asked what plug in i use to display the code snippets on my blog.
like this
[php]
< ?php
$arr_plus_one = array_map(create_function("int", "return ++$int;"), $arr);
?>
[/php]
well it’s igsyntax which is built on GeSHi - Generic Syntax Highlighter
DaveN






7 Comments | Leave a comment »
Dave the link doesn’t seem to be working quite right. (%20G at the end) It’s easy enough to find the plugin once on the site, but here’s the URL in case anyone is having a hard time.
http://blog.igeek.info/still-fresh/category/wp-plugins/igsyntax-hiliter/
It is a cool plugin though and I’ve been wondering myself how you were displaying code snippets.
Cheers Steven
[…] Here’s an example of a short blog post I came across today from Dave Naylor. There’s a lot of value for readers, but what more needs […]
[…] Wordpress code display (tags: wordpress) […]
Excellent - been looking for something like this for ages. :)
[…] Thanks to DaveN for the tip about using the Wordpress code display […]
[…] Brian’s pre-made theme, I became more and more familiar with the intricacies of the WordPress code, and thought to myself how important it was to launch my own custom design, rather than using that […]