updated   : May 15, 2012
we now have 588 snippets
By : , on August 23, 2011 9:00 am

Order categories by most recently updated

wordpress snippet

Adding this snippet to your wordpress theme will display a list of categories ordered by the most recently updated category first.

read more
By : , on March 13, 2011 9:00 am

List top 5 authors by number of posts

wordpress snippet

Adding this snippet to your wordpress theme will list the top five authors in order by the number of posts.

read more
By : , on March 07, 2011 9:00 am

Explode custom field into list

wordpress snippet

Add this snippet to the index.php or single.php of your wordpress theme, I use this currently within the single.php when I have multiple sources that I need to display for a single article. On line 1 you will need to change the name CUSTOM_FIELD_NAME to the name of your custom field. This snippet will explode each newline in a separate list item with the URL as both the href and the name.

read more
By : , on January 29, 2011 2:00 pm

List last five registered users

wordpress snippet

Place this PHP code anyplace within your wordpress theme and it will display the latest 5 registered member to your website.

read more
By : , on November 08, 2010 9:00 am

Taxonomies as a list

wordpress snippet

Adding this PHP code to your wordpress theme will allow you to display taxonomies as a list rather then a tag cloud.

read more
By : , on October 31, 2010 4:00 pm

List pages

wordpress snippet

Adding this PHP code to your wordpress theme will display all of your pages in an unordered list.

read more
By : , on October 29, 2010 1:14 am

List all categories

wordpress snippet

Adding this code to your wordpress theme will display all your categories.

read more
By : , on October 27, 2010 8:18 pm

List cats two columns

wordpress snippet

Adding this PHP code to your wordpress theme will list your categories but separate them into two columns.

read more