Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Whereabouts: Swarm

Disgrifiad

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

Lluniau Sgrin

  • Settings page

Gosod

  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]

Adolygiadau

Medi 3, 2016
Plugin does what it promises to do. Developer was very responsive when I asked for support.
Read all 1 review

Contributors & Developers

“Whereabouts: Swarm” is open source software. The following people have contributed to this plugin.

Cyfranwyr

“Whereabouts: Swarm” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Whereabouts: Swarm” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

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