wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

Change default ‘Enter Title Here’ for custom post types

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you change default ‘Enter Title Here’ for custom post types. You will need to update the POST_TYPE name and default text

read more

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

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

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

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

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