GithubHelp home page GithubHelp logo

franz-josef-kaiser / geo-data-store-2 Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 200 KB

A WordPress plugin to store latitude and longitude information in a separate (and better optimized) table.

PHP 100.00%

geo-data-store-2's Introduction

Geo Data Store

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+

geo-data-store-2's People

Contributors

franz-josef-kaiser avatar

Stargazers

blindmikey avatar Timothy Wood avatar Patrick Matsumura avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.