The Snipplr WordPress Plugin
The Snipplr WordPress Plugin is great, since it allows you to place code snippets by typing in something as easy as [snippet=123], where the 123 is really your code’s Snipplr Id. You also get the option to display the code’s author, the code’s title, or even to toggle code highlighting.
If you’re a Standards Compliant maniac, like me, then you’d probably want to edit your snipplr.php file and search for the $source variable. Replace it with the following code:
$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;
}
*/
/* You should also set, in your WordPress Stylesheet, a 'code' class:
.code {
font: 1.1em 'Courier New', Courier, Fixed;
text-align: left;
}
*/


















Nice changes. I’m going to roll them into the plugin on the Snipplr website so everyone can take advantage of them. I’ll stick your name in the list of contributors, too
Hi Tyler. I’m honored to be in the list
I thank you for that.
What I want to do on my blog, is every few hours take the oldest post and move it to the
front of the queue, all automatically. Anyone know if there is a plugin that can do this or
a simple way to set up another plugin to do this (use my own feed perhaps)?
Thanks.