updated   : May 15, 2012
we now have 588 snippets
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 July 29, 2011 9:00 am

Embed Google books in your posts using shortcode

wordpress snippet

Adding the first snippet to the functions.php of your wordpress theme will let you use shortcode to embed google books. Just because it took me a while to find the ISBN number to embed a book. Look at the top right of the page when viewing a book for “About This Book”. Click on about this book and at the very bottom of the page you will find the ISBN number.

read more
By : , on June 20, 2011 9:00 am

Google charts shortcode, lines, xyline, sparkline, meter, scatter, venn, pie, pie2d

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a new shortcode that takes advantage of the Google charts API. This shortcode will let you display a range of charts “lines, xyline, sparkline, meter, scatter, venn, pie, pie2d” See the below shortcode example of a 3D pie chart. Change the type attribute in your shortcode to specify the type of graph you wish to display.

read more
By : , on June 09, 2011 9:00 am

Display search terms from google visitors

wordpress snippet

Adding this snippet to your wordpress template will let you display the google search terms visitors use to find your website.

read more
By : , on February 21, 2011 10:38 pm

Display search terms from google

wordpress snippet

Add this PHP snippet to your wordpress theme. When users find your website via Google, the terms they used to find your site will be displayed.

read more
By : , on February 09, 2011 10:00 am

Google maps shortcode

wordpress snippet

Adding the first block of code to your functions.php will allow you to use shortcode to add google maps to your wordpress blog.

read more
By : , on February 06, 2011 3:40 pm

Auto include Google analytics Code

wordpress snippet

Adding this PHP code snippet to the functions.php of your wordpress theme will add Google analytics, be sure to replace UA-XXXXXXX-X with your own google tracking code.

read more
By : , on December 05, 2010 3:00 pm

Detect user from Google

wordpress snippet

Adding this PHP code to your wordpress theme will let you display a message to users that found your website via Google.

read more