diff --git a/CHANGELOG.md b/CHANGELOG.md
index cdeaa91..3d2beba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,223 @@
All notable changes to this project will be documented in this file.
+## [1.2.18] - 2022-07-22
+
+### Build
+
+- Bookmark: merge to master
+- Bookmark: merge to master
+- Updated name of plugin in release script
+
+## [1.2.17] - 2022-05-19
+
+### Documentation
+
+- :memo: removed console.log statement
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.16] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version
+- :construction_worker: disabled sslverify in dev env for layout call
+
+## [1.2.15] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version numbers
+- :construction_worker: changed git cliff tag name to fit the actual tag
+
+## [1.2.14] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number everywhere
+
+## [1.2.13] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped correct version number in ikotravel.php
+
+## [1.2.12] - 2022-05-16
+
+### Styling
+
+- :lipstick: added square brand icon
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.11] - 2022-05-16
+
+### Bug Fixes
+
+- :bug: fixed local development
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.10] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number correctly
+
+## [1.2.18] - 2022-07-22
+
+### Build
+
+- Bookmark: merge to master
+- Updated name of plugin in release script
+
+## [1.2.17] - 2022-05-19
+
+### Documentation
+
+- :memo: removed console.log statement
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.16] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version
+- :construction_worker: disabled sslverify in dev env for layout call
+
+## [1.2.15] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version numbers
+- :construction_worker: changed git cliff tag name to fit the actual tag
+
+## [1.2.14] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number everywhere
+
+## [1.2.13] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped correct version number in ikotravel.php
+
+## [1.2.12] - 2022-05-16
+
+### Styling
+
+- :lipstick: added square brand icon
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.11] - 2022-05-16
+
+### Bug Fixes
+
+- :bug: fixed local development
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.10] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number correctly
+
+## [1.2.18] - 2022-07-21
+
+### Documentation
+
+- :memo: removed console.log statement
+
+### Build
+
+- Updated name of plugin in release script
+- Bookmark: merge to master
+
+## [1.2.16] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version
+- :construction_worker: disabled sslverify in dev env for layout call
+
+## [1.2.15] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version numbers
+- :construction_worker: changed git cliff tag name to fit the actual tag
+
+## [1.2.14] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number everywhere
+
+## [1.2.13] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped correct version number in ikotravel.php
+
+## [1.2.12] - 2022-05-16
+
+### Styling
+
+- :lipstick: added square brand icon
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.11] - 2022-05-16
+
+### Bug Fixes
+
+- :bug: fixed local development
+
+### Build
+
+- Bookmark: merge to master
+
+## [1.2.10] - 2022-05-16
+
+### Build
+
+- Bookmark: merge to master
+- :construction_worker: bumped version number correctly
+
## [1.2.17] - 2022-05-19
### Documentation
diff --git a/README.md b/README.md
index 1721377..a7c44c2 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,21 @@
-# iko.travel Affiliate WordPress plugin documentation #
+# WINK Affiliate WordPress plugin documentation #
### Project information ###
-* Summary: Integrates WordPress with your iko.travel seller account at [https://sell.iko.travel][https://sell.iko.travel]
+* Summary: Integrates WordPress with your WINK seller account at [https://sell.WINK][https://sell.WINK]
### Setup ###
-Once you've created an account with iko.travel, you can install this WordPress plugin on your site. Once installed, the plugin will ask you for your clientId and secretKey to connect with your account on iko.travel.
+Once you've created an account with WINK, you can install this WordPress plugin on your site. Once installed, the plugin will ask you for your clientId and secretKey to connect with your account on WINK.
Once you've entered your credentials, you can go to your Gutenberg editor and start embedding our web components into your site.
Available components (short code : description):
-* [ikolookup]: Works with ranked content grid. Type in a place you want to visit and have inventory displayed.
-* [ikosearch]: Simple button to open up itinerary form.
-* [ikoaccount]Account: Button to let you authenticate. Once authenticated, it turns into a dropdown with account options.
-* [ikoitinerary]Itinerary: Same as search button, only it contains itinerary information as button text.
-* [ikocontent]: Lets you embed the inventory you've selected on iko.travel directly into a page or post.
+* [winklookup]: Works with ranked content grid. Type in a place you want to visit and have inventory displayed.
+* [winksearch]: Simple button to open up itinerary form.
+* [winkaccount]Account: Button to let you authenticate. Once authenticated, it turns into a dropdown with account options.
+* [winkitinerary]Itinerary: Same as search button, only it contains itinerary information as button text.
+* [winkcontent]: Lets you embed the inventory you've selected on WINK directly into a page or post.
### Options ###
There are 2 ways to use our components:
@@ -25,6 +25,6 @@ There are 2 ways to use our components:
### Support ###
-* Support: bjorn@iko.travel
+* Support: bjorn@wink.travel
-[https://sell.iko.travel]: https://sell.iko.travel
\ No newline at end of file
+[https://sell.wink.travel]: https://sell.wink.travel
\ No newline at end of file
diff --git a/README.txt b/README.txt
index 630c72e..19d392b 100644
--- a/README.txt
+++ b/README.txt
@@ -1,29 +1,29 @@
-=== iko.travel Affiliate ===
-Contributors: MB-Jan, ikotravel
-Tags: travel, iko, booking
+=== WINK Affiliate ===
+Contributors: MB-Jan, wink
+Tags: travel, wink, booking
Requires at least: 4.7
-Tested up to: 6.0
-Stable tag: 1.2.17
-Version: 1.2.17
+Tested up to: 6.0.1
+Stable tag: 1.2.18
+Version: 1.2.18
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
-Integrates WordPress with your iko.travel seller account. Learn more at [https://sell.iko.travel](https://sell.iko.travel "Your favorite travel inventory software").
+Integrates WordPress with your WINK seller account. Learn more at [https://sell.wink.travel](https://sell.wink.travel "Your favorite travel inventory software").
== Description ==
-Once you've created an account with iko.travel, you can install this WordPress plugin on your site. Once installed, the plugin will ask you for your clientId and secretKey to connect with your account on iko.travel.
+Once you've created an account with WINK, you can install this WordPress plugin on your site. Once installed, the plugin will ask you for your clientId and secretKey to connect with your account on WINK.
Once you've entered your credentials, you can go to your Gutenberg editor and start embedding our web components into your site.
Available components:
-* [ikolookup]: Works with ranked content grid. Type in a place you want to visit and have inventory displayed.
-* [ikosearch]: Simple button to open up itinerary form.
-* [ikoaccount]Account: Button to let you authenticate. Once authenticated, it turns into a dropdown with account options.
-* [ikoitinerary]Itinerary: Same as search button, only it contains itinerary information as button text.
-* [ikocontent]: Lets you embed the inventory you've selected on iko.travel directly into a page or post.
+* [winklookup]: Works with ranked content grid. Type in a place you want to visit and have inventory displayed.
+* [winksearch]: Simple button to open up itinerary form.
+* [winkaccount]Account: Button to let you authenticate. Once authenticated, it turns into a dropdown with account options.
+* [winkitinerary]Itinerary: Same as search button, only it contains itinerary information as button text.
+* [winkcontent]: Lets you embed the inventory you've selected on WINK directly into a page or post.
== Options ==
There are multiple ways to use our components:
@@ -33,9 +33,9 @@ There are multiple ways to use our components:
== Frequently Asked Questions ==
-= Is a an iko.travel seller account required to use this plugin? =
+= Is a an WINK seller account required to use this plugin? =
-Yes. Learn more at [https://sell.iko.travel](https://sell.iko.travel "Your favorite travel inventory software").
+Yes. Learn more at [https://sell.wink.travel](https://sell.wink.travel "Your favorite travel inventory software").
= Is it compatible with PHP <8.0 =
@@ -43,12 +43,15 @@ If you notice any issues, please contact us.
== Support ==
-* Support: bjorn@iko.travel
+* Support: bjorn@wink.travel
-[https://sell.iko.travel](https://sell.iko.travel "Your favorite travel inventory software")
+[https://sell.wink.travel](https://sell.wink.travel "Your favorite travel inventory software")
== Changelog ==
+= 1.2.18 =
+* Rebrand to WINK.
+
= 1.2.17 =
* Includes multiple fixes + notice if permalinks have not been set in WordPress.
diff --git a/css/customize.css b/css/customize.css
index 1ae389e..4ca2c8b 100644
--- a/css/customize.css
+++ b/css/customize.css
@@ -1,4 +1,4 @@
/* A simple file to customize the WP Customizer */
-#customize-control-ikoEnvironment {
+#customize-control-winkEnvironment {
display: none !important;
}
\ No newline at end of file
diff --git a/img/logo.png b/img/logo.png
index 91acfa4..badd8a0 100644
Binary files a/img/logo.png and b/img/logo.png differ
diff --git a/includes/.DS_Store b/includes/.DS_Store
deleted file mode 100644
index bc2e4f7..0000000
Binary files a/includes/.DS_Store and /dev/null differ
diff --git a/includes/elementHandler.php b/includes/elementHandler.php
index 5be56b7..fddb40b 100644
--- a/includes/elementHandler.php
+++ b/includes/elementHandler.php
@@ -1,42 +1,42 @@
namespace = 'iko-travel';
+ // $this->namespace = 'wink';
$this->pluginURL = trailingslashit( plugin_dir_url( __FILE__ ) );
$this->imgURL = trailingslashit( dirname( plugin_dir_url( __FILE__ ) ) ) . 'img/';
- $this->environmentVal = get_option('ikoEnvironment', 'production');
+ $this->environmentVal = get_option('winkEnvironment', 'production');
}
function coreFunction() {
add_action('wp_footer',array($this,'coreComponent'));
}
function coreComponent() {
- if ($GLOBALS['ikoTravelLoaderAlreadyEnqueued'] == false) {
+ if ($GLOBALS['winkLoaderAlreadyEnqueued'] == false) {
$html = '';
$clientId = get_option($this->clientIdKey, false);
- echo'
'. +
'. esc_html__('Congratulations', $this->namespace). ' '. - esc_html__('on installing the official iko.travel WordPress plugin.',$this->namespace). - ' '. + esc_html__('on installing the official WINK WordPress plugin.',$this->namespace). + ' '. esc_html__('Click here',$this->namespace). ' '. - esc_html__('to add your iko.travel Client-ID and your Client-Secret',$this->namespace). + esc_html__('to add your WINK Client-ID and your Client-Secret',$this->namespace). '.
'. +
'. esc_html__('Attention!', $this->namespace). ' '. - esc_html__('the iko.travel plugin requires permalinks. Please disable plain permalinks',$this->namespace). + esc_html__('the WINK plugin requires permalinks. Please disable plain permalinks',$this->namespace). ' '. esc_html__('here',$this->namespace). ' '. @@ -118,7 +118,7 @@ function adminNotice() { } function addSettings( $wp_customize ) { $shortcodes = array(); - $allShortcodes = apply_filters( 'ikoShortcodes', $shortcodes); + $allShortcodes = apply_filters( 'winkShortcodes', $shortcodes); if (!empty($allShortcodes)) { foreach ($allShortcodes as $key => $shortcodeData) { if (!empty($shortcodeData['code'])) { @@ -127,9 +127,9 @@ function addSettings( $wp_customize ) { } } $wp_customize->add_section( $this->section, array( - 'title' => esc_html__( 'iko.travel Settings', $this->namespace ), + 'title' => esc_html__( 'WINK Settings', $this->namespace ), 'priority' => 30, - 'description' => '
'.esc_html__('This plugin connects your site to your iko.travel account. Once you entered your Client-ID, you can start using the iko.travel elements either as a Gutenberg block or via the shortcodes below', $this->namespace ).'