Code samples from Chapter 6 of _Responsive WordPress Theming_