New home › Forums › Pro Add-on › Troubleshooting › Adding marker to single custom post type page with ACF integration
Tagged: ACF, Advanced Custom Fields, Custom Post Type
- This topic has 8 replies, 3 voices, and was last updated 2 years ago by salimsirieh.
-
AuthorPosts
-
August 6, 2020 at 11:47 pm #60347jdeatonParticipant
Hello,
I created a custom post type and added a custom field with ACF to put a marker on the map. I went through this tutorial to set it up (https://www.wpgmaps.com/documentation-advanced-custom-fields-integration/). It is partially working. The pin for the location is showing up on the map. However, instead of just one pin showing up on the map from the currently viewed post, pins from every post in that custom post type are showing up on the map.
In other words, for each single post, I only want one pin to show up (the one that the user is currently on) instead of all pins from that post type.
I hope this makes sense. Please let me know if clarification is needed.
Thanks in advance,
JohnAugust 7, 2020 at 7:44 am #60350StevenModeratorHi there,
Thank you so much for getting in touch, we really appreciate your time.
The Advanced Custom Fields feature usually is best for when you would like to pull multiple post markers into once map, so you may want to look into the default WordPress custom fields to generate a single map/marker for that post.
Kindly find a link below to our documentation on this:
– https://www.wpgmaps.com/introducing-maps-by-custom-fields/I hope this helps?
Kindest Regards,
Steven De BeerAugust 7, 2020 at 11:37 am #60356jdeatonParticipantHi Steven,
That does help. Thank you.
John
August 7, 2020 at 1:12 pm #60357StevenModeratorHi John,
Thank you so much for getting back to me.
I am glad to hear this has helped.
Do have a great weekend ahead!
Kindest Regards,
Steven De BeerFebruary 1, 2021 at 4:24 pm #67395salimsiriehParticipantHello,
I have added the maps using custom fields the same way as is described in the link you provided, the position is correct, however, I am not seeing any marker in the map. Could you help me please?
Attachments:
You must be logged in to view attached files.February 2, 2021 at 9:35 am #67423StevenModeratorHi salimsirieh,
Thank you so much for getting in touch, we really appreciate your time.
Unforutnately, this does appear to be a bug in the newer version of WP Google Maps so we are kindly look at the moment.
Once corrected , we will be releasing a patch for this in an update which should hopefully correct this.
My sincerest apologies for the inconvenience.
Kindest Regards,
Steven De BeerFebruary 19, 2021 at 1:42 pm #67722salimsiriehParticipantHello Steven,
I saw that you released new versions of the plugins, I have installed all three updates but the problem still persists. The plugin correctly generates the location in the map using ACF fields, but there is still no marker, as you can see in the image
– https://i.imgur.com/3IIaZAo.pngCan you please fix this?
February 19, 2021 at 1:46 pm #67723StevenModeratorHi @salimsirieh,
Thank you so much for getting back to us.
This was corrected in one of the recent updates.
Could I kindly ask you to try the following?
Please navigate to -> Maps -> Settings -> Advanced -> Please enable “Developer Mode” and save the settings.
Once saved, please then deactivate Developer mode and save once more.
This should allow the plugin scripts to recompile.
I look forward to hearing back from you.
Kindest Regards,
Steven De BeerFebruary 24, 2021 at 10:02 am #67815StevenModeratorHi again,
Could I kindly ask you to provide us with a temporary admin account so that we might take a closer look and debug?
I look forward to hearing back from you.
Kindest Regards,
Steven De BeerFebruary 26, 2021 at 11:33 am #67847salimsiriehParticipantHello Steven,
can you please tell me with your email, so I can provide you with the account?
Thanks
Salim
February 26, 2021 at 4:06 pm #67854StevenModeratorThis reply has been marked as private.March 2, 2021 at 9:55 am #67901salimsiriehParticipantHello Steven,
could you please provide me with the details so I can generate an account for you? I would like to get this resolved asap 🙂
Thanks
March 2, 2021 at 11:02 am #67905StevenModeratorHi Salim,
Thank you so much for getting back to me.
I have provided this in a private response, however, it seems you are not able to read this message?
Could I kindly ask you to submit a support ticket at the following and kindly attached this forum post link as well as address this to me?
– https://www.wpgmaps.com/contact-us/I can then provide you with these details in a ticket response which will be private instead of via the forum.
I look forward to hearing back from you.
Kindest Regards,
SteveMarch 9, 2021 at 8:37 am #68056salimsiriehParticipantI am not exactly sure how to get to the private messages, could you please contact me on my e-mail? [email protected]
Thank you very much.
I have installed today the latest update of WP Google Maps plugins, but I have not seen any changes in the behaviour of the plugin and the markers.
-
AuthorPosts
- You must be logged in to reply to this topic.