If you ever needed to grab a bunch of posts from different categories or taxonomies into your theme to fill certain layout blocks with their respective content you’d likely ended up doing a bunch of WP_Query calls with the desired parameters. That’s all nice and works ok, but it causes some additional database queries for […]
Read more
Lost in time(zones)? http://localtime.at can help
Working for a distributed company like Automattic is great, but with clients and co-workers spread across the globe I tend to get lost in timezone conversions. Sure there are some great tools like http://timeanddate.com and http://www.worldtimebuddy.com, but I needed something simple so this night I created http://localtime.at/, my own little timezone converter which takes a […]
Read moreIntegrate Cool Applications with WordPress.com
Reblogged from WordPress.com News: We are happy to announce our new REST Application Programming Interface (API) that lets developers explore, interact, and create great new content with the vast community of sites on the WordPress.com network and, in the near future, Jetpack-enabled sites. The API gives developers access to posts and comments, as well as […]
Read moreFilter arrays of data by any field in the array/objects
I frequently need to grab a subset of data from an array. I just stumbled over the FilterIterator which provides a nice interface to do just this. Based on this class here is a implementation which lets you perform basic filtering. Here is an example: And here is the class that makes it happen.
Read more

May 10, 2012 

