updated   : May 15, 2012
we now have 588 snippets
By : , on February 17, 2012 9:00 am

Limit number of classes when using post_class

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you limit the number of classes displayed when using post_class, Yes this only works if you are using post_class() within your theme enjoy.

read more
By : , on January 03, 2012 9:00 am

Shortcode with micro formatted loop, meta, category, pagination

wordpress snippet

Here’s a neat little wordpress shortcode that allows posting of individual blog posts based on ID, latest number of blogposts from a certain category or all categories, optional pagination, optional excerpt or full content showing and optional meta.

read more
By : , on September 17, 2011 9:00 am

Remove parentheses from category counts

wordpress snippet

Adding this snippet to your wordpress template will remove the parentheses surrounding the category count when using wp_list_categories.

read more
By : , on September 11, 2011 9:00 am

Change “select category” name within category dropdown widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you change the name displayed within the select menu category dropdown widget.

read more
By : , on September 04, 2011 9:00 am

Exclude categories from RSS feed with functions.php

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will exclude specified categories from RSS feed.

read more
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 July 24, 2011 9:00 am

Truncate description within categories admin panel

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will truncate the description displayed within the categories admin panel to 150 characters. Change the number 150 on line 09 to adjust the number of characters for the category description.

read more
By : , on June 21, 2011 9:00 am

Automatically categorize and tag posts when saved

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you automatically categorize and tag posts when you save them. Don’t forget to add a new tag or a new category

read more