-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Geomashup fields to WP GraphQL #886
Comments
I don't have a plan to implement this, but would certainly accept pull requests. A workaround might be to use the Settings / Geo Mashup / Copy Geodata Meta Fields feature to get the geodata into WordPress metadata. That copying only happens when the geodata is saved, so turning that on does not immediately add it to existing geolocated objects. |
Thanks for your response. I had set the setting to copy geodata into post metas, so I will try to get them this way. |
I could make it work using I added this piece of code in my theme. Any idea where I could add this in GeoMashup to send a pull request ?
And you can use it this way :
|
Hi,
I try to use Gatsby with an existing Wordpress site using Geomashup. But it looks like Geomashup fields (latitude and longitude) are not available in WP GraphQL which is used by latest Gatsby Wordpress source plugins. Is there a plan to include Geomashup in GraphQL ?
Thanks for your help
The text was updated successfully, but these errors were encountered: