wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

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

Enable shortcode in widgets

wordpress snippet

Adding this to your functions.php will enable shortcode in your widgets. eg [gallery]

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