updated   : May 15, 2012
we now have 588 snippets
By : , on January 16, 2012 9:00 am

Remove support for specific post type features

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove support for the specific features bellow from specified post types. Change the word ‘post’ to anything you like including a custom post type name or the default post, page.

read more
By : , on December 29, 2011 9:00 am

Replace widget title with custom title and HTML

wordpress snippet

Adding this snippet to the functions.php will let you use a filter to replace the widget title with custom title and or html.

read more
By : , on December 16, 2011 9:00 am

Remove title attribute from wp_tag_cloud

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the title=”” attribute from the anchor tags when using wp_tag_cloud.

read more
By : , on October 27, 2011 9:00 am

Display random messages of encouragement, posts

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will allow you to display random messages of encouragement to an author when they create a new post. Messages are displayed in the title field and the content field of new posts and don’t forget to update the array of messages to suite your needs.

read more
By : , on October 25, 2011 9:00 am

Change default “Enter title here” text within post title input field

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you change the default “Enter title here” text that is displayed within post title input field.

read more
By : , on August 10, 2011 9:00 am

Add TinyMCE editor to post/page title input field

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the TinyMCE editor to the title input field of your wordpress posts and pages.

read more
By : , on August 05, 2011 9:00 am

Get assigned menu location with get_nav_menu_locations

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you get the name of an assigned menu based on the location name. Returns false if the defined location has no menu assigned. Useful for assigning titles to menus.

read more
By : , on July 31, 2011 9:00 am

Limit search to post titles only

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will limit search to post titles only.

read more