updated   : May 15, 2012
we now have 588 snippets
category widget
By : , on December 29, 2011 9:00 am

Replace widget title with custom title and HTML

wordpress snippet

Adding this snippet to the functions.php will let you use a filter to replace the widget title with custom title and or html.

read more
By : , on October 02, 2011 9:00 am

Disable sidebar widgets on specific posts

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you disable widgets on specific posts by updating the array on line 3 with post ID’s. Please note that this is a comma separated list of ID’s.

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

Remove recent comments wp_head CSS

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the CSS added to the header for the recent comments widget.

read more
By : , on May 14, 2011 9:00 am

Replace dashboard news feed with another rss feed

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you replace the existing RSS feed widget with another RSS feed. Change YOUR_FEED_NAME with the name you wish to display in the widget title this is located on line 09. You will need to also make adjustments to “url, title, items, show_summery, show_author, show_date” located from line 14-19.

read more
By : , on May 08, 2011 9:00 am

Disable widget areas on specific pages of your blog

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable widgets on the specified page.

read more
By : , on May 05, 2011 9:00 am

Multiple widgetized areas using an array of names

wordpress snippet

Adding this snippet to the functions.php of your wordpress them will enable multiple widgetized areas without all the repetitive code. This is a simple but worth while little snippet you should get some great use from.

read more
By : , on April 12, 2011 9:00 am

Force categories widget to display empty categories

wordpress snippet

As you may already know the wordpress categories widget does not provide the option to display empty categories. Adding this snippet to the functions.php of your wordpress theme will force the categories widget to display empty categories.

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

Enable oEmbed in Text/HTML Widgets

wordpress snippet

Adding this PHP snippet to the functions.php of your wordpress theme will enable oembed for widgets.

read more