DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Monthly archives: September 2011

Import Feed, Display in Multiple Columns

Posted by on

Recently I worked on a project where a single RSS feed was imported and displayed in multiple columns on the web page. Certain pages display feed items in two columns, others in groups of three or more. This technique uses WordPress’ built-in fetch_feed functionality to parse external feeds, and a slice of PHP magic to display them in multiple columns. It’s flexible too, enabling any number of columns and feed items from anywhere in your theme/template files. For example, you could display any of the following:

Smashing WordPress

Hey I’m sure everyone’s heard by now, but I wanted to post about Smashing Magazine’s new exclusive WordPress section! We’re aiming for quality, in-depth articles, tutorials, and reviews on all things WordPress, and we’ve got some great stuff already in the works. Drop by and check it out! :)

3 Ways to Reset the WordPress Loop

Posted by on

WordPress does an excellent job of keeping track of what’s happening with the loop, but once you start customizing parameters and setting up multiple loops, it’s a good idea to explicitly reset them using one of three WordPress template tags. In this DiW post, we’ll explore these techniques to get a better understanding of when and how to use them in your WordPress themes.

Code is poetry