wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

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

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

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

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

Disable dashboard widgets

wordpress snippet

Adding this first block of code to the functions.php of your wordpress theme will disable select widgets within your dashboard. Bellow is a list of widgets you can add to the list if you wish to disable them.

read more

Create dashboard widget

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will add your custom dashboard widget. This is just the basic building blocks of your own custom dashboard widget.

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