updated   : May 15, 2012
we now have 588 snippets
By : , on December 30, 2011 9:00 am

Give author capabilities including editing other authors posts

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will allow authors to edit other users posts.

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

Conditionally display content on last post

wordpress snippet

Adding this snippet within the loop of your wordpress theme will let you display something only if it is on the last posts.

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

Remove p tag from around images in the_content

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the HTML p tag from around images in the_content.

read more
By : , on November 14, 2011 9:00 am

Increase the excerpt field height

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will increase height of the excerpt field within your post editing screen.

read more
By : , on November 11, 2011 9:00 am

Add class to next and previous post_link

wordpress snippet

I recently needed to use this for a theme I was building figured I would post the results up here for everyone. Adding this snippet to the functions.php of your wordpress theme will add a custom class to next and previous post_link.

read more
By : , on November 04, 2011 9:00 am

Add a custom class to wp_get_attachment_link

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a custom class to wp_get_attachment_link.

read more
By : , on November 01, 2011 9:00 am

Automatically add the Google +1 button

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will automatically add the Google +1 button to your wordpress posts. This is a great little snippet from ottopress.com

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