/ Published in: PHP
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/text/pre.cfm
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$source = "</p><p>{$title}{$author}{$comment}</p><div class='code' style='border: 1px dotted; overflow: auto; white-space:nowrap;'>$source</div><p>"; /* You should also set, in your WordPress Stylesheet, a 'code' class: .code { font: 1.1em 'Courier New', Courier, Fixed; text-align: left; } */
URL: http://rolandog.com/archives/2006/07/15/snipplr-wordpress-plugin/