如何使用WordPress添加Google地图而不使用插件

问题描述:

我们如何使用WordPress添加Google地图。如何使用WordPress添加Google地图而不使用插件

考虑我的坐标

<longitude>17.549062233809</longitude> 
<latitude>40.68792578497581</latitude> 

请任何人可以给我一个想法。

谢谢

嵌入地图使用google maps api for javascript并假设你给的坐标,因为要放置的标志物检查here

如果你只是想为那些坐标的静态地图,那么你可以键入40.687926 ,17.549062http://maps.google.com/和获取地图嵌入代码,这就是:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=40.687926,17.549062&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=36.231745,70.136719&amp;ie=UTF8&amp;ll=40.687173,17.550865&amp;spn=1.085161,2.191772&amp;z=9&amp;output=embed"></iframe> 

只需复制并粘贴在你的博客的任何地方。

否则使用其他建议。