All our plugins are WooCommerce 3.0 compatible!

If you find any bugs or enhancements in this script get in touch with a clear description of the problem so we can fix it. We do not support modifications!

Requirements

The following things are required to run this script:

  • PHP 5.2.0+
  • MySQL 5+
  • Apache
  • WordPress 3.8+

Index

  1. Installation
  2. Features
  3. Troubleshooting

 

INSTALLATION

1. Upload the ZIP via the wordpress backend

  • Log into your website backend /wp-admin/
  • Go to Plugins -> Install -> Upload Plugin
  • Select the ZIP file and upload it
  • Active it and that’s it!

2. Upload it via FTP

  • Log into your webserver via FTP
  • Unzip the file on your PC
  • Upload the extracted folder to /wp-content/plugins/
  • Go into your backend and activate the Plugin

Return to the Index


FEATURES

Settings Panel

Where can I find the Country Selector settings?

You can find the everything inside your Admin Panel inside Settings -> Country Selector


General Settings

In the General settings are you have the following options:

  • Enable:
    Enable the Country Selector
  • Show Default Country:
    Show a Default Country URL if none of Users languages are covered.
    Otherwise the user will not get a Popup.
  • Default Country URL:
    This site will be used if the users locale is not covered!
  • Force Redirect:
    Automatically Redirect the User.
  • Seconds when Redirect should happen


Countries

Here you configure the Countries and your URLs. Enabling a Continent will show the countries.


Page

  • Enable Page
  • Country Selector URL
    Set your Country Selector URL.
    Remember to add the shortcode: [ wordpress_country_selector ]
  • Show Continent Selector
  • Page Style
  • Show Country Flags
  • Flag Style
  • Show Country Map


Popup / Modal

  • Enable Popup
  • Popup Style
  • Text Color
  • Background Color
  • Modal size
  • Show Header
  • Custom Header Text
  • Show Body
  • Show Footer


Advanced Settings

Custom stylesheet.

  • Custom CSS:
    Add some stylesheet if you want.


Return to the Index


TROUBLESHOOTING

How can I create the country selector page?

Easy! Just create a new blank page in wordpress and insert the following shortcode:

[ wordpress_country_selector ]

Where can I find the Country Selector settings?

You can find the everything inside your Admin Panel inside Settings -> Country Selector


I found a bug / got an error

Please make a comment on codecanyon. We will take care asap!

CHANGELOG

# Changelog
=====
1.12.3
======
- NEW: Page style dropdown
- FIX: Switched editor fields to raw text fields, because " (e.g. in a-Tags break the settings panel)
	   If you really want to have a link in the text fields use ' for the href attribute!
- FIX: Direct redirect when forced redirect & seconds = 0 now works again without delay 

=====
1.12.2
======
- FIX: user logged in exclusion check for force redirect
- FIX: removed some console logs

=====
1.12.1
======
- FIX: get_bloginfo('url') -> get_site_url()

=====
1.12.0
======
- NEW: Moved from Server Side to Frontend Rendering
	   Everything will be fetched via Javascript / AJAX 
	   So now it works with Caching plugins. 

=====
1.11.2
======
- FIX: Class WC_Geolocation already declared

======
1.11.1
======
- NEW: Set a cookie expiration in days

======
1.11.0
======
- NEW: Load your countries in a modal when somebody clicks on the widget link
		Example: See bottom right of Demo page and click the link

======
1.10.6
======
- FIX: Bootstrap Transitions function not loaded

======
1.10.5
======
- FIX: Class WC_GeoLocation error with newest version of WooCommerce plugin

======
1.10.4
======
- NEW: When Default URL shows up a new text appears with "Visit international Version"
- FIX: Removed the users Country <-> site's country check 
- FIX: Close button round 

======
1.10.3
======
- FIX: GEO ip class not found

======
1.10.2
======
- NEW: WPML support (changed get_site_url(); -> get_bloginfo( 'url');)

======
1.10.1
======
- FIX: filter not working when Modal disabled

======
1.10.0
======
- NEW: When you enter 0 for redirect seconds the user will be redirected directly without seeing a popup via WP_REDIRECT()
- FIX: Fix when Wordpress General -> Language was not set "correctly"

======
1.0.9
======
- FIX: Enable force redirect without popup

======
1.0.8
======
- NEW: Better plugin activation
- FIX: Better advanced settings page (ACE Editor for CSS and JS )
- FIX: array key exists

======
1.0.7
======
- FIX: Error when activating in Network

======
1.0.6
======
- FIX: Redux Error

======
1.0.5
======
- NEW: Removed the embedded Redux Framework for update consistency
//* PLEASE MAKE SURE YOU INSTALL THE REDUX FRAMEWORK PLUGIN *//

======
1.0.4
======
- FIX: WC Geolocation class error
- FIX: wc_clean error

======
1.0.3
======
- NEW: Use a better way to detect users country 

======
1.0.2
======
- FIX: Error when wordpress is setted up as a multisite

======
1.0.1
======
- NEW: debug information
- FIX: wrong echo of users country

======
1.0.0
======
- Inital release
Search