WordPress 地理定位帖子?
我想按照这个
http://demo.woothemes.com/cityguide/
我可以点击地图上的一个点,该点将链接到一个帖子,我还希望能够通过邮政编码或城镇进行搜索,因此,如果您想查找伦敦的商店,您可以输入 London,它会显示该位置的所有相关帖子。
非常感谢所有信息:)
I would like to build something along the lines of this
http://demo.woothemes.com/cityguide/
Where I can click a point on the map which will link to a post, I would also like this to be search able by post code or town, so if you wanted to find shops in London, you'd type London and it would show all relative posts which are in that location.
All info is greatly appreciated guys :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有很多选项,我会使用一些方法来研究 Google Maps API JavaScript。
There are a number of options, I would look into the Google Maps API using some JavaScript.
我认为这个插件可以实现您想要实现的目标:发布 Google 地图(来自WebDevStudios.com)。您可以向任何帖子添加地理位置,然后在主页中显示所有帖子,并提供地图上每个帖子的链接。
I think this plugin makes what you want to achieve: Post Google Map (from WebDevStudios.com). You can add to any post a geolocation, then show all of them in the home page, with a link to each post from the map.