Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  init settings
  • Loading branch information
Damian Logghe committed May 24, 2017
2 parents 4fbe461 + f869482 commit f9e0ab4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,24 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
Create Geo redirects in an incredible easy way and use different set of rules to match users

== Description ==
Geo redirects plugins it's much more than a simple geo plugin. You can create powerful redirections with the simple rules interface.

Rules available:


* Redirect based on City, country, states
* Redirect on specific pages, templates, posts, etc
* Redirect users from search engines
* Redirect users that never commented
* Redirect users that arrived via another page on your site
* Redirect users via roles
* Redirect depending on referrer
* Redirect to logged / non logged users
* Redirect or not to mobile, desktop and tablet users
* Redirect or not to bots / crawlers like Google
* Redirect or not depending on query strings EG: utm_source=email
* Redirect depending on post type, post template, post name, post format, post status and post taxonomy
* Redirect depending on page template, if page is parent, page name, page type

== Installation ==

Expand Down
2 changes: 2 additions & 0 deletions includes/class-geotr.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @package Geotr
* @subpackage Geotr/includes
*/
use GeotFunctions\Setting\GeotSettings;

/**
* The core plugin class.
Expand Down Expand Up @@ -140,6 +141,7 @@ public function __construct() {
$this->version = GEOTR_VERSION;

$this->load_dependencies();
GeotSettings::init();
$this->set_locale();
$this->define_admin_hooks();
$this->define_global_hooks();
Expand Down

0 comments on commit f9e0ab4

Please sign in to comment.