這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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