wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Dynamically create and attach sidebars to pages or posts

wordpress snippet

This is a bit large for the snippets I normally post however very useful. This snippet will let you easily create new sidebars by simply adding the name to an array. You will also be able to define the dynamically created sidebar a page loads by selecting from the custom sidebar selection metabox.

read more

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

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

Create most recent posts dashboard widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a new dashboard widget showing the five most recent posts.

read more

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

Include custom post types in “Right Now” admin dashboard widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will include custom post types in “Right Now” admin dashboard widget. This is a great little snippet I found while browsing stack exchange the other day. Hope you enjoy this snippet as much as I did. I recently found out the originator of this snippet is Jared don’t forget to check out his website and thanks for the great snippet Jared.

read more
jqsnipp.com | we just launched jquery snippets website