wordpress snippets last updated   : April 14, 2014
we now have 630 snippets
category admin

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

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

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

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

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

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
jqsnipp.com | we just launched jquery snippets website