Three pieces of code to replace WordPress plugins

While WordPress plugins are really useful, you don't need plugins always to add certain features to your themes. Here are a few code snippets you can add to your theme files to display recent posts, random posts and recent comments. Recent Posts The following code will enclose the latest 10 posts in an unordered list.

Themes for your Gmail

If you're bored of the plain old white Gmail background, then one option is to use the Better Gmail Firefox extension which added a few themes. Gmail now comes with several different skins that you can use to beautify your inbox. In a quote from their blog post: We wanted to go beyond simple color customization, so out of the 30 odd themes we're launching today, there's a shiny theme with chrome styling, another one that turns your inbox into a retro notepad, nature themes that change scenery over time, weather driven themes that can rain on your mailbox, and fun characters to keep you in good company.

Tool Tuesday: Optimize your CSS with CleanCSS

CSS (Cascading Style Sheets), a very effective thing for a site / blog these days. They give you the chance to be completely consistent with the look and feel of your pages, while giving you much more control over the layout and design than straight HTML ever did. The speed of your site also depends on your CSS, the complex the code, the slower is the site.