wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Blog default short URLS

wordpress snippet

Adding this code snippet to your wordpress theme will display the built in short your for your blog post. You could use something like this for your tweets rather then bit.ly or other URL shorteners.

read more

Display current page sub pages

wordpress snippet

Adding this wordpress code snippet to your page.php will display the current pages sub/child pages in a list.

read more

Last loved track on last.fm

wordpress snippet

Adding this wordpress code snippet to your theme will display your most recent loved track from last.fm. Make sure you change YOURUSERNAME text within the RSS url to your last.fm username.

read more

Set fetch_feed to update sooner

wordpress snippet

Adding this code snippet to your functions.php will force fetch_feed( $uri ) to update sooner, set time in milliseconds.

read more

Simple breadcrumbs

wordpress snippet

Add the first snippet of code to your wordpress functions.php. Then add the second block of code to your theme in the place you wish to display your breadcrumbs.

read more

Next and previous post images

wordpress snippet

Adding this PHP code to your wordpress theme will display image links for your next and previous posts. Upload images to your theme with the name next.png and prev.png.

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