Skip to content

poundandgrain/locations-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

locations-json

This plugin makes use of WP-CLI to create a JSON file of location post types to facilitate geolocation. One key feature is that it makes it possible to schedule task.

Usage

From within WP instance wp process_locations_json

Petcurean International

(using the international branch) this contains reference to wpml to create json files for each language, using the wp-cli the $_SERVER array doesn't exist

hack solution, temporarily add $_SERVER['SERVER_NAME'] = 'petcurean.international'; to /srv/www/petcurean_i18n/releases/20190809/config/environments/production.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages