wcm / geo-data-store-2
A WordPress plugin that stores lat/lng data in a better optimized table
Requires
- php: >=5.3.0
Replaces
- l3rady/geo-data-store: 2.0.3
This package is not auto-updated.
Last update: 2024-11-09 16:01:01 UTC
README
A WordPress plugin to store latitude and longitude information in a separate (and better optimized) table.
This plugin is a fork of the original (now unmaintained and not available on GitHub) "Geo Data Store" plugin by Scott "l3rady" Carris home and on GitHub.
Scott by now is possibly married and I wish him all the best.
Install
If you´re using Composer, simply add the following line to your require
array:
"wcm/geo-data-store-2" : "dev-master"
Usage
Before activating set what meta keys you want this plugin to capture
by using the filter sc_geodatastore_meta_keys
.
add_filter( 'sc_geodatastore_meta_keys', 'homes_for_sale_geodata' );
function homes_for_sale_geodata( $keys )
{
$keys[] = "properties_address_coords";
return $keys;
}
Your latitude and longitude values have to be stored in a single meta field as comma separated value:
`51.507334,-0.127682`
License
Inherited license from the original software: GPL v2+