Category Archives: WordPress

Filtering WordPress Search Results by the Page Post Type

Tacking a post_type parameter to any search URL in WordPress filters the search results by a post type. For example: http://example.com/?s=speak+easy&post_type=events Will return only events which include the terms speak and easy. But when setting the post_type parameter to page, something unusual happens. … Continue reading

Posted in WordPress | Tagged , , | 1 Comment

WordPress.com Gamification

When publishing a post on WordPress.com these days, authors receive a new sidebar alongside their post. The most interesting feature in this sidebar is a game-like progress bar. Arbitrary goals are now being set on WordPress.com to encourage blogging. Publish … Continue reading

Posted in WordPress | Tagged , , , ,

Advanced Taxonomy Queries with Pretty URLs

WordPress 3.1 introduced the best new feature I failed to notice – built-in support for filtering posts by multiple taxonomies. For a post index or custom post type archive, instead of being constrained to queries for one taxonomy like this: … Continue reading

Posted in Blogdex, WordPress | Tagged , , , , | 123 Comments

Two Reasons Tumblr is Upstaging WordPress.com

There was a discussion on WPCandy a few weeks ago asking if Tumblr was the new WordPress. Many commenters on the post tout Tumblr’s features, like post formats, as the key to its success. These are only a small part of the … Continue reading

Posted in Meta, WordPress | Tagged , , , , , , | 7 Comments

Priority -1000 for WordPress Hooks, Actions and Filters

I recently came across some code which set the priority parameter for an add_action() call to -1000. I’d never seen a negative number, or such a large number used for a WordPress action or filter’s priority. Turns out, it’s actually necessary to use such … Continue reading

Posted in Blogdex, WordPress | Tagged , , , | 2 Comments

Git to SVN: Automated WordPress Plugin Deployment

During my daily commutes through Version Control land, I’d gladly never leave Git’s bountiful pastures. Alas, to deploy my WordPress plugins, I must check-in my code to a Subversion repository on plugins.svn.wordpress.org. There are a few tutorials floating around the web which … Continue reading

Posted in Blogdex, WordPress | Tagged , , , , , | 56 Comments