Static WordPress theme templates The idea is for a theme to have a static-templates folder, with .php templates named...
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...
Pagination for WordPress and Bootstrap This is my most used pagination snippet. It's easy to read and to customize its...
List all categories and their matching posts Use it on your archives.php template. This function grabs the categories and lists all according...
Set minimum word count for posts This snippet defines a minimum word count for new posts. If a post does not...
Add social links to user contact profile unlink AOL, Jabber and Yahoo instant messager id field and replace with facebook twitter and...
Relative date posted x days ago We require two functions for comments and posts. Each display a relative date and instead...