Aprašymas
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
Diegimas
-
Upload the
whereabouts-swarmfolder to your/wp-content/pluginsdirectory. -
Activate the „Whereabouts: Swarm” plugin in the WordPress administration interface.
-
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]
Atsiliepimai
Programuotojai ir komandos nariai
“Whereabouts: Swarm” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiĮskiepis “Whereabouts: Swarm” išverstas į 1 kalbą. Dėkojame vertėjams už jų darbą.
Išverskite “Whereabouts: Swarm” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.
Pakeitimų istorija
0.5.0
- Change plugin home
0.4.0
- Now using the HTTP API for requests, duh!
0.3.0
- Use
curliffile_get_contentsis 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

