Skip Navigation

[Résolu] "Location" Custom Taxonomy or Maps?

This support ticket is created Il y a 4 années et 11 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par matthewP-16 Il y a 4 années et 11 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1407497

Tell us what you are trying to do?

I have three CPTs that I'd like to be able to organize by location. I'd like to organize it by Country, State, and City. Is this something that would best be achieved by creating a custom taxonomy and making it hierarchical or is this something that can be achieved using the maps integration?

Thanks.

#1407983

Hello,

If you don't need specific the location point in Google map, you can try one of below two options:
1) A custom hierarchical taxonomy:
https://toolset.com/documentation/user-guides/create-custom-taxonomies/

2) If you need setup a custom search form, like below demo site:
lien caché
User can choose the options in search form: Country-> State-> City
You can try with post types relationships, for example:
See our document:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/how-to-filter-posts-by-their-ancestors/

#1438729

Thank you. This is very helpful.