Bad word filter for search queries posts_where jumps into the query and modifies it similar to pre_get_posts. We limit it to...
List taxonomies by initial letter Tired of tagclouds? Here is a pretty nice snippet for your next archive template. This...
Show related posts by current post author Author related posts snippet for a multi-author site. This snippet shows latest 5 posts published...
List your authors show your website's authors and a link to their post archives. Cool feature if your...
modify custom post type query on archive page Set a custom order for posts in a custom post type on archive pages. ...
improve query with transients saving db requests Here is an example how to use transients in your WordPress loop for a portfolio...
Require a featured image for posts The following code can be used to make the post thumbnail a requirement. When you...
List popular posts based on comment count place this code in your sidebar's code to display 10 posts ranked by their comments...
WordPress WP_Query Comprehensive Reference Not really a functional WordPress snippet but a useful complete reference for wp_query and its...