wordpress snippets last updated   : January 9, 2015
we now have 643 snippets
category page

Better SEO automatically remove short words from URL

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will automatically remove short words from the URL. This will remove words no larger then three characters long eg: in, and, but, is, etc…

read more

Convert URI, www, ftp, and emails into clickable links

wordpress snippet

This is a simple snippet but a gem I have used in several projects. Adding this snippet to the functions.php of your wordpress theme converts URI, www, ftp, and email addresses into clickable links within the_content and or the_excerpt enjoy!

read more

Disable Tinymce HTML editor for everyone but admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable the Tinymce HTML editor for everyone but the admin.

read more

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