How to display content depending on the city?
How can I implement that in dependence on the city display different content. Geolocation by IP is not needed, simply select a previously entered city.
asked September 26th 19 at 11:40
If you have two tables cities and content, organize a connection between them many to many and the existence of a relationship determine what content to show.
Taxonomy Of The City. Remember in the cookies. Or usermeta. And then pre_get_post and output depending on the city
Find more questions by tags WordPress