While reading though some twitter updates this morning, I stumbled across one that was asking if anyone knew a way to exclude a specific category in WordPress from the loop, unless it was certian page template. After a quick minute of thinking, I came up with this small function that will do just that.
Google Syntax Highlighter may be WordPress' most popular syntax highlighter plugin, but it's not the most efficient. With plenty of extra JavaScript and sloppy PHP writing, it's quite the bloat-ware if left unchecked. So here's 2 fixes showing how to put GSH on a diet and still get all the features of the plugin.
No WordPress blog is complete (or even fully functional) with a healthy arsenal of plugins in it's repertoire. So here are 9 ultra-useful plugins to use on every blog setup you configure.
It's no secret that we've started a new series on FS called "Weekday Tips" and it's been incredibly successful even though it has only been 2 weeks since it started. So here's a video talking about what it is and how it works and also what all is happening behind the scenes here at FS.
Wordpress' conditional tags are by far one of the most useful and unglorified tools for theme and plugin development. Here's a list of all the tags.
The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. For example, you might want to display a snippet of text above the series of posts, but only on the main page of your blog. With the is_home() Conditional Tag, that task is made easy.
The font property is, with exception of some system fonts, a shorthand property for setting all of the properties for a font in one declaration. These declarations go in order of font-style, font-variant, font-weight, font-size/line-height, font-family. Below is a chart showing values can be used in each section.
The background property is a shorthand property for setting all background properties in one declaration. The order of declarations is background-color, background-image, background-repeat, background-attachment, and then background-position. Remember that default values for these properties are not set.
The CSS properties "margin" and "padding" allow the use of shorthand declarations, meaning we can state all the "-top", "-left", "-bottom", and "-right" attributes in one call.