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

Remove thumbnail support from a specific post type

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove thumbnail support from a specific post type. Change POST_TYPE text to either a custom post type name or post, page to remove support for thumbnails.

read more

Disable widget areas on specific pages of your blog

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable widgets on the specified page.

read more

Hide posts and pages within the admin from users

wordpress snippet

I have had a few projects that required me to create a page that is for template use only. I may need to add shortcode or something to the page. Now since I don’t want my client to edit this page and possibly break things I hide the pages. Adding this snippet to the functions.php of your wordpress theme will allow you to add id’s for each of the posts or pages you wish to hide.

read more

Count posts, pages, comments and custom post types

wordpress snippet

This is a selection of snippets to display counts for posts, pages, custom post types, comments. Posts and pages have a publish and draft status while comment counts include moderated, approved, spam, trash, total.

read more

Disable the visual editor for posts and pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable the visual editor for both posts and pages.

read more

Add pagination to your blog

wordpress snippet

Add the first block of code to the functions.php of your wordpress theme, then just add the my_paginate_links() function in the location you wish to have your pagination appear.

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