Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/horttcore/custom-post-type-locations
WordPress custom post type for managing locations
https://github.com/horttcore/custom-post-type-locations
custom-post-type locations wordpress
Last synced: about 1 month ago
JSON representation
WordPress custom post type for managing locations
- Host: GitHub
- URL: https://github.com/horttcore/custom-post-type-locations
- Owner: Horttcore
- License: gpl-2.0
- Created: 2015-01-31T20:10:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T22:03:56.000Z (almost 2 years ago)
- Last Synced: 2024-04-09T22:01:34.121Z (9 months ago)
- Topics: custom-post-type, locations, wordpress
- Language: PHP
- Homepage: https://horttcore.de
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom Post Type Locations
A custom post type to manage locations
## Supports
* Title
* Editor
* Excerpt
* Thumbnail## Custom Fields
* Street
* Street number
* ZIP
* City
* Address additional
* Region
* Country
* Latitude / Longitdude ( Google Maps GeoAPI )## Language Support
* english
* german## Hooks
### Actions
* `location-table-before` - Before the location table
* `location-table-first` - Before the first row of the location table
* `location-table-last` - After the last row of the location table
* `location-table-after` - After the location table
* `save-location-meta` - Runs when the locationnt of interes location is saved; Location is passed as argument### Filter
* `location` - Get the location data
* `location-save` - The location data that is saved into post_meta
* `location-get-lat-lng` - Get latitude longitude## Changelog
### v0.4
* Refactoring
### v0.3
* Added hook: `location-get-lat-lng`
* Enhancement: Cleanup### v0.2
* Enhancement: Manual location check
* Bugfix: GeoAPI was not saved.### v0.1
* Initial release