该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Whereabouts: Swarm

描述

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

Support

Website

Author

屏幕截图

  • Settings page

安装

  1. Upload the whereabouts-swarm folder to your /wp-content/plugins directory.

  2. Activate the “Whereabouts: Swarm” plugin in the WordPress administration interface.

  3. Go to “Settings” -> “Whereabouts: Swarm” and authenticate with your Swarm/Foursquare account.

Widget

Add the widget, like you do with every other widget. 🙂

Shortcode

Use the following shortcode to display your location:

[whereabouts-swarm]

评价

2016 年 9 月 3 日
Plugin does what it promises to do. Developer was very responsive when I asked for support.
阅读所有1条评价

贡献者及开发者

“Whereabouts: Swarm” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Whereabouts: Swarm」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Whereabouts: Swarm”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.5.0

  • Change plugin home

0.4.0

  • Now using the HTTP API for requests, duh!

0.3.0

  • Use curl if file_get_contents is not available
  • Add more meaningful error messages

0.2.1

  • Fix PHP 7 issues

0.2.0

  • Added a widget

0.1.0

  • Hello World