Answer the question
In order to leave comments, you need to log in
How to Organize a Places Directory System in WordPress?
I am making a catalog of places, I need to display the location of the object on the map in the article, for all articles and for each category. How can I do that?
Answer the question
In order to leave comments, you need to log in
Make a snippet for the place. And paste it into the article. Everything will be automatically displayed.
Each post should have a field for recording geo-coordinates. Get posts with get_posts()
or wp_query()
, meta with get_post_meta()
and loop collect json data as in this example Problem when adding 10 thousand points to Yandex api maps?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question