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

Nofollow external links only, the_content and the_excerpt

wordpress snippet

This great little snippet that will add rel=”nofollow” to external links within both the_content and the_excerpt. Add this snippet to the functions.php of your wordpress theme to enable nofollow external links.

read more

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