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

Add nofollow attribute to category specific links

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the nofollow attribute to category specific links within the_content.

read more

Add pinterest “Pin It” button to your wordpress blog

wordpress snippet

Adding a pinterest button to a wordress blog is simple! Place the first snippet in the functions.php of your wordpress theme. Once that is done add the next snippet into the location you wish to display the Pint It button within the single.php template file.

read more

Insert link upon theme activation using wp_insert_link

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the specified link to your wordpress installation upon theme activation.

read more

Add bookmarks to admin bar using get_bookmarks

wordpress snippet

Adding this category bookmarks snippet to the functions.php of your wordpress theme will display a specified category of links / bookmarks to the wordpress admin bar. A great use for this snippet would be to provide resources bookmarks for your authors in a multiple author blog.

read more

Update: Add bookmark links to the wp_nav_menu

wordpress snippet

This is an updated version of the previous snippet I posted on the 11th, I added support for link “target” and “link relationships (XFN)” Adding this snippet to the functions.php of your wordpress theme will add bookmarks from a specified category to the wp_nav_menu.

read more

Remove links manager admin menu

wordpress snippet

With so many people using wordpress as a CMS the links manager is not as useful for many people. Adding this snippet to the functions.php of your wordpress theme will remove the links manager menu. This new wordpress 3.0 function “remove_menu_page” can be used to remove any admin menu.

read more
jqsnipp.com | we just launched jquery snippets website