
Whereabouts: Swarm
v0.5.0Florian Ziegler · 2015年11月6日 上架
Display your current location, automatically updated by your latest Swarm check-in.
- 正在使用
- 20+
- 评分
- 5.0 / 5
- 累计下载
- 3,267
- 最近更新
- 2020年9月28日
1 条评价需要 WordPress 4.3+已测试到 5.5.25
截图
Use a widget or the shortcode [whereabouts-swarm] to display your current location anywhere on your website.
Please note: The location will only be displayed if a location has been set.
Styling
There is no extra styling. You can however do it yourself, in your theme. This is what the HTML looks like, depending on what you decide to display (in the settings):
<div class="whereabouts-swarm-location">
<img class="whereabouts-swarm-icon" src="..." alt="" />
<span class="whereabouts-swarm-venue">Venue Name</span>
<span class="whereabouts-swarm-city">City Name</span>
<span class="whereabouts-swarm-country">Country Name</span>
<span class="whereabouts-swarm-timezone">UTC Time Zone</span>
</div>
Requirements
- PHP 5.3
- WordPress 4.3
