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

Create most recent posts dashboard widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a new dashboard widget showing the five most recent posts.

read more

Check for post type within loop using get_post_type

wordpress snippet

Adding this snippet within the loop of your wordpress theme will let you conditionally check for a specific post type. Just change the post type ‘products’ or ‘people’ to the post type you would like.

read more

Update: Create custom post status messages in admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you create custom post status messages.

read more

highlight post_states within admin posts and pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will highlight the posts_states within the admin post and page sections.

read more

Add select menu to filter by custom field in admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a select menu with a list of all custom fields, just select the field you want to filter by and click the filter button.

read more

Disable Tinymce HTML editor excluding array of users

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable tinyMCE for everyone but the specified list of users. This is an updated version of this snippet ( Disable Tinymce ).

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