updated   : May 15, 2012
we now have 588 snippets
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 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
By : , on December 08, 2011 9:00 am

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
By : , on December 02, 2011 9:00 am

Add TinyMCE font select to 3rd row, always visible

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will enable and place the font selection dropdown menu within the 3rd row. If in the 3rd row items will always be visible without selecting the kitchen sink button.

read more
By : , on August 28, 2011 9:00 am

Remove the theme editor submenu within admin

wordpress snippet

Posted a snippet yesterday to remove $submenu items but for some reason it does not remove the theme editor panel this way. Adding this snippet to the functions.php of your wordpress theme will remove the theme editor submenu. Or disable editor and plugin modifications entirely.

read more
By : , on August 10, 2011 9:00 am

Add TinyMCE editor to post/page title input field

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the TinyMCE editor to the title input field of your wordpress posts and pages.

read more
By : , on August 04, 2011 9:00 am

Changing the HTML editor font in wp 3.2

wordpress snippet

As pointed out in a recent article by Justin Tadlock the font within the HTML editor is not that easy on the eyes. Adding this snippet to the functions.php of your wordpress theme will let you change the font for the wordpress HTML editor.

read more
By : , on July 09, 2011 9:00 am

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