New book on WordPress Theme Development: WordPress Themes In Depth
2008 Nov 16
Daily Archive

Fruit Loop: Separate any Number of Odd and Even Posts from any Category in WordPress

Recently, I discussed how to implement a horizontally sequenced display order for WordPress posts in two columns. In that tutorial, I explain how to separate odd and even posts using a dual-loop configuration and PHP’s modulus operator. Such technique serves well a variety of configurational scenarios, but is limited to the display of the default (admin-specified) number of posts from all categories. In this tutorial, we adapt this odd-and-even loop configuration to accommodate a much greater degree of customization. Specifically, we will focus on separating any number of odd and even posts from any specific category or group of categories. […] Read more »

Yahoo! Lies about Obeying Robots.txt Directives

There are two possibilities here: Yahoo!’s Slurp crawler is broken or Yahoo! lies about obeying Robots directives. Either case isn’t good. Slurp just can’t seem to keep its nose out of my private business. And, as I’ve discussed before, this happens all the time. Here are the two most recent offenses, as recorded in the log file for my blackhole spider trap: Read more »

Three Years and Counting

Perishable Press is three years old! I first launched the site during August/September of 2005 using the cutting-edge B2-Evolution blogging engine. Admittedly, for the first year or so, I had no idea what I was doing, but was having a blast absorbing and applying as much design-related information as I could find. At first, Perishable Press was nothing more than a virtual workshop, a learning tool, and a place to dump notes and ideas. I greatly enjoyed working on the site, and soon found myself hooked on standards-based web design. I began reading every web-design and development book I could […] Read more »