wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

Restrict admin menu items by username

wordpress snippet

Adding this PHP code to the functions.php of your wordpress admin will allow you to restrict access to menu items based on username.

read more

Display update notification for admins

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will only display wordpress update notifications to admin users.

read more

Remove post columns

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will allow you to remove columns from the posts page.

read more

Customize admin menu order

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will allow you to customize the order of the admin menu items.

read more

Remove post trackback metabox

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will remove the send trackbacks metabox from your post editor.

read more

Enable post thumbnails

wordpress snippet

Adding the first block of PHP code to the functions.php of your wordpress will enable post thumbnails. Use one of the functions in the following block of code to display your thumbnails, full, medium or thumbnail.

read more