wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Shortcode to embed google trends graph in posts and pages

wordpress snippet

This Google trends shortcode will embed a graph of any comma separated query you enter to display a trend over time. Make sure to add a + between multiple words that are part of a single query. By default the geolocation is set to United States so change geo praram for another location.

read more

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
jqsnipp.com | we just launched jquery snippets website