Category: Web Development

Web Development

Default WordPress Recent Posts Widget with Category Exclude

I found this nice bit of code that will alter the default ‘Recent Posts’ widget in WordPress with one that will let you exclude certain categories. Simply copy and paste the code below into your functions.php file and it will appear in your widgets area. class WP_Widget_Recent_Posts_Exclude extends WP_Widget { function __construct() { $widget_ops =…

Read More
Web Development

CSS… how to use sass and compass: Part Two

Please note: for the sake of brevity, when using sass and compass, I refer to them both as compass. Following on from our previous tutorial, I would like to introduce you to @import. @import is a css feature that will allow you to import stylesheets into one another. For example: @import "normalize.css"; body{ background:lightblue; width:1000px;…

Read More
Web Development

CSS… how to use sass and compass: Part One

fter listening to Chris Coyier speak about using Sass in CSS, I read up on it and decided to give it a bash myself. And… oh my god… it… is… frickin’ awesome! I love writing CSS anyway, so I wasn’t really thinking about anything to make it easier or quicker (which Sass does in spades).…

Read More