Wp-calypso: Editor: geotagging not working, location doesn't display on front-end

Created on 16 Mar 2016  路  15Comments  路  Source: Automattic/wp-calypso

The Geotagging feature is not currently functioning when added from Calypso on WordPress.com. To reproduce:

  1. Create a post in WP Admin and add a location.
  2. Post displays location:

screen shot 2016-03-16 at 4 39 33 pm

  1. Create a post on the same site from Calypso, and add location. There is no real way to ensure the location is applied through the interface:

screen shot 2016-03-16 at 4 36 05 pm

  1. Publish the post, no location data is displayed:

screen shot 2016-03-16 at 4 40 52 pm

Editor [Pri] High [Type] Bug

Most helpful comment

Confirmed this is fixed with #24905 馃帀

Editing the location in post sidebar before publishing:
screen shot 2018-07-24 at 14 05 27

The location shows on the front-end now:
screen shot 2018-07-24 at 14 05 17

All 15 comments

The metadata is correctly saved to the post, but is not exposed anywhere on the front-end because it lacks the meta indicating that the location should be publicly published. There are additional user settings which are not being considered in the Calypso editor for checking to see whether the geolocation should be made public.

In fact, this is likely related to 507-gh-io , as this could be processed with the post as it's saved to the REST API.

I was about to report the same bug. For me it manifests itself differently though.

I have a preexisting post, tried to add a location, and it didn't show up on the front end:
screen shot 2016-03-24 at 8 57 55 am

I then went into wp-admin where the location button just showed geo coordinates, not the name of the location:
screen shot 2016-03-24 at 8 58 09 am

Once I searched it again in wp-admin and saved, the location button showed the name of the location and it also showed up in the front-end.

http://konstantin.obenland.it/2016/03/23/point-vicente-lighthouse/

Closed #1443 as a duplicate.

My previous assessment turned out to be incorrect. Instead, it seems we're simply not accounting for posts being saved via the REST API instead of from wp-admin.

Two questions though:

  • Where exactly does one manage their setting to share posts publicly by default? I'm having the hardest time finding this option.
  • Should we just assume that posts saved with location data should have that location data shared publicly? Our support documentation doesn't really do much to indicate that it'd ever not be public, and the feature doesn't seem very useful unless included in the front-end markup of the post.

I don't know where to set that up either, but given that we've been showing this data historically I wouldn't be too concerned to continue doing so from Calypso.

If we're still waiting on the questions above, might be worth a further discussion (say on an internal P2) to get more opinions on it.

CC @supernovia as you mentioned Geo-tagging recently as not working equally in Calypso as it does in wp-admin.

Related; this functionality should ideally be exposed for, and shipped with, Jetpack.

User recently asked about it in 3223210-t .

Also, some (kind of) recent internal discussion around Geotag/Location usage on p4hfux-1qy-p2 .

Another user report: 1014356-zen

Confirmed this is fixed with #24905 馃帀

Editing the location in post sidebar before publishing:
screen shot 2018-07-24 at 14 05 27

The location shows on the front-end now:
screen shot 2018-07-24 at 14 05 17

w00t!

Noticed when prompted to upgrade to a Business plan, I got an AT warning message:

Now that geolocation is supported we should remove this particular warning, CC @jhnstn / @Automattic/atomic

Was this page helpful?
0 / 5 - 0 ratings