CodeCanyon
CodeCanyon
Code
Code
Code
Code
Code
Code

Wordpress Country Selector

Wordpress Country Selector

Wordpress Country Selector - Online Documentation Wordpress Country Selector - Online Demo

Free WordPress Plugins

The Ultimate Wordpress Country Picker

Guide your users to your Country Specific Website translated in their language. Let us take this example: A User from Netherland visits your French site (e.g. www.site.fr) / shop. That should be no problem but you already have a Dutch translated Website (e.g. www.site.nl)! So why not show him? With this plugin a simple Country Selector Popup will show the user that there is a Dutch Website he can visit.

Not a friend of a popup? Just show the user a simple “Choose your Country”-Widget in the Footer oder Header. This will bring the user to an Overview page with all your country specific websites. With flags, maps, continents!
Saving the best for last: The content will be shown in the Users Language!

WP-Admin Demo Login

WP Country Selector Features

Wordpress Country Selector

  • More than 5 possible layouts
  • 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.
  • Configure the seconds when the Redirect should happen
  • Show a Country Selector Page
  • Country Selector URL Set your Country Selector URL.
    Remember to add the shortcode: [wordpress_country_selector]
  • Show Continents as Filter
  • 2 Page Styles
  • Show a Country Flags
  • 2 Flag Style (simple and circle)
  • Show a Country Map
  • Show the Country Popup Notice
  • 2 Popup Style (Modal, Header)
  • Edit Popup Text Color
  • Edit Popup Background Color
  • Modal size
  • Show Header
  • Custom Header Text
  • Show Body
  • Show Footer
  • Custom CSS: Add some stylesheet if you want.
  • Well Documentented

This plugin requires the free Redux Framework Plugin to give you an easy to manage settings panel.

Tested

  • Tested with Wordpress 3.8+

Compatibility

  • WordPress 3.8.1+
  • PHP 5.2+
  • Multilingual Support

Changelog

======
1.2.0
======
- NEW:  Popup Style Continue & All Flags
        Shows a continue button to stay on current page 
        and below that all other countries as flags
- NEW:  Show popup always option
        Regardless of users country and sites country the popup will show
        This does not affect the cookie
- NEW:  Cookie will not also be set when a link on modal is clicked
- NEW:  Set text for the popup inside the settings panel
- NEW:  WPML Support
- FIX:  Small tweaks & performance issues

======
1.12.9
======
- FIX: undefined variables notice

======
1.12.8
======
- FIX: Country Selector page when translations were done

======
1.12.7
======
- FIX: Switched from .getJSON to .ajax in public JS file

======
1.12.6
======
- FIX: PHP 5.4 Support

======
1.12.5
======
- FIX: WPML support for AJAX check when no refferer is set

======
1.12.4
======
- NEW: WPML support for AJAX check
- NEW: Style option for country selector widget:
        Link: Simple link with current Flag to the country selector page
        Dropdown: List Dropdown with all created countries, link and their flag
- NEW: Shortcode to display the country selector widget
       How to use: [country_selector text="Select a country" style="link OR dropdown"]
- FIX: Map glyph for GB (United Kingdom)

=====
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

======
Future Updates
======
- Load external CSS optionally (font awesome)
- Set a cookie to remember users choice
- Stay at "United States" -> "International" 
by
by
by
by
by
by