Hello. I have barbershop posts in custom post type, each has its own location, that is, a ACF Google Map. According to this, it is necessary to show those closest to the user on a separate page. I need help, I will be extremely grateful
I found such a solution – https://support.advancedcustomfields.com/forums/topic/wp-query-closest-locations-by-acf-google-map-values/, but it is not suitable because there are only 3 posts here, and it is not optimized – I have hundreds of barbershops on the site. Thank you!