How to control a category in the Wordpress loop

How to control a category in the Wordpress loop

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.

(more...)

Optimizing the “Google Syntax Highlighter” WP plugin

Optimizing the “Google Syntax Highlighter” WP plugin

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.

(more...)

Weekday Tip: 9 Ultra-useful Wordpress Plugins

Weekday Tip: 9 Ultra-useful Wordpress Plugins

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.

(more...)

What are “Weekday Tips”

What are “Weekday Tips”

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.

(more...)

Weekday Tip: Wordpress Conditional Tags

Weekday Tip: Wordpress Conditional Tags

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.

(more...)

Weekday Tip: CSS Shorthand pt.3

Weekday Tip: CSS Shorthand pt.3

Font

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.

(more...)

Weekday Tip: CSS Shorthand pt.2

Weekday Tip: CSS Shorthand pt.2

Background

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.

(more...)

Weekday Tip: CSS Shorthand pt.1

Weekday Tip: CSS Shorthand pt.1

Margin & Padding

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.

(more...)