A
A
Alexey Korolev2021-02-02 14:40:04
Yandex maps
Alexey Korolev, 2021-02-02 14:40:04

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

2 answer(s)
V
Vladimir Korotenko, 2021-02-02
@firedragon

Make a snippet for the place. And paste it into the article. Everything will be automatically displayed.

A
Artem Zolin, 2021-02-03
@artzolin

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 question

Ask a Question

731 491 924 answers to any question