This plugin allows you to display your last Swarm checkin as a map widget on the sidebar or embedded via a shortcode in a post or page of your WordPress powered site. Setting and options include: Associate your WordPress powered site with your Foursquare account using OAuth 2.0 , which keeps your pe
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 3.9.0.
SourceWordPress plugins · Nov 29, 2026
01 / Source details
Aboutthistool.
This plugin allows you to display your last Swarm checkin as a map widget on the sidebar or embedded via a shortcode in a post or page of your WordPress powered site.
Setting and options include:
01Associate your WordPress powered site with your Foursquare account using OAuth 2.0 , which keeps your personal information safe and secure.
02Choose which map provider you want your checkin shown on; you can choose from: HERE Maps
03Google Maps v3
04Bing Maps v7
05OpenStreetMap from Leaflet
06OpenStreetMap from OpenLayers
07OpenStreetMap from MapQuest
Add your maps API key(s) for your chosen map provider; HERE, Google, Bing and MapQuest maps all require API keys. Choose the width and height of the widget and map on the sidebar. The width and height can be specified either as pixels ( px ) or as a percentage. Choose the zoom level of the map display.
The strapline text containing the venue name, venue URL and timestamp of your last Swarm checkin can be customised via the plugin’s filters. See the Filter Support And Usage section for more information.
The current version of this plugin allows you to associate a single Foursquare account with your WordPress site; associating multiple Foursquare accounts, one per user account is not currently supported.
Shortcode Support And Usage
WP Quadratum supports two shortcodes and three shortcode aliases; [wp_quadratum_map] to expand the shortcode in a post or page and replace it with the checkin map and [wp_quadratum_locality] to allow you to embed aspects of your last checkin in a post or page.
[wp_quadratum_map]
Adding this shortcode to the content of a post or page as content, expands the shortcode and replaces it with a checkin map.
The shortcode also supports multiple attributes which allow you to customise the way in which the shortcode is expanded into the checkin map:
The width attribute, in conjunction with the height attribute specifies the width of the map to be inserted into a post or page. If omitted, the map width defaults to a value of 300 .
** The “width_units” Attribute **
The width_units attribute, specifies how the value specified in the width attribute should be interpreted. Valid values for this attribute as px and % , denoting that the width attribute should be interpreted in pixels or as a percentage respectively. If omitted, this attribute defaults to a value of px .
** The “height” Attribute **
The height attribute, in conjunction with the width attribute specifies the height of the map to be inserted into a post or page. If omitted, the map height defaults to a value of 300 .
** The “height_units” Attribute **
The height_units attribute, specifies how the value specified in the height attribute should be interpreted. Valid values for this attribute as px and % , denoting that the height attribute should be interpreted in pixels or as a percentage respectively. If omitted, this attribute defaults to a value of px .
** The “zoom” Attribute **
The zoom attribute specifies the zoom level to be used when displaying the checkin map. If omitted, the zoom level defaults to a value of 16 which is roughly analogous to a neighbourhood zoom.
[wp_quadratum]
The [wp_quadratum] shortcode is an alias for the [wp_quadratum_map] shortcode and has the same functionality.
[wpq_map]
The [wpq_map] shortcode is an alias for the [wp_quadratum_map] shortcode and has the same functionality.
[wp_quadratum_locality]
Adding this shortcode to the content of a post or page, expands the shortcode and replaces it with information about your last Foursquare checkin. The information to be displayed is selected by the shortcode’s type attribute, which allows you to select the venue name, address, region, postal code, coordinates, timezone or timezone offset.
By default, the [wp_quadratum_locality] shortcode and the [wpq_locality] alias are disabled. This is because not all Foursquare venues contain the full scope of locality elements that the shortcode supports (the minimum requirements for a Foursquare venue are name, category and coordinates). To backfill any missing venue elements, WP Quadratum uses a reverse geocoding service from Factual to supply the missing information.
To enable the [wp_quadratum_locality] shortcode, from the Dashboard navigate to Settings / WP Quadratum and click on the Shortcodes tab. Select the Enable Locality Shortcode Usage checkbox and the Factual OAuth Settings meta-box will appear. You’ll then need to sign up for a Factual API key after which you’ll be given an OAuth Key and OAuth Secret . Copy and paste these into the Factual OAuth text fields and click on Save Shortcode Settings . You’ll now be able to use the [wp_quadratum_locality] shortcode or its alias.
The “type” Attribute
The type attribute specifies the element of your last Foursquare checkin that is to be displayed in a post or page and can take one of the following values:
venue – the name of the last Foursquare venue you checked into.
address – the street address of the venue; not including the region, locality or postal code.
region – the region of the venue; the geographic context of the region will vary from country to country but is roughly analogous to the venue’s city.
postcode – the postal code of the venue, if the country or region supports postal codes.
coordinates – the geographic coordinates of the venue, in the form latitude,longitude.
timezone – the timezone name of the time of the checkin, such as Europe/London .
tzoffset – the offset from GMT of the time of the checkin, in the form GMT[-+]hours, such as GMT-1 or GMT+2.
locality – the locality of the venue; the geographic context of the locality will vary according to country, but is roughly analogous to the town or neighbourhood.
If the type attribute is not supplied, or if the value of this attribute is not one of the above values, type="locality" will be assumed. The shortcode’s replacement value can be modified via the plugin’s wp_quadratum_locality filter; see the Filter Support and Usage section for more information.
[wpq_locality]
The [wpq_locality] shortcode is an alias for the [wp_quadratum_locality] shortcode and has the same functionality.
Filter Support And Usage
WP Quadratum supports three filters, which are described in more detail below. The plugin’s filters allow you to:
change the descriptive text that appears immediately below the map when displayed via the plugin’s widget or shortcode.
gain access to the checkin metadata that is returned from the Foursquare API
change the output of the [wp_quadratum_locality]` shortcode
wp_quadratum_checkin
Allow a filter hook function to gain access to the checkin metadata that is returned from the Foursquare API and which is used to build the checkin map and strapline. It’s important to note that the implementation of this filter isn’t strictly a WordPress filter per se. The user defined hook function is passed only the checkin metadata. Any changes made to the metadata will not be reflected in the output of the plugin’s or shortcode’s map, nor will any return value from the hook function be honoured by the plugin. The filter will be called before the wp_quadratum_strapline filter, if used, allowing you to store the checkin contents and use them within the wp_quadratum_strapline filter hook.
The contents of the checkin data this filter can access are a Checkin Response object, which is documented on the Foursquare Developer Site .
Example: Store the contents of the Foursquare checkin that the plugin will be to display the checkin map.
Applied to the strapline that is displayed via the plugin’s widget or shortcode. The strapline is the text that appears immediately below the checkin map.
Example: Change the date and time formatting in the strapline
add_filter('wp_quadratum_strapline', 'format_strapline', 10, 2); function format_strapline($content, $params) { // $params = array ( // 'venue-url' => '4Sq venue url for checkin', // 'venue-name' => 'checkin venue name', // 'checked-in-at' => 'timestamp of checkin' // ); $strapline = '<h5>Last seen at <a href="' . $params['venue-url'] . '" target="_blank">' . $params['venue-name'] . '</a> on ' . date('l jS \of F Y h:i:s A', $params['checked-in-at']) . '</h5>'; return $strapline; }
wp_quadratum_locality
Applied to the replacement content of the [wp_quadratum_locality] shortcode immediately before the shortcode is replaced. The filter’s hook function is passed two arguments; the shortcode’s value and corresponding type attribute.
Example: Wrap each invocation of the [wp_quadratum_locality] shortcode in a div whose class includes the attribute type.
Installed Plugins: Authentication prompt shown after activating plugin for the first timeSettings and Options: Foursquare Tab; No Client ID or Client Secret entered or savedSettings and Options: Foursquare Tab; Client ID and Client Secret savedFoursquare Authentication: Allow or deny plugin access to your Foursquare accountSettings and Options: Foursquare Tab; Successfully authenticated with FoursquareSettings and Options: Maps Tab; HERE Maps configurationSettings and Options: Maps Tab; Google Maps v3 configurationSettings and Options: Maps Tab; Leaflet Maps configurationSettings and Options: Maps Tab; Bing Maps v7 configurationSettings and Options: Maps Tab; OpenLayers Maps configurationSettings and Options: Maps Tab; MapQuest Open Maps configurationSettings and Options: Shortcode Tab; [wp_quadratum] shortcode enabledSettings and Options: Shortcode Tab; [wp_quadratum_locality] shortcode enabled, no Factual OAuth Key or Secret entered or savedSettings and Options: Shortcode Tab; [wp_quadratum_locality] shortcode enabled, Factual OAuth Key and Secret savedSettings and Options: Defaults TabSettings and Options: Colophon TabAppearance: Widgets; Sample widget settingsSample Widget: Google v3, HERE and Leaflet mapsSample Widget: Bing v7, OpenLayers and MapQuest Open maps
02 / Source details
Gettingstarted.
01You can install WP Quadratum automatically from the WordPress admin panel. From the Dashboard, navigate to the Plugins / Add New page and search for “WP Quadratum” and click on the “Install Now” link.
02Or you can install WP Quadratum manually. Download the plugin Zip archive and uncompress it. Copy or upload the wp-quadratum folder to the wp-content/plugins folder on your web server.
03Activate the plugin. From the Dashboard, navigate to Plugins and click on the “Activate” link under the entry for WP Quadratum.
04Configure your Foursquare credentials; from the Dashboard, navigate to the Settings / WP Quadratum page or click on the “Settings” link from the Plugins page on the Dashboard.
05To display your Swarm checkins, WP Quadratum needs to be authorised to access your Foursquare account information; this is a simple, safe and secure 3 step process. WP Quadratum never sees your account login information and cannot store any personally identifiable information. Register your WordPress site as a Foursquare application on the Foursquare App Registration page. If you’re not currently logged into your Foursquare account, you’ll need to login with the Foursquare account whose checkins you want WP Quadratum to display. The Your app name field is a label you want to use to identify this connection to your Foursquare account. The Download / welcome page url is the URL of your WordPress site. The Redirect URI will be provided for you and will be along the lines of http://www.yoursite.com/wp-content/plugins/wp-quadratum/includes/wp-quadratum-callback.php (this is just an example, don’t use this URL ). Push API Notifications should be set to Disable pushes to this app . All other fields can be left at their default values. Once you have successfully registered your site, you’ll be provided with two keys, the Client ID and the Client Secret .
06Copy and paste the supplied Client ID and Client Secret into the respective WP Quadratum setting fields. Click on the “Save Changes” button to preserve them.
07You should now be authorised and ready to go; click on the Connect to Foursquare button.
Choose your mapping provider. From the Maps tab, select the map provider from the Maps Provider drop down. If your chosen mapping provider requires an API key or keys, enter them as requested. If you don’t have an API key, each maps provider tab has a link to the provider’s site where you can sign up and obtain your API key. Click on the Save Changes button to save your credentials. Add and configure a WP Quadratum Widget. From the Dashboard, navigate to Appearance / Widgets and drag the WP Quadratum Widget to your desired widget area. You can configure the widget’s title, with widget’s width and map height in px or as a percentage and the map zoom level. Click on the Save button to preserve your changes.
03 / Source details
Frequently asked questions.
How do I get help or support for this plugin?
In short, very easily. But before you read any further, take a look at Asking For WordPress Plugin Help And Support Without Tears before firing off a question. In order of preference, you can ask a question on the WordPress support forum ; this is by far the best way so that other users can follow the conversation. You can ask me a question on Twitter; I’m @vicchi . Or you can drop me an email instead. I can’t promise to answer your question but I do promise to answer and do my best to help.
Is there a web site for this plugin?
Absolutely. Go to the WP Quadratum home page for the latest information. There’s also the official WordPress plugin repository page and the source for the plugin is on GitHub as well.
I have multiple authors on my site; can I have a widget for each author’s Foursquare account?
In the current version, no. In the current version, you can link a single Foursquare account with your WordPress site (multi-site or network sites may work, assuming each site is for a single user but I haven’t tested this). The plugin is currently designed to support a WordPress site which is used for a personal blog (in other words, exactly the way my site is set up). Future versions of the plugin may support this if people ask for this feature (assuming anyone apart from myself actually uses it!).
Can I change the format of the strapline that appears under the checkin map?
Yes. The wp_quadratum_strapline filter is for just this purpose. The filter is passed the default strapline as well as the URL to the Foursquare venue checked in at, the name of the venue and the date and time of the checkin as a UNIX timestamp. See the Filter Support And Usage section for more information.
I want to amend/hack/augment this plugin; can I do the same?
Totally; this plugin is licensed under the GNU General Public License v2 (GPLV2). See http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt for the full license terms.
Where does the name WP Quadratum come from?
WP Quadratum is named after both the Latin words quattor , meaning four and quadratum , meaning square .
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati