wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

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

Disable content editor for specific page template

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable the content editor when a page is using a specific template. Don’t forget to change the name of the template file on line 08 this sample I have submit.php but can be changed to anything.

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

Disable editors and plugin modifications entirely

wordpress snippet

Adding this snippet to the wp-config.php of your wordpress install will disable theme editing and the plugin editor entirely. Including removing them from the wordpress admin menu and also disabling the ability to delete plugins.

read more

Disable the allow_password_reset feature

wordpress snippet

Adding this snippet to the functions.php will disable the allow_password_reset feature from the login page. When using the lost password feature after you add this snippet wordpress will display “Password reset is not allowed for this user”.

read more

Disable CRON job feature

wordpress snippet

Adding this snippet to the wp-config will disable CRON services within wordpress.

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