Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged google
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Magento Social Login extension allows Customers to log in to your site using their accounts of various popular networks: Facebook, Google, Twitter.
0
1205
posted 10 years ago by steelgray9
Magento Google maps extension allows visitors to track the nearest physical store and get the directions online. It is a useful extension for e-merchants having multiple stores on different locations.
The customers can also search for the store by t...
0
924
posted 11 years ago by simonwalker
Breaks up an address (in this case returned by Advanced Custom Fields Location plugin) into it's components. Additionally, sorts a multidimensional array of locations alphabetically by state. This works for basic addresses assuming that address is in...
1
893
posted 11 years ago by devowhippit
Make your spreadsheet public to get a key like this: 0AsfENoKj1ir7dE8yR6U0aUtpdTVNM20wRlNJOhZaclG
Set it on the script and you're all done.
0
932
posted 12 years ago by Felladrin
interesting app: http://codecanyon.net/item/socialcounter-php-class-social-statistics/282826
0
770
posted 12 years ago by czachor
Embedding Google’s +1 button is pretty easy and straightforward. All it takes is to include 2 code snippets in your web page. One goes in the header of the page, and the other one goes to wherever where you want the +1 button to render. To do so al...
0
812
posted 13 years ago by necode
I needed a simple function to shorten a link with goo.gl and wrote this, thought it may help someone. Note: you still need an API key from goo.gl
1
1788
posted 13 years ago by lasavior
Example of using http://code.google.com/p/gapi-google-analytics-php-interface/ to graph google analytics data.
1
871
posted 14 years ago by dtbaker
Very usefull translation adapter for simple interfaces where creating translation files is just a bit to much.
1
641
posted 14 years ago by RonXS
With this customizable code you can add google weather showing current temps, conditions, and forecast for any location to your website. User prompts are included to allow the user to change the default location easily then hit the "go" button. Auto...
0
692
posted 14 years ago by stevethomas2011
Used to make a Google Pie Chart, with optional labels and size from an array, using the array keys as the labels and the values for the data.
0
757
posted 14 years ago by alexstone
When creating a custom Google Map, the latitude and longitude for the place of interest are needed. Enter in the Address, City, and State, and the lat and lng pair will be returned.
4
1541
posted 14 years ago by tcam27
This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript,...
0
3018
posted 14 years ago by ginoplusio
Place the following code in header.php before the call to wp_head().
(If you do not include the exact version number when calling libraries from Google's AJAX Libraries API, a redirect is used to pull up the most current version. While this is han...
3
1153
posted 14 years ago by chrisdpratt
Below are two functions I've been using to make event tracking a little easier in CodeIgniter.
Two functions are available, google_analytics() & track_event().
google_analytics() takes one argument and uses it as the UA code for your tracking p...
5
1379
posted 15 years ago by brettbergeron
Include this in any page you want to track for Google bot crawls.
Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
9
903
posted 15 years ago by NyX