Discover, trust, install: FAIR 1.0 is here

Plugin Banner

SWG Location Aware

by shanewebguy

Version: 2.0

Download
Description

SWG Location Aware is a WordPress plugin that I created to dynamically serve content based on a user’s geographic location. I am using a third party service to render the IP address or location within the plugin. The four components I have for my plugin that allows it to dynamically change in the front end of a WordPress theme are widgets, pages and comments. These will give the reader different content based on the locations set in the administrative menu of the plugin. One limitation of this plugin is the accuracy of the smaller areas such as cities and zip codes. The third party service I am using is not able to render these locations accurately based on the information available from the visitor’s IP address. I am constantly working to improve and make additions to this plugin.

This section describes how to install the plugin and get it working.

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Location->Plugin Name screen to add location
  4. Create a Page or a Widget to any location provided.
  5. To enable the comment filter by location go to the settings section and check the checkbox.
  6. Go to the location section, select the country/location and check the SWGLA filter to enable the comment section.
  1. Add a location enter Country (Require), Ip Address (Optional), Region (Optional), City (Optional), Zip.

    Add a location enter Country (Require), Ip Address (Optional), Region (Optional), City (Optional), Zip.

  2. Add a widget section on your page.

    Add a widget section on your page.

  3. Create a Content Widget and select a widget location.

    Create a Content Widget and select a widget location.

  4. Create a Content Page and select a location.

    Create a Content Page and select a location.

  • Version:Version: 2.0
  • Last updated:Last updated: 18-02-2016
  • Requires:Requires: 3.0.1
  • Tested:Tested: 4.2.38
Average rating:0 out of 5 stars.
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top