updated   : May 15, 2012
we now have 588 snippets
category admin
By : , on May 09, 2012 9:00 am

Disable theme, plugin editor and plugin, core updates

wordpress snippet

Adding the first line to your wordpress wp-config.php file will disable theme and plugin editor. Adding the second line to your wordpress wp-config.php file will disable plugin and core updates.

read more
By : , on May 08, 2012 9:42 am

Hide update nag within the admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will hide the update nag within the wordpress admin.

read more
By : , on May 04, 2012 9:20 am

Remove unneeded images / thumbnail sizes

wordpress snippet

Adding some or all of these lines of code to the functions.php of your wordpress theme will effectively remove some of the default images sizes that may be unneeded. Make sure to include both the _w _h for width and height,

read more
By : , on May 01, 2012 9:00 am

Exclude pages from admin pages list by ID

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you remove pages from the admin pages list. Just update the list of page IDs within the array.

read more
By : , on February 22, 2012 10:00 am

Protect wordpress against malicious URL requests

wordpress snippet

Fantastic snippet from Perishable Press this snippet is great for the security to protect wordpress against malicious URL requests. I have attached a zip file with a download of this snippet as a plugin. Just ftp the single php file to your plugins folder and active as normal.

( download )

read more
By : , on February 20, 2012 9:00 am

Disable dragging of metaboxes within admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable all dragging of metaboxes within the admin. Please note that this includes dashboard widgets as well.

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

Set the content type email from text/plain to text/html

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you set the content type of email from text/plain to text/html.

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

Remove support for specific post type features

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove support for the specific features bellow from specified post types. Change the word ‘post’ to anything you like including a custom post type name or the default post, page.

read more