Version Description
Download this release
Release Info
Developer | trustindex |
Plugin | Widgets for Google Reviews |
Version | 9.5 |
Comparing to | |
See all releases |
Code changes from version 9.4 to 9.5
- languages/trustindex-af.mo +0 -0
- languages/trustindex-ar.mo +0 -0
- languages/trustindex-ary.mo +0 -0
- languages/trustindex-az.mo +0 -0
- languages/trustindex-azb.mo +0 -0
- languages/trustindex-bg_BG.mo +0 -0
- languages/trustindex-bn_BD.mo +0 -0
- languages/trustindex-bs_BA.mo +0 -0
- languages/trustindex-cs_CZ.mo +0 -0
- languages/trustindex-cy.mo +0 -0
- languages/trustindex-da_DK.mo +0 -0
- languages/trustindex-de_AT.mo +0 -0
- languages/trustindex-de_CH.mo +0 -0
- languages/trustindex-de_CH_informal.mo +0 -0
- languages/trustindex-de_DE.mo +0 -0
- languages/trustindex-de_DE_formal.mo +0 -0
- languages/trustindex-el.mo +0 -0
- languages/trustindex-es_AR.mo +0 -0
- languages/trustindex-es_CL.mo +0 -0
- languages/trustindex-es_CO.mo +0 -0
- languages/trustindex-es_CR.mo +0 -0
- languages/trustindex-es_ES.mo +0 -0
- languages/trustindex-es_GT.mo +0 -0
- languages/trustindex-es_MX.mo +0 -0
- languages/trustindex-es_PE.mo +0 -0
- languages/trustindex-es_PR.mo +0 -0
- languages/trustindex-es_UY.mo +0 -0
- languages/trustindex-es_VE.mo +0 -0
- languages/trustindex-et.mo +0 -0
- languages/trustindex-fa_AF.mo +0 -0
- languages/trustindex-fa_IR.mo +0 -0
- languages/trustindex-fi.mo +0 -0
- languages/trustindex-fr_BR.mo +0 -0
- languages/trustindex-fr_CA.mo +0 -0
- languages/trustindex-fr_FR.mo +0 -0
- languages/trustindex-gd.mo +0 -0
- languages/trustindex-gl_ES.mo +0 -0
- languages/trustindex-he_IL.mo +0 -0
- languages/trustindex-hi_IN.mo +0 -0
- languages/trustindex-hr.mo +0 -0
- languages/trustindex-hu_HU.mo +0 -0
- languages/trustindex-hy.mo +0 -0
- languages/trustindex-id_ID.mo +0 -0
- languages/trustindex-is_IS.mo +0 -0
- languages/trustindex-it_IT.mo +0 -0
- languages/trustindex-ja.mo +0 -0
- languages/trustindex-ka_GE.mo +0 -0
- languages/trustindex-kk.mo +0 -0
- languages/trustindex-ko_KR.mo +0 -0
- languages/trustindex-lt_LT.mo +0 -0
- languages/trustindex-mk_MK.mo +0 -0
- languages/trustindex-ms_MY.mo +0 -0
- languages/trustindex-nb_NO.mo +0 -0
- languages/trustindex-nl_BE.mo +0 -0
- languages/trustindex-nl_NL.mo +0 -0
- languages/trustindex-nl_NL_formal.mo +0 -0
- languages/trustindex-nn_NO.mo +0 -0
- languages/trustindex-pl_PL.mo +0 -0
- languages/trustindex-pt_AO.mo +0 -0
- languages/trustindex-pt_BR.mo +0 -0
- languages/trustindex-pt_PT.mo +0 -0
- languages/trustindex-pt_PT_ao90.mo +0 -0
- languages/trustindex-ro_RO.mo +0 -0
- languages/trustindex-ru_RU.mo +0 -0
- languages/trustindex-sk_SK.mo +0 -0
- languages/trustindex-sl_SI.mo +0 -0
- languages/trustindex-sq.mo +0 -0
- languages/trustindex-sr_RS.mo +0 -0
- languages/trustindex-sv_SE.mo +0 -0
- languages/trustindex-th.mo +0 -0
- languages/trustindex-tr_TR.mo +0 -0
- languages/trustindex-uk.mo +0 -0
- languages/trustindex-vi.mo +0 -0
- languages/trustindex-zh_CN.mo +0 -0
- languages/trustindex-zh_HK.mo +0 -0
- languages/trustindex-zh_TW.mo +0 -0
- readme.txt +2 -2
- settings.php +7 -1
- static/css/admin-page-settings.css +1 -1
- static/js/admin-page-settings-common.js +4 -19
- static/js/admin-page-settings-connect.js +30 -13
- tabs/get_reviews.php +10 -10
- tabs/my_reviews.php +39 -4
- tabs/rate.php +1 -1
- tabs/setup_no_reg.php +16 -35
- tabs/setup_no_reg_header.php +10 -3
- tabs/setup_trustindex.php +11 -13
- tabs/troubleshooting.php +1 -1
- trustindex-google-widget.class.php +1 -6
- trustindex-plugin.class.php +73 -28
- uninstall.php +1 -1
- wp-reviews-plugin-for-google.php +28 -8
languages/trustindex-af.mo
CHANGED
Binary file
|
languages/trustindex-ar.mo
CHANGED
Binary file
|
languages/trustindex-ary.mo
CHANGED
Binary file
|
languages/trustindex-az.mo
CHANGED
Binary file
|
languages/trustindex-azb.mo
CHANGED
Binary file
|
languages/trustindex-bg_BG.mo
CHANGED
Binary file
|
languages/trustindex-bn_BD.mo
CHANGED
Binary file
|
languages/trustindex-bs_BA.mo
CHANGED
Binary file
|
languages/trustindex-cs_CZ.mo
CHANGED
Binary file
|
languages/trustindex-cy.mo
CHANGED
Binary file
|
languages/trustindex-da_DK.mo
CHANGED
Binary file
|
languages/trustindex-de_AT.mo
CHANGED
Binary file
|
languages/trustindex-de_CH.mo
CHANGED
Binary file
|
languages/trustindex-de_CH_informal.mo
CHANGED
Binary file
|
languages/trustindex-de_DE.mo
CHANGED
Binary file
|
languages/trustindex-de_DE_formal.mo
CHANGED
Binary file
|
languages/trustindex-el.mo
CHANGED
Binary file
|
languages/trustindex-es_AR.mo
CHANGED
Binary file
|
languages/trustindex-es_CL.mo
CHANGED
Binary file
|
languages/trustindex-es_CO.mo
CHANGED
Binary file
|
languages/trustindex-es_CR.mo
CHANGED
Binary file
|
languages/trustindex-es_ES.mo
CHANGED
Binary file
|
languages/trustindex-es_GT.mo
CHANGED
Binary file
|
languages/trustindex-es_MX.mo
CHANGED
Binary file
|
languages/trustindex-es_PE.mo
CHANGED
Binary file
|
languages/trustindex-es_PR.mo
CHANGED
Binary file
|
languages/trustindex-es_UY.mo
CHANGED
Binary file
|
languages/trustindex-es_VE.mo
CHANGED
Binary file
|
languages/trustindex-et.mo
CHANGED
Binary file
|
languages/trustindex-fa_AF.mo
CHANGED
Binary file
|
languages/trustindex-fa_IR.mo
CHANGED
Binary file
|
languages/trustindex-fi.mo
CHANGED
Binary file
|
languages/trustindex-fr_BR.mo
CHANGED
Binary file
|
languages/trustindex-fr_CA.mo
CHANGED
Binary file
|
languages/trustindex-fr_FR.mo
CHANGED
Binary file
|
languages/trustindex-gd.mo
CHANGED
Binary file
|
languages/trustindex-gl_ES.mo
CHANGED
Binary file
|
languages/trustindex-he_IL.mo
CHANGED
Binary file
|
languages/trustindex-hi_IN.mo
CHANGED
Binary file
|
languages/trustindex-hr.mo
CHANGED
Binary file
|
languages/trustindex-hu_HU.mo
CHANGED
Binary file
|
languages/trustindex-hy.mo
CHANGED
Binary file
|
languages/trustindex-id_ID.mo
CHANGED
Binary file
|
languages/trustindex-is_IS.mo
CHANGED
Binary file
|
languages/trustindex-it_IT.mo
CHANGED
Binary file
|
languages/trustindex-ja.mo
CHANGED
Binary file
|
languages/trustindex-ka_GE.mo
CHANGED
Binary file
|
languages/trustindex-kk.mo
CHANGED
Binary file
|
languages/trustindex-ko_KR.mo
CHANGED
Binary file
|
languages/trustindex-lt_LT.mo
CHANGED
Binary file
|
languages/trustindex-mk_MK.mo
CHANGED
Binary file
|
languages/trustindex-ms_MY.mo
CHANGED
Binary file
|
languages/trustindex-nb_NO.mo
CHANGED
Binary file
|
languages/trustindex-nl_BE.mo
CHANGED
Binary file
|
languages/trustindex-nl_NL.mo
CHANGED
Binary file
|
languages/trustindex-nl_NL_formal.mo
CHANGED
Binary file
|
languages/trustindex-nn_NO.mo
CHANGED
Binary file
|
languages/trustindex-pl_PL.mo
CHANGED
Binary file
|
languages/trustindex-pt_AO.mo
CHANGED
Binary file
|
languages/trustindex-pt_BR.mo
CHANGED
Binary file
|
languages/trustindex-pt_PT.mo
CHANGED
Binary file
|
languages/trustindex-pt_PT_ao90.mo
CHANGED
Binary file
|
languages/trustindex-ro_RO.mo
CHANGED
Binary file
|
languages/trustindex-ru_RU.mo
CHANGED
Binary file
|
languages/trustindex-sk_SK.mo
CHANGED
Binary file
|
languages/trustindex-sl_SI.mo
CHANGED
Binary file
|
languages/trustindex-sq.mo
CHANGED
Binary file
|
languages/trustindex-sr_RS.mo
CHANGED
Binary file
|
languages/trustindex-sv_SE.mo
CHANGED
Binary file
|
languages/trustindex-th.mo
CHANGED
Binary file
|
languages/trustindex-tr_TR.mo
CHANGED
Binary file
|
languages/trustindex-uk.mo
CHANGED
Binary file
|
languages/trustindex-vi.mo
CHANGED
Binary file
|
languages/trustindex-zh_CN.mo
CHANGED
Binary file
|
languages/trustindex-zh_HK.mo
CHANGED
Binary file
|
languages/trustindex-zh_TW.mo
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: google, google places reviews, reviews, widget, google business, review, t
|
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 9.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Plugin Name: Widgets for Google Reviews
|
@@ -14,7 +14,7 @@ Plugin URI: https://wordpress.org/plugins/wp-reviews-plugin-for-google/
|
|
14 |
Author: Trustindex.io <support@trustindex.io>
|
15 |
Author URI: https://www.trustindex.io/
|
16 |
Text Domain: wp-reviews-plugin-for-google
|
17 |
-
Version: 9.
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google reviews.
|
20 |
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 9.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Plugin Name: Widgets for Google Reviews
|
14 |
Author: Trustindex.io <support@trustindex.io>
|
15 |
Author URI: https://www.trustindex.io/
|
16 |
Text Domain: wp-reviews-plugin-for-google
|
17 |
+
Version: 9.5
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google reviews.
|
20 |
|
settings.php
CHANGED
@@ -30,7 +30,7 @@ switch(sanitize_text_field($_GET['wc_notification']))
|
|
30 |
{
|
31 |
case 'open':
|
32 |
update_option('trustindex-wc-notification', 'hide', false);
|
33 |
-
$url = 'https://wordpress.org/plugins/customer-reviews-for-woocommerce/';
|
34 |
header('Location: '. $url);
|
35 |
die;
|
36 |
case 'hide':
|
@@ -46,6 +46,12 @@ delete_option($trustindex_pm_google->get_option_name('proxy-check'));
|
|
46 |
header('Location: admin.php?page=' . sanitize_text_field($_GET['page']) .'&tab=' . sanitize_text_field($_GET['tab']));
|
47 |
exit;
|
48 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
$tabs = [];
|
50 |
if($trustindex_pm_google->is_trustindex_connected())
|
51 |
{
|
30 |
{
|
31 |
case 'open':
|
32 |
update_option('trustindex-wc-notification', 'hide', false);
|
33 |
+
$url = 'https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/';
|
34 |
header('Location: '. $url);
|
35 |
die;
|
36 |
case 'hide':
|
46 |
header('Location: admin.php?page=' . sanitize_text_field($_GET['page']) .'&tab=' . sanitize_text_field($_GET['tab']));
|
47 |
exit;
|
48 |
}
|
49 |
+
if(isset($_GET['review_download_notification']))
|
50 |
+
{
|
51 |
+
delete_option($trustindex_pm_google->get_option_name('review-download-notification'));
|
52 |
+
header('Location: admin.php?page=' . sanitize_text_field($_GET['page']) .'&tab=setup_no_reg');
|
53 |
+
exit;
|
54 |
+
}
|
55 |
$tabs = [];
|
56 |
if($trustindex_pm_google->is_trustindex_connected())
|
57 |
{
|
static/css/admin-page-settings.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap&subset=latin-ext");@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap");#trustindex-plugin-settings-page{max-width:1200px}#trustindex-plugin-settings-page.ti-toggle-opacity{opacity:0;transition:opacity 0.25s}#trustindex-plugin-settings-page h1{line-height:1.25em;color:#000;font-family:"Montserrat";font-weight:600;font-size:35px}#trustindex-plugin-settings-page h1 strong{font-weight:900}#trustindex-plugin-settings-page h1 img{height:23px}@media (max-width:767px){#trustindex-plugin-settings-page h1{font-size:21px}}#trustindex-plugin-settings-page h2{margin-top:40px;font-weight:700;font-size:16px;line-height:1.35em;font-family:"Open Sans", serif}#trustindex-plugin-settings-page h3{font-weight:700;font-size:20px;font-family:"Montserrat"}#trustindex-plugin-settings-page p{font-size:16px;font-family:"Open Sans", serif;font-weight:400;color:#5c666d}#trustindex-plugin-settings-page p.text-small{font-size:10px;margin:0}#trustindex-plugin-settings-page ol,#trustindex-plugin-settings-page ol li,#trustindex-plugin-settings-page ul,#trustindex-plugin-settings-page ul li{font-size:14px;font-family:"Open Sans", serif}#trustindex-plugin-settings-page li{margin-bottom:7px}#trustindex-plugin-settings-page strong{font-weight:700;color:#000}#trustindex-plugin-settings-page .ti-widget strong{color:inherit}#trustindex-plugin-settings-page .container_wrapper{display:table;width:100%;table-layout:fixed}#trustindex-plugin-settings-page .container_cell{display:table-cell;margin:0px;padding:10px;vertical-align:top}#trustindex-plugin-settings-page #container-main{width:100%}#trustindex-plugin-settings-page #container-sidebar{width:261px;padding:100px 0 0 19px}#trustindex-plugin-settings-page #container-sidebar .sticky{position:fixed;top:200px}#trustindex-plugin-settings-page .maxwidth{max-width:1240px}#trustindex-plugin-settings-page .zoomable-pic{max-width:200px;cursor:pointer}#trustindex-plugin-settings-page .ti-check{margin-bottom:40px;margin-left:15px}#trustindex-plugin-settings-page .ti-check li{position:relative;margin-left:20px;margin-bottom:10px !important}#trustindex-plugin-settings-page .ti-check li:before{content:"";width:16px;height:16px;display:block;top:1px;left:-30px;position:absolute;background:url(../img/check-icon.svg);background-size:contain}#trustindex-plugin-settings-page .ti-left-label{font-weight:bold;font-size:14px;display:inline-block;margin-right:20px;line-height:44px;width:200px;text-align:right;cursor:unset}#trustindex-plugin-settings-page .ti-left-label span{line-height:1.3;display:inline-block;vertical-align:middle;padding:0}#trustindex-plugin-settings-page .ti-box{background:#fff;padding:70px;border-radius:4px;-webkit-box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0 0.05);-moz-box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0.05);box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0.05)}#trustindex-plugin-settings-page .ti-box h1{margin-top:0px;font-weight:700;margin-bottom:20px}@media (min-width:768px){#trustindex-plugin-settings-page .ti-box h1{font-size:40px}}#trustindex-plugin-settings-page .ti-box h2{margin-top:0px;margin-bottom:40px}#trustindex-plugin-settings-page .ti-box .ti-col-6 h2{max-width:450px;line-height:1.6em}#trustindex-plugin-settings-page .ti-box hr{border:none;height:0px;border-top:1px solid #ddd;margin-bottom:22px}@media (max-width:1200px){#trustindex-plugin-settings-page .ti-box{padding:15px}#trustindex-plugin-settings-page .ti-box hr{margin-left:-15px;margin-right:-15px;margin-bottom:30px}}#trustindex-plugin-settings-page .ti-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;box-sizing:border-box}#trustindex-plugin-settings-page .ti-col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:0 0 50%;box-sizing:border-box}@media (min-width:1200px){#trustindex-plugin-settings-page .ti-col-6:last-child{padding-left:100px}}#trustindex-plugin-settings-page .ti-col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:0 0 100%}#trustindex-plugin-settings-page .ti-col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}#trustindex-plugin-settings-page .ti-col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}@media (max-width:1200px){#trustindex-plugin-settings-page .ti-col-6,#trustindex-plugin-settings-page .ti-col-auto,#trustindex-plugin-settings-page .ti-col{-ms-flex:0 0 100%;flex:0 0 100%;max-width:0 0 100%}}#trustindex-plugin-settings-page .rate-us .rate-us-wrapper{font-size:18px}@media (min-width:1200px){#trustindex-plugin-settings-page .rate-us .rate-us-wrapper{text-align:right}#trustindex-plugin-settings-page .rate-us .rate-us-wrapper p{margin-bottom:10px !important;font-size:20px !important;margin-top:0px !important}}#trustindex-plugin-settings-page .ti-my-reviews .ti-user-avatar{width:30px;margin-bottom:-2px;border-radius:50%}#trustindex-plugin-settings-page .ti-my-reviews .ti-star{display:inline-block;width:17px}#trustindex-plugin-settings-page .ti-my-reviews .morecontent a{outline:0 !important;box-shadow:none !important}#trustindex-plugin-settings-page .ti-tooltip{position:relative;pointer-events:auto !important}#trustindex-plugin-settings-page .ti-tooltip .ti-tooltip-message{color:#fff;background-color:#3B404B;padding:0px 6px;border-radius:4px;font-size:11px;line-height:20px;font-weight:500;display:inline-block;width:auto !important;height:auto !important;position:absolute;right:100%;top:0;margin-right:25px;white-space:nowrap;opacity:0;transition:all 0.3s ease-in-out}#trustindex-plugin-settings-page .ti-tooltip .ti-tooltip-message:before{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent #3B404B;content:"";position:absolute;right:-5px;top:50%;margin-top:-5px}#trustindex-plugin-settings-page .ti-tooltip:hover .ti-tooltip-message{opacity:1;margin-right:10px}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download.btn-disabled{pointer-events:none !important}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download .ti-tooltip-message{right:initial;margin-right:0;margin-left:25px;left:100%;top:3px}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download .ti-tooltip-message:before{right:initial;left:-5px;border-width:5px 5px 5px 0;border-color:transparent #3B404B transparent transparent}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download:hover .ti-tooltip-message{opacity:0;margin-right:initial}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download.show-tooltip .ti-tooltip-message{opacity:1 !important;margin-left:10px}#trustindex-plugin-settings-page .text-center{text-align:center}#trustindex-plugin-settings-page .ti-notice{background:#fff;border:1px solid #c3c4c7;border-left-width:4px;box-shadow:0 1px 1px rgba(0, 0, 0, 0.04);margin:5px 15px 2px;padding:1px 12px}#trustindex-plugin-settings-page .ti-notice.notice-info{border-left-color:#72aee6}#trustindex-plugin-settings-page .ti-notice.notice-error{border-left-color:#d63638}#trustindex-plugin-settings-page .ti-notice.notice-warning{border-left-color:#dba617}#trustindex-plugin-settings-page .ti-notice.notice-success{border-left-color:#00a32a}#trustindex-plugin-settings-page .ti-notice.is-dismissible{position:relative;padding-right:38px}#trustindex-plugin-settings-page .form-group{display:block;overflow:hidden;margin-top:20px;position:relative}#trustindex-plugin-settings-page .form-control{width:100%;margin:0;padding:6px 15px;border-radius:0.25rem;border:2px solid #ddd;background-color:#efefef;transition:all 0.2s}#trustindex-plugin-settings-page .form-control.has-error{border-color:red}#trustindex-plugin-settings-page .input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%}#trustindex-plugin-settings-page .input-group>.form-control{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}#trustindex-plugin-settings-page .input-group-prepend{margin-right:-1px}#trustindex-plugin-settings-page .input-group-append,#trustindex-plugin-settings-page .input-group-prepend{display:-webkit-box;display:-ms-flexbox;display:flex}#trustindex-plugin-settings-page .input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0.375rem 0.75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:0.25rem;border-top-right-radius:0;border-bottom-right-radius:0}#trustindex-plugin-settings-page .ti-checkbox{float:left;display:inline-block;margin-bottom:10px;margin-right:15px;white-space:nowrap;cursor:pointer;user-select:none}#trustindex-plugin-settings-page .ti-checkbox.row{margin-right:100%}#trustindex-plugin-settings-page .ti-checkbox.disabled{cursor:default}#trustindex-plugin-settings-page .ti-checkbox.disabled label{color:rgba(68, 68, 68, 0.5);cursor:default !important}#trustindex-plugin-settings-page .ti-checkbox input,#trustindex-plugin-settings-page .ti-checkbox label{pointer-events:none}#trustindex-plugin-settings-page .ti-checkbox input{position:relative;top:2px;margin-right:10px}#trustindex-plugin-settings-page .ti-checkbox label{font-size:14px !important}#trustindex-plugin-settings-page .ti-checkbox span{width:16px;height:16px;display:inline-block;margin-right:1px}#trustindex-plugin-settings-page .ti-select{display:block;max-width:calc(25rem - 30px);margin:0;padding:8px 15px;border-radius:0.25rem;border:2px solid #ddd;background-color:#efefef;font-size:14px;line-height:2;color:#32373c;position:relative;cursor:pointer;user-select:none}#trustindex-plugin-settings-page .ti-select:after{content:"›";position:absolute;top:50%;right:9px;font-size:26px;z-index:1;transform:translateY(-50%) rotate(90deg)}#trustindex-plugin-settings-page .ti-select ul{display:none;position:absolute;z-index:1;left:-1px;top:100%;width:100%;margin:0;padding:0;list-style-type:none;background-color:#efefef;border:1px solid #ddd;border-top:0;border-bottom-left-radius:0.25rem;border-bottom-right-radius:0.25rem}#trustindex-plugin-settings-page .ti-select ul li{display:block;margin:0 !important;padding:5px 10px;border-top:1px solid #ccc;cursor:pointer;line-height:1.4;transition:all 0.3s}#trustindex-plugin-settings-page .ti-select ul li:hover{background:rgba(30, 144, 255, 0.3)}#trustindex-plugin-settings-page .ti-select ul li.selected{background:rgba(30, 144, 255, 0.6);pointer-events:none}#trustindex-plugin-settings-page .ti-select ul li li *{pointer-events:none}#trustindex-plugin-settings-page .ti-select .ti-star{position:relative;top:3px;width:16px;height:16px;display:inline-block;margin-right:1px}#trustindex-plugin-settings-page .ti-select.active{border-radius:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}#trustindex-plugin-settings-page .ti-select.active ul{display:block}#trustindex-plugin-settings-page .ti-select.active:after{content:"‹"}#trustindex-plugin-settings-page .ti-toggle-password{position:absolute;right:16px;bottom:15px;font-size:26px;cursor:pointer;z-index:1;opacity:0.7;transition:opacity 0.3s}#trustindex-plugin-settings-page .ti-toggle-password:hover{opacity:1}#trustindex-plugin-settings-page .btn{display:block;line-height:1.5;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:0.8rem 1.5rem;margin:20px auto 0px auto;width:fit-content;font-size:1.2rem;border-radius:0.25rem;-webkit-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;font-weight:bold;text-decoration:none;cursor:pointer}#trustindex-plugin-settings-page .btn:hover{color:#fff;opacity:0.9}#trustindex-plugin-settings-page .btn-primary{background-color:#ee7321 !important;border-color:#ee7321 !important;font-family:"Montserrat";font-weight:700;color:white}#trustindex-plugin-settings-page .btn-danger{background-color:#d9534f !important;border-color:#d9534f !important;color:white}#trustindex-plugin-settings-page .btn-text{display:inline-block;color:#fff;text-decoration:none;border-radius:4px;background:#2AA8D7;font-family:"Montserrat";padding:10px 15px;margin:3px;font-weight:700;outline:0 !important}#trustindex-plugin-settings-page .btn-text:hover{background-color:#2187ad}#trustindex-plugin-settings-page .btn-disabled{background:#bdbec2 !important;border-color:#bdbec2 !important}#trustindex-plugin-settings-page .autocomplete{display:block;position:relative}#trustindex-plugin-settings-page .autocomplete .input{display:inline-block;vertical-align:top;margin-right:5px;position:relative;min-width:55%}#trustindex-plugin-settings-page .autocomplete .input input[type=text]:focus{background:#e3f2f9;border:2px solid #2AA8D7;outline:0;box-shadow:unset !important}#trustindex-plugin-settings-page .autocomplete .info-text{padding:0;padding-top:5px;opacity:0.5}#trustindex-plugin-settings-page .autocomplete .loading{position:absolute;right:8px;top:14px;width:18px;z-index:1;display:none}#trustindex-plugin-settings-page .autocomplete .btn-text{font-size:14px !important;padding:6px 15px;line-height:2;border:2px solid #2AA8D7;outline:0 !important;display:inline-block;vertical-align:top;margin:0}#trustindex-plugin-settings-page .autocomplete span{display:block;padding:10px}#trustindex-plugin-settings-page .autocomplete span.error{color:#e33244}#trustindex-plugin-settings-page .autocomplete .results{position:absolute;top:46px;z-index:1;width:calc(100% - 2px);padding:0;margin:0;border-radius:0.25rem;border:1px solid #ddd;background:#fff;display:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#trustindex-plugin-settings-page .autocomplete .results:after,#trustindex-plugin-settings-page .autocomplete .results:before{bottom:100%;left:32px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}#trustindex-plugin-settings-page .autocomplete .results:after{border-color:rgba(255, 255, 255, 0);border-bottom-color:#fff;border-width:8px;margin-left:-8px}#trustindex-plugin-settings-page .autocomplete .results:before{border-color:rgba(221, 221, 221, 0);border-bottom-color:#ddd;border-width:9px;margin-left:-9px}#trustindex-plugin-settings-page .autocomplete .results ul{display:block;max-height:300px;overflow:auto;list-style-type:none;margin:0;padding:0}#trustindex-plugin-settings-page .autocomplete .results li{display:block;padding:5px 10px;margin:0;border-bottom:1px solid grey;cursor:pointer;transition:all 0.25s}#trustindex-plugin-settings-page .autocomplete .results li:last-of-type{border-bottom:0}#trustindex-plugin-settings-page .autocomplete .results li:hover{background:rgba(0, 100, 255, 0.1)}#trustindex-plugin-settings-page .autocomplete .results li svg{width:40px;height:40px;position:relative;top:3px;margin-right:10px;float:left}#trustindex-plugin-settings-page .autocomplete .results li img{width:44px;height:44px;margin-right:10px;float:left;border-radius:50%;box-shadow:0 0 2px black}#trustindex-plugin-settings-page .autocomplete .results li .title{margin:0;margin-bottom:5px;font-size:14px;color:#000;pointer-events:none}#trustindex-plugin-settings-page .autocomplete .results li .location{margin:0;font-size:12px;color:#888;pointer-events:none}#trustindex-plugin-settings-page .nav-tab-wrapper{margin-bottom:0;border:0;padding-right:100px;position:relative}#trustindex-plugin-settings-page .nav-tab{background-color:#f9f9f9;border:0;box-shadow:0 0 0px black !important;border-top:4px solid #f9f9f9;padding:12px 15px;margin-left:0;margin-right:0.35em}#trustindex-plugin-settings-page .nav-tab:last-child{margin-right:0}@media (max-width:1099px){#trustindex-plugin-settings-page .nav-tab{margin-bottom:0.35em}}#trustindex-plugin-settings-page .nav-tab-active{background-color:#fff !important;border-color:#2aa9d6}#trustindex-plugin-settings-page .nav-tab-right{position:absolute;right:0;bottom:0}#trustindex-plugin-settings-page .ti-free-steps{margin-top:0;background:#fff;font-size:14px;display:flex;justify-content:space-between;position:relative;padding:5px 0}#trustindex-plugin-settings-page .ti-free-steps li{list-style:none;padding:20px 0;display:inline-block;color:#afb2b8;margin-bottom:0;white-space:nowrap}#trustindex-plugin-settings-page .ti-free-steps li:first-child{padding-left:20px}#trustindex-plugin-settings-page .ti-free-steps li:last-child{padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li>span{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#bdbec2;color:white;margin-right:7px;font-size:11px;border-radius:4px;font-weight:normal}#trustindex-plugin-settings-page .ti-free-steps li.current{font-weight:bold;pointer-events:none}#trustindex-plugin-settings-page .ti-free-steps li.active,#trustindex-plugin-settings-page .ti-free-steps li.done{color:black;cursor:pointer}#trustindex-plugin-settings-page .ti-free-steps li.active>span{background:#2aa8d8;box-shadow:0 0 3px #2aa8d8}#trustindex-plugin-settings-page .ti-free-steps li.done>span{background:#4db594;color:transparent;position:relative}#trustindex-plugin-settings-page .ti-free-steps li.done>span:after{content:"✓";color:white;margin-left:-7px;font-weight:bold}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow{position:relative;display:inline-block;padding:0;padding-top:25px}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:before,#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:after{content:"";background:#d8d8d8;position:relative;width:11px;height:3px;display:block;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border-radius:2px}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:after{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);top:4px}@media (max-width:1240px){#trustindex-plugin-settings-page .ti-free-steps{flex-wrap:wrap}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(4){width:100%;opacity:0;padding-top:0;margin-top:-6px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(3){padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-left:20px}}@media (max-width:600px){#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(2),#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(6){width:100%;opacity:0;padding-top:0;margin-top:-6px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(1),#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(3),#trustindex-plugin-settings-page .ti-free-steps li:nth-child(7){padding-left:20px;padding-right:0}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(4){width:unset;opacity:unset;padding-top:25px;margin-top:unset}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-left:0}}#trustindex-plugin-settings-page .ti-free-title{font-size:25px !important;font-weight:bold !important;padding:0 20px;margin:25px 0 !important}#trustindex-plugin-settings-page .ti-free-subtitle{font-size:18px !important;font-weight:bold !important;padding:0 15px;margin-bottom:15px !important;margin-top:45px !important}#trustindex-plugin-settings-page .ti-back-icon{color:#5d6268;float:right;font-size:14px;font-weight:bold;position:relative;cursor:pointer;text-decoration:none;box-shadow:0 0 0px black !important;text-shadow:none !important}#trustindex-plugin-settings-page .ti-back-icon:before,#trustindex-plugin-settings-page .ti-back-icon:after{content:"";background:#d8d8d8;position:absolute;left:-18px;top:11px;width:9px;height:3px;display:block;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border-radius:2px}#trustindex-plugin-settings-page .ti-back-icon:after{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);margin-top:4px}#trustindex-plugin-settings-page .ti-box{background:white;padding:25px;border-radius:4px;margin-bottom:1em}#trustindex-plugin-settings-page .ti-box .btn-text{margin-left:0;font-size:13px}#trustindex-plugin-settings-page .ti-box>.ti-header{font-size:18px;font-weight:600;border-bottom:1px solid #e0e0e0;margin-bottom:20px;padding-bottom:10px;color:inherit}#trustindex-plugin-settings-page .ti-box>.ti-header span,#trustindex-plugin-settings-page .ti-box>.ti-header strong{color:inherit}#trustindex-plugin-settings-page .ti-box>.ti-header .btn-text{margin:0;padding:5px 15px;margin-top:-5px}#trustindex-plugin-settings-page .ti-box>.ti-footer{border-top:1px solid #e0e0e0;margin-top:20px;padding-top:20px}#trustindex-plugin-settings-page .ti-box .preview{float:unset;box-sizing:border-box}#trustindex-plugin-settings-page .ti-box img{max-width:100%}#trustindex-plugin-settings-page .ti-box.ti-notice-error{border-left:4px solid red;border-top-left-radius:0;border-bottom-left-radius:0}#trustindex-plugin-settings-page .ti-box.ti-notice-warning{border-left:4px solid #ffb900;border-top-left-radius:0;border-bottom-left-radius:0}#trustindex-plugin-settings-page .ti-preview-boxes-container{display:flex;flex-wrap:wrap;margin:0 -10px;box-sizing:border-box}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-full-width{flex:0 0 100%;max-width:100%;padding-left:10px;padding-right:10px;box-sizing:inherit;margin-bottom:20px}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-half-width{flex:0 0 50%;max-width:50%;padding-left:10px;padding-right:10px;margin-left:auto;margin-right:auto;box-sizing:inherit;margin-bottom:20px}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-preview-boxes{height:100%}#trustindex-plugin-settings-page .ti-header-layout-text{font-weight:normal;font-size:85%}#trustindex-plugin-settings-page .ti-pull-right{float:right}#trustindex-plugin-settings-page .ti-pull-right+.ti-pull-right{margin-right:20px}#trustindex-plugin-settings-page .ti-left-block,#trustindex-plugin-settings-page .ti-right-block{display:inline-block !important;float:left;vertical-align:top;width:calc(50% - 15px) !important;margin:0 !important}#trustindex-plugin-settings-page .ti-left-block .form-control,#trustindex-plugin-settings-page .ti-right-block .form-control{max-width:400px}#trustindex-plugin-settings-page .ti-right-block{float:right}#trustindex-plugin-settings-page .ti-input-row{margin-bottom:1.33em}#trustindex-plugin-settings-page .ti-input-row:last-child{margin:0}#trustindex-plugin-settings-page .ti-input-row label{display:block;font-size:15px;font-weight:600;font-family:inherit;cursor:unset;color:inherit;margin-bottom:0.5em}#trustindex-plugin-settings-page #ti-widget-options{margin-top:25px}#trustindex-plugin-settings-page .ti-preview-box{padding:10px 0}#trustindex-plugin-settings-page .code-shortcode{display:inline-block;padding:10px;border-radius:0.25rem;border:2px solid #dcdce4;background:#f1f1f1}#trustindex-plugin-settings-page .code-shortcode+a{position:relative;top:1px}#trustindex-plugin-settings-page .ti-seo-list{margin:20px 0;counter-reset:li;padding-left:35px}#trustindex-plugin-settings-page .ti-seo-list li{position:relative;list-style:none;margin:0;margin-bottom:25px;counter-increment:li}#trustindex-plugin-settings-page .ti-seo-list li:before{content:counter(li);position:absolute;left:-35px;top:0;display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#4db594;color:white;font-size:11px;border-radius:4px;font-weight:normal}#trustindex-plugin-settings-page .ti-filter-row{font-size:14px;display:block;padding:20px 25px;background:#f7f7f7;margin-bottom:10px;border-radius:4px}#trustindex-plugin-settings-page .ti-filter-row>label{margin-right:15px}#trustindex-plugin-settings-page .ti-filter-row .ti-checkbox{float:unset;width:auto;margin-bottom:0}#trustindex-plugin-settings-page .ti-filter-row .ti-checkbox input{margin-right:3px}#trustindex-plugin-settings-page .ti-source-box{display:block;border:1px solid #dddddf;box-shadow:2px 2px 5px rgba(0, 0, 0, 0.1);background:white;padding:15px;padding-right:175px;position:relative;border-radius:4px;margin-bottom:20px}#trustindex-plugin-settings-page .ti-source-box img{float:left;width:30px;height:30px;margin-right:10px;margin-top:4px;object-fit:cover;object-position:top}#trustindex-plugin-settings-page .ti-source-box .ti-source-info{display:inline-block;word-wrap:break-word;max-width:calc(100% - 70px)}#trustindex-plugin-settings-page .ti-source-box .ti-source-info a:only-child{display:block;margin:10px 0}#trustindex-plugin-settings-page .ti-source-box .btn-text{position:absolute;right:15px;top:50%;transform:translateY(-50%);margin:0;font-size:13px}#trustindex-plugin-settings-page .ti-selected-source{margin-top:15px;display:none}#trustindex-plugin-settings-page .ti-selected-source .ti-left-label{vertical-align:top;line-height:unset;padding-top:10px;float:left}#trustindex-plugin-settings-page .ti-selected-source .ti-source-box{display:inline-block;width:550px;margin-bottom:0;float:left}#trustindex-plugin-settings-page .ti-selected-source .ti-source-box+.ti-source-box{margin-left:220px;margin-top:20px}#trustindex-plugin-settings-page #ti-widget-options .ti-checkbox{margin-bottom:5px}#trustindex-plugin-settings-page .ti-highlight-content{display:block;margin-top:10px;padding:10px 20px;background:#eee;position:relative}#trustindex-plugin-settings-page .ti-highlight-content .selection-content{position:relative;z-index:1}#trustindex-plugin-settings-page .ti-highlight-content .raw-content{position:absolute;color:transparent;width:calc(100% - 40px);z-index:0}#trustindex-plugin-settings-page .ti-highlight-content .raw-content mark{color:transparent !important;background:#fbe049 !important}#trustindex-plugin-settings-page .ti-my-reviews mark.ti-highlight{padding:0 1px;background:#4682B4;color:white}#trustindex-plugin-settings-page .ti-prokontra-good svg,#trustindex-plugin-settings-page .ti-prokontra-bad svg{width:18px;height:18px;display:inline-block;vertical-align:sub;position:relative;top:-1px}#trustindex-plugin-settings-page .ti-prokontra-good svg{fill:#0ab21b}#trustindex-plugin-settings-page .ti-prokontra-bad svg{fill:#383838}#trustindex-plugin-settings-page .ti-prokontra-good:after,#trustindex-plugin-settings-page .ti-prokontra-bad:after{content:" · "}#trustindex-plugin-settings-page .ti-special-offer{width:40%;margin:10px 0}#trustindex-plugin-settings-page .ti-special-offer img{float:left;width:100px;border:0;margin-right:15px;margin-top:2px}#trustindex-plugin-settings-page .ti-special-offer p{font-size:14px}#trustindex-plugin-settings-page .ti-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;display:none;overflow-x:hidden;overflow-y:auto;outline:0;background:rgba(0, 0, 0, 0.5)}#trustindex-plugin-settings-page .ti-modal .ti-modal-dialog{position:relative;width:auto;margin:30px auto;margin-top:50px;max-width:800px}#trustindex-plugin-settings-page .ti-modal .ti-modal-content{position:relative;display:flex;flex-direction:column;background-color:white;background-clip:padding-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:4px;outline:0}#trustindex-plugin-settings-page .ti-modal .ti-modal-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid #e0e0e0;font-size:18px;font-weight:600}#trustindex-plugin-settings-page .ti-modal .ti-modal-title{margin-bottom:0;line-height:1.5}#trustindex-plugin-settings-page .ti-modal .ti-modal-body{position:relative;flex:1 1 auto;padding:15px}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer{display:flex;align-items:center;justify-content:flex-end;padding:15px;border-top:1px solid #e0e0e0}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer>:not(:first-child){margin-left:0.25rem}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer>:not(:last-child){margin-right:0.25rem}#trustindex-plugin-settings-page .troubleshooting-checklist{list-style:decimal;padding-left:25px}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons{position:relative;top:-1px;margin:0 3px}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons.dashicons-yes-alt{color:green}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons.dashicons-dismiss{color:red}#trustindex-plugin-settings-page .troubleshooting-checklist ul{list-style:disc !important;margin:15px 0 !important;padding-left:30px !important}#trustindex-plugin-settings-page .troubleshooting-checklist ul li:last-child{margin-bottom:0}#trustindex-plugin-settings-page .troubleshooting-checklist .ti-notice{margin:5px 15px 2px !important;margin-left:0 !important;padding-left:8px}#trustindex-plugin-settings-page .troubleshooting-checklist .ti-notice p{margin:0.1em 0;font-size:13px}#trustindex-plugin-settings-page .troubleshooting-checklist a{text-decoration:none}#trustindex-plugin-settings-page .ti-troubleshooting-info{width:calc(100% - 50px);height:200px;resize:none;outline:0 !important;box-shadow:none !important;border:1px solid #7e8993 !important;margin:0 25px}#trustindex-plugin-settings-page .ti-troubleshooting-info+.btn-text{margin-top:10px;margin-right:25px}#trustindex-plugin-settings-page .ti-quick-rating{display:inline-block}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check{display:inline-block;float:right;width:34px;height:34px;margin-left:2px;cursor:pointer;transition:all 0.2s;background-color:#ccc;-webkit-mask:url("https://cdn.trustindex.io/assets/platform/Trustindex/star/f.svg") no-repeat 50% 50%;mask:url("https://cdn.trustindex.io/assets/platform/Trustindex/star/f.svg") no-repeat 50% 50%}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:last-of-type{margin-left:0}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:hover,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:hover~.ti-star-check,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check.active,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check.active~.ti-star-check{background-color:#F6BB06}#trustindex-plugin-settings-page .ti-rate-us-box{position:relative}#trustindex-plugin-settings-page .ti-rate-us-box .ti-header{border:0;margin-bottom:5px;padding:0;font-weight:700}#trustindex-plugin-settings-page .ti-rate-us-box p{margin:0;font-size:14px}#trustindex-plugin-settings-page .ti-rate-us-box .ti-quick-rating{position:absolute;right:25px;top:50%;transform:translateY(-50%)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-dialog{margin:0 auto;top:50%;transform:translateY(-50%)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-body{text-align:center;padding:25px;padding-bottom:15px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon{position:absolute;top:20px;right:20px;width:28px;height:28px;opacity:0.5;transition:opacity 0.4s;cursor:pointer;z-index:1}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:before,#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:after{position:absolute;left:50%;content:" ";height:100%;width:2px;background-color:#666;transform:rotate(45deg)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:after{transform:rotate(-45deg)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:hover{opacity:1}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rateus-logo{margin-top:15px;width:50px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rateus-title{margin-top:15px;margin-bottom:35px;font-size:26px;font-weight:bold;line-height:34px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-footer{border:0;justify-content:center;padding:25px;padding-top:0}#trustindex-plugin-settings-page .ti-rateus-modal textarea{resize:none;height:150px;margin-top:15px}#trustindex-plugin-settings-page .ti-rateus-modal .btn-text.btn-modal-close{background-color:#dbdde5;border-color:#dbdde5;color:#3B404B}#trustindex-plugin-settings-page .ti-rateus-modal .btn-text.btn-modal-close:hover{background-color:#bdc1d0 !important;border-color:#bdc1d0 !important}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox{display:inline-block;border-radius:4px;box-shadow:0px 4px 30px rgba(0, 0, 0, 0.15);padding:10px 20px;margin-bottom:10px;margin-top:15px;position:relative}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border:10px solid transparent;border-bottom-width:0;border-top-color:#fff}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox .ti-quick-rating{pointer-events:none}#trustindex-plugin-settings-page .ti-rateus-modal p{margin-top:-20px;margin-bottom:5px;font-size:18px}#ti-loading{position:fixed;background:rgba(240, 240, 241, 0.9);left:0;top:0;width:100%;height:100%;display:none;opacity:0;transition:opacity 0.4s}#ti-loading.active{display:block;opacity:1}#ti-loading .ti-loading-effect{display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:80px;height:80px}#ti-loading .ti-loading-effect div{display:inline-block;position:absolute;left:8px;width:16px;background:#000;animation:ti-loading-effect 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite}#ti-loading .ti-loading-effect div:nth-child(1){left:8px;animation-delay:-0.24s}#ti-loading .ti-loading-effect div:nth-child(2){left:32px;animation-delay:-0.12s}#ti-loading .ti-loading-effect div:nth-child(3){left:56px;animation-delay:0}@keyframes ti-loading-effect{0%{top:8px;height:64px}50%,100%{top:24px;height:32px}}
|
1 |
+
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap&subset=latin-ext");@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap");#trustindex-plugin-settings-page{max-width:1200px}#trustindex-plugin-settings-page.ti-toggle-opacity{opacity:0;transition:opacity 0.25s}#trustindex-plugin-settings-page h1{line-height:1.25em;color:#000;font-family:"Montserrat";font-weight:600;font-size:35px}#trustindex-plugin-settings-page h1 strong{font-weight:900}#trustindex-plugin-settings-page h1 img{height:23px}@media (max-width:767px){#trustindex-plugin-settings-page h1{font-size:21px}}#trustindex-plugin-settings-page h2{margin-top:40px;font-weight:700;font-size:16px;line-height:1.35em;font-family:"Open Sans", serif}#trustindex-plugin-settings-page h3{font-weight:700;font-size:20px;font-family:"Montserrat"}#trustindex-plugin-settings-page p{font-size:16px;font-family:"Open Sans", serif;font-weight:400;color:#5c666d}#trustindex-plugin-settings-page p.text-small{font-size:10px;margin:0}#trustindex-plugin-settings-page ol,#trustindex-plugin-settings-page ol li,#trustindex-plugin-settings-page ul,#trustindex-plugin-settings-page ul li{font-size:14px;font-family:"Open Sans", serif}#trustindex-plugin-settings-page li{margin-bottom:7px}#trustindex-plugin-settings-page strong{font-weight:700;color:#000}#trustindex-plugin-settings-page .ti-widget strong{color:inherit}#trustindex-plugin-settings-page .container_wrapper{display:table;width:100%;table-layout:fixed}#trustindex-plugin-settings-page .container_cell{display:table-cell;margin:0px;padding:10px;vertical-align:top}#trustindex-plugin-settings-page #container-main{width:100%}#trustindex-plugin-settings-page #container-sidebar{width:261px;padding:100px 0 0 19px}#trustindex-plugin-settings-page #container-sidebar .sticky{position:fixed;top:200px}#trustindex-plugin-settings-page .maxwidth{max-width:1240px}#trustindex-plugin-settings-page .zoomable-pic{max-width:200px;cursor:pointer}#trustindex-plugin-settings-page .ti-check{margin-bottom:40px;margin-left:15px}#trustindex-plugin-settings-page .ti-check li{position:relative;margin-left:20px;margin-bottom:10px !important}#trustindex-plugin-settings-page .ti-check li:before{content:"";width:16px;height:16px;display:block;top:1px;left:-30px;position:absolute;background:url(../img/check-icon.svg);background-size:contain}#trustindex-plugin-settings-page .ti-left-label{font-weight:bold;font-size:14px;display:inline-block;margin-right:20px;line-height:44px;width:200px;text-align:right;cursor:unset}#trustindex-plugin-settings-page .ti-left-label span{line-height:1.3;display:inline-block;vertical-align:middle;padding:0}#trustindex-plugin-settings-page .ti-box{background:#fff;padding:70px;border-radius:4px;-webkit-box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0 0.05);-moz-box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0.05);box-shadow:10px 10px 39px 0px rgba(0, 0, 0, 0.05)}#trustindex-plugin-settings-page .ti-box h1{margin-top:0px;font-weight:700;margin-bottom:20px}@media (min-width:768px){#trustindex-plugin-settings-page .ti-box h1{font-size:40px}}#trustindex-plugin-settings-page .ti-box h2{margin-top:0px;margin-bottom:40px}#trustindex-plugin-settings-page .ti-box .ti-col-6 h2{max-width:450px;line-height:1.6em}#trustindex-plugin-settings-page .ti-box hr{border:none;height:0px;border-top:1px solid #ddd;margin-bottom:22px}@media (max-width:1200px){#trustindex-plugin-settings-page .ti-box{padding:15px}#trustindex-plugin-settings-page .ti-box hr{margin-left:-15px;margin-right:-15px;margin-bottom:30px}}#trustindex-plugin-settings-page .ti-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;box-sizing:border-box}#trustindex-plugin-settings-page .ti-col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:0 0 50%;box-sizing:border-box}@media (min-width:1200px){#trustindex-plugin-settings-page .ti-col-6:last-child{padding-left:100px}}#trustindex-plugin-settings-page .ti-col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:0 0 100%}#trustindex-plugin-settings-page .ti-col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}#trustindex-plugin-settings-page .ti-col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}@media (max-width:1200px){#trustindex-plugin-settings-page .ti-col-6,#trustindex-plugin-settings-page .ti-col-auto,#trustindex-plugin-settings-page .ti-col{-ms-flex:0 0 100%;flex:0 0 100%;max-width:0 0 100%}}#trustindex-plugin-settings-page .rate-us .rate-us-wrapper{font-size:18px}@media (min-width:1200px){#trustindex-plugin-settings-page .rate-us .rate-us-wrapper{text-align:right}#trustindex-plugin-settings-page .rate-us .rate-us-wrapper p{margin-bottom:10px !important;font-size:20px !important;margin-top:0px !important}}#trustindex-plugin-settings-page .ti-my-reviews .ti-user-avatar{width:30px;margin-bottom:-2px;border-radius:50%}#trustindex-plugin-settings-page .ti-my-reviews .ti-star{display:inline-block;width:17px}#trustindex-plugin-settings-page .ti-my-reviews .morecontent a{outline:0 !important;box-shadow:none !important}#trustindex-plugin-settings-page .ti-tooltip{position:relative;pointer-events:auto !important}#trustindex-plugin-settings-page .ti-tooltip .ti-tooltip-message{color:#fff;background-color:#3B404B;padding:0px 6px;border-radius:4px;font-size:11px;line-height:20px;font-weight:500;display:inline-block;width:auto !important;height:auto !important;position:absolute;right:100%;top:0;margin-right:25px;white-space:nowrap;opacity:0;transition:all 0.3s ease-in-out}#trustindex-plugin-settings-page .ti-tooltip .ti-tooltip-message:before{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent #3B404B;content:"";position:absolute;right:-5px;top:50%;margin-top:-5px}#trustindex-plugin-settings-page .ti-tooltip:hover .ti-tooltip-message{opacity:1;margin-right:10px}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download .ti-tooltip-message,#trustindex-plugin-settings-page .ti-tooltip.ti-tooltip-left .ti-tooltip-message{right:initial;margin-right:0;margin-left:25px;left:100%;top:3px}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download .ti-tooltip-message:before,#trustindex-plugin-settings-page .ti-tooltip.ti-tooltip-left .ti-tooltip-message:before{right:initial;left:-5px;border-width:5px 5px 5px 0;border-color:transparent #3B404B transparent transparent}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download.show-tooltip .ti-tooltip-message,#trustindex-plugin-settings-page .ti-tooltip.ti-tooltip-left.show-tooltip .ti-tooltip-message{opacity:1 !important;margin-left:10px}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download.btn-disabled{pointer-events:none !important}#trustindex-plugin-settings-page .ti-tooltip#review-manual-download:hover .ti-tooltip-message{opacity:0;margin-right:initial}#trustindex-plugin-settings-page .text-center{text-align:center}#trustindex-plugin-settings-page .ti-notice{background:#fff;border:1px solid #c3c4c7;border-left-width:4px;box-shadow:0 1px 1px rgba(0, 0, 0, 0.04);margin:5px 15px 2px;padding:1px 12px}#trustindex-plugin-settings-page .ti-notice.notice-info{border-left-color:#72aee6}#trustindex-plugin-settings-page .ti-notice.notice-error{border-left-color:#d63638}#trustindex-plugin-settings-page .ti-notice.notice-warning{border-left-color:#dba617}#trustindex-plugin-settings-page .ti-notice.notice-success{border-left-color:#00a32a}#trustindex-plugin-settings-page .ti-notice.is-dismissible{position:relative;padding-right:38px}#trustindex-plugin-settings-page .form-group{display:block;overflow:hidden;margin-top:20px;position:relative}#trustindex-plugin-settings-page .form-control{width:100%;margin:0;padding:6px 15px;border-radius:0.25rem;border:2px solid #ddd;background-color:#efefef;transition:all 0.2s}#trustindex-plugin-settings-page .form-control.has-error{border-color:red}#trustindex-plugin-settings-page .input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%}#trustindex-plugin-settings-page .input-group>.form-control{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}#trustindex-plugin-settings-page .input-group-prepend{margin-right:-1px}#trustindex-plugin-settings-page .input-group-append,#trustindex-plugin-settings-page .input-group-prepend{display:-webkit-box;display:-ms-flexbox;display:flex}#trustindex-plugin-settings-page .input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0.375rem 0.75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:0.25rem;border-top-right-radius:0;border-bottom-right-radius:0}#trustindex-plugin-settings-page .ti-checkbox{float:left;display:inline-block;margin-bottom:10px;margin-right:15px;white-space:nowrap;cursor:pointer;user-select:none}#trustindex-plugin-settings-page .ti-checkbox.row{margin-right:100%}#trustindex-plugin-settings-page .ti-checkbox.disabled{cursor:default}#trustindex-plugin-settings-page .ti-checkbox.disabled label{color:rgba(68, 68, 68, 0.5);cursor:default !important}#trustindex-plugin-settings-page .ti-checkbox input,#trustindex-plugin-settings-page .ti-checkbox label{pointer-events:none}#trustindex-plugin-settings-page .ti-checkbox input{position:relative;top:2px;margin-right:10px}#trustindex-plugin-settings-page .ti-checkbox label{font-size:14px !important}#trustindex-plugin-settings-page .ti-checkbox span{width:16px;height:16px;display:inline-block;margin-right:1px}#trustindex-plugin-settings-page .ti-select{display:block;max-width:calc(25rem - 30px);margin:0;padding:8px 15px;border-radius:0.25rem;border:2px solid #ddd;background-color:#efefef;font-size:14px;line-height:2;color:#32373c;position:relative;cursor:pointer;user-select:none}#trustindex-plugin-settings-page .ti-select:after{content:"›";position:absolute;top:50%;right:9px;font-size:26px;z-index:1;transform:translateY(-50%) rotate(90deg)}#trustindex-plugin-settings-page .ti-select ul{display:none;position:absolute;z-index:1;left:-1px;top:100%;width:100%;margin:0;padding:0;list-style-type:none;background-color:#efefef;border:1px solid #ddd;border-top:0;border-bottom-left-radius:0.25rem;border-bottom-right-radius:0.25rem}#trustindex-plugin-settings-page .ti-select ul li{display:block;margin:0 !important;padding:5px 10px;border-top:1px solid #ccc;cursor:pointer;line-height:1.4;transition:all 0.3s}#trustindex-plugin-settings-page .ti-select ul li:hover{background:rgba(30, 144, 255, 0.3)}#trustindex-plugin-settings-page .ti-select ul li.selected{background:rgba(30, 144, 255, 0.6);pointer-events:none}#trustindex-plugin-settings-page .ti-select ul li li *{pointer-events:none}#trustindex-plugin-settings-page .ti-select .ti-star{position:relative;top:3px;width:16px;height:16px;display:inline-block;margin-right:1px}#trustindex-plugin-settings-page .ti-select.active{border-radius:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}#trustindex-plugin-settings-page .ti-select.active ul{display:block}#trustindex-plugin-settings-page .ti-select.active:after{content:"‹"}#trustindex-plugin-settings-page .ti-toggle-password{position:absolute;right:16px;bottom:15px;font-size:26px;cursor:pointer;z-index:1;opacity:0.7;transition:opacity 0.3s}#trustindex-plugin-settings-page .ti-toggle-password:hover{opacity:1}#trustindex-plugin-settings-page .btn{display:block;line-height:1.5;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:0.8rem 1.5rem;margin:20px auto 0px auto;width:fit-content;font-size:1.2rem;border-radius:0.25rem;-webkit-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;font-weight:bold;text-decoration:none;cursor:pointer}#trustindex-plugin-settings-page .btn:hover{color:#fff;opacity:0.9}#trustindex-plugin-settings-page .btn-primary{background-color:#ee7321 !important;border-color:#ee7321 !important;font-family:"Montserrat";font-weight:700;color:white}#trustindex-plugin-settings-page .btn-danger{background-color:#d9534f !important;border-color:#d9534f !important;color:white}#trustindex-plugin-settings-page .btn-text{display:inline-block;color:#fff;text-decoration:none;border-radius:4px;background:#2AA8D7;font-family:"Montserrat";padding:10px 15px;margin:3px;font-weight:700;outline:0 !important}#trustindex-plugin-settings-page .btn-text:hover{background-color:#2187ad}#trustindex-plugin-settings-page .btn-disabled{background:#bdbec2 !important;border-color:#bdbec2 !important}#trustindex-plugin-settings-page .autocomplete{display:block;position:relative}#trustindex-plugin-settings-page .autocomplete .input{display:inline-block;vertical-align:top;margin-right:5px;position:relative;min-width:55%}#trustindex-plugin-settings-page .autocomplete .input input[type=text]:focus{background:#e3f2f9;border:2px solid #2AA8D7;outline:0;box-shadow:unset !important}#trustindex-plugin-settings-page .autocomplete .info-text{padding:0;padding-top:5px;opacity:0.5}#trustindex-plugin-settings-page .autocomplete .loading{position:absolute;right:8px;top:14px;width:18px;z-index:1;display:none}#trustindex-plugin-settings-page .autocomplete .btn-text{font-size:14px !important;padding:6px 15px;line-height:2;border:2px solid #2AA8D7;outline:0 !important;display:inline-block;vertical-align:top;margin:0}#trustindex-plugin-settings-page .autocomplete span{display:block;padding:10px}#trustindex-plugin-settings-page .autocomplete span.error{color:#e33244}#trustindex-plugin-settings-page .autocomplete .results{position:absolute;top:46px;z-index:1;width:calc(100% - 2px);padding:0;margin:0;border-radius:0.25rem;border:1px solid #ddd;background:#fff;display:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#trustindex-plugin-settings-page .autocomplete .results:after,#trustindex-plugin-settings-page .autocomplete .results:before{bottom:100%;left:32px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}#trustindex-plugin-settings-page .autocomplete .results:after{border-color:rgba(255, 255, 255, 0);border-bottom-color:#fff;border-width:8px;margin-left:-8px}#trustindex-plugin-settings-page .autocomplete .results:before{border-color:rgba(221, 221, 221, 0);border-bottom-color:#ddd;border-width:9px;margin-left:-9px}#trustindex-plugin-settings-page .autocomplete .results ul{display:block;max-height:300px;overflow:auto;list-style-type:none;margin:0;padding:0}#trustindex-plugin-settings-page .autocomplete .results li{display:block;padding:5px 10px;margin:0;border-bottom:1px solid grey;cursor:pointer;transition:all 0.25s}#trustindex-plugin-settings-page .autocomplete .results li:last-of-type{border-bottom:0}#trustindex-plugin-settings-page .autocomplete .results li:hover{background:rgba(0, 100, 255, 0.1)}#trustindex-plugin-settings-page .autocomplete .results li svg{width:40px;height:40px;position:relative;top:3px;margin-right:10px;float:left}#trustindex-plugin-settings-page .autocomplete .results li img{width:44px;height:44px;margin-right:10px;float:left;border-radius:50%;box-shadow:0 0 2px black}#trustindex-plugin-settings-page .autocomplete .results li .title{margin:0;margin-bottom:5px;font-size:14px;color:#000;pointer-events:none}#trustindex-plugin-settings-page .autocomplete .results li .location{margin:0;font-size:12px;color:#888;pointer-events:none}#trustindex-plugin-settings-page .nav-tab-wrapper{margin-bottom:0;border:0;padding-right:100px;position:relative}#trustindex-plugin-settings-page .nav-tab{background-color:#f9f9f9;border:0;box-shadow:0 0 0px black !important;border-top:4px solid #f9f9f9;padding:12px 15px;margin-left:0;margin-right:0.35em}#trustindex-plugin-settings-page .nav-tab:last-child{margin-right:0}@media (max-width:1099px){#trustindex-plugin-settings-page .nav-tab{margin-bottom:0.35em}}#trustindex-plugin-settings-page .nav-tab-active{background-color:#fff !important;border-color:#2aa9d6}#trustindex-plugin-settings-page .nav-tab-right{position:absolute;right:0;bottom:0}#trustindex-plugin-settings-page .ti-free-steps{margin-top:0;background:#fff;font-size:14px;display:flex;justify-content:space-between;position:relative;padding:5px 0}#trustindex-plugin-settings-page .ti-free-steps li{list-style:none;padding:20px 0;display:inline-block;color:#afb2b8;margin-bottom:0;white-space:nowrap}#trustindex-plugin-settings-page .ti-free-steps li:first-child{padding-left:20px}#trustindex-plugin-settings-page .ti-free-steps li:last-child{padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li>span{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#bdbec2;color:white;margin-right:7px;font-size:11px;border-radius:4px;font-weight:normal}#trustindex-plugin-settings-page .ti-free-steps li.current{font-weight:bold;pointer-events:none}#trustindex-plugin-settings-page .ti-free-steps li.active,#trustindex-plugin-settings-page .ti-free-steps li.done{color:black;cursor:pointer}#trustindex-plugin-settings-page .ti-free-steps li.active>span{background:#2aa8d8;box-shadow:0 0 3px #2aa8d8}#trustindex-plugin-settings-page .ti-free-steps li.done>span{background:#4db594;color:transparent;position:relative}#trustindex-plugin-settings-page .ti-free-steps li.done>span:after{content:"✓";color:white;margin-left:-7px;font-weight:bold}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow{position:relative;display:inline-block;padding:0;padding-top:25px}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:before,#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:after{content:"";background:#d8d8d8;position:relative;width:11px;height:3px;display:block;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);border-radius:2px}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:after{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);top:4px}@media (max-width:1240px){#trustindex-plugin-settings-page .ti-free-steps{flex-wrap:wrap}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(4){width:100%;opacity:0;padding-top:0;margin-top:-6px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(3){padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-left:20px}}@media (max-width:600px){#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(2),#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(6){width:100%;opacity:0;padding-top:0;margin-top:-6px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(1),#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-right:20px}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(3),#trustindex-plugin-settings-page .ti-free-steps li:nth-child(7){padding-left:20px;padding-right:0}#trustindex-plugin-settings-page .ti-free-steps .ti-free-arrow:nth-child(4){width:unset;opacity:unset;padding-top:25px;margin-top:unset}#trustindex-plugin-settings-page .ti-free-steps li:nth-child(5){padding-left:0}}#trustindex-plugin-settings-page .ti-free-title{font-size:25px !important;font-weight:bold !important;padding:0 20px;margin:25px 0 !important}#trustindex-plugin-settings-page .ti-free-subtitle{font-size:18px !important;font-weight:bold !important;padding:0 15px;margin-bottom:15px !important;margin-top:45px !important}#trustindex-plugin-settings-page .ti-back-icon{color:#5d6268;float:right;font-size:14px;font-weight:bold;position:relative;cursor:pointer;text-decoration:none;box-shadow:0 0 0px black !important;text-shadow:none !important}#trustindex-plugin-settings-page .ti-back-icon:before,#trustindex-plugin-settings-page .ti-back-icon:after{content:"";background:#d8d8d8;position:absolute;left:-18px;top:11px;width:9px;height:3px;display:block;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border-radius:2px}#trustindex-plugin-settings-page .ti-back-icon:after{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);margin-top:4px}#trustindex-plugin-settings-page .ti-box{background:white;padding:25px;border-radius:4px;margin-bottom:1em}#trustindex-plugin-settings-page .ti-box .btn-text{margin-left:0;font-size:13px}#trustindex-plugin-settings-page .ti-box>.ti-header{font-size:18px;font-weight:600;border-bottom:1px solid #e0e0e0;margin-bottom:20px;padding-bottom:10px;color:inherit}#trustindex-plugin-settings-page .ti-box>.ti-header span,#trustindex-plugin-settings-page .ti-box>.ti-header strong{color:inherit}#trustindex-plugin-settings-page .ti-box>.ti-header .btn-text{margin:0;padding:5px 15px;margin-top:-5px}#trustindex-plugin-settings-page .ti-box>.ti-footer{border-top:1px solid #e0e0e0;margin-top:20px;padding-top:20px}#trustindex-plugin-settings-page .ti-box .preview{float:unset;box-sizing:border-box}#trustindex-plugin-settings-page .ti-box img{max-width:100%}#trustindex-plugin-settings-page .ti-box.ti-notice-error{border-left:4px solid red;border-top-left-radius:0;border-bottom-left-radius:0}#trustindex-plugin-settings-page .ti-box.ti-notice-warning{border-left:4px solid #ffb900;border-top-left-radius:0;border-bottom-left-radius:0}#trustindex-plugin-settings-page .ti-preview-boxes-container{display:flex;flex-wrap:wrap;margin:0 -10px;box-sizing:border-box}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-full-width{flex:0 0 100%;max-width:100%;padding-left:10px;padding-right:10px;box-sizing:inherit;margin-bottom:20px}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-half-width{flex:0 0 50%;max-width:50%;padding-left:10px;padding-right:10px;margin-left:auto;margin-right:auto;box-sizing:inherit;margin-bottom:20px}#trustindex-plugin-settings-page .ti-preview-boxes-container .ti-preview-boxes{height:100%}#trustindex-plugin-settings-page .ti-header-layout-text{font-weight:normal;font-size:85%}#trustindex-plugin-settings-page .ti-pull-right{float:right}#trustindex-plugin-settings-page .ti-pull-right+.ti-pull-right{margin-right:20px}#trustindex-plugin-settings-page .ti-left-block,#trustindex-plugin-settings-page .ti-right-block{display:inline-block !important;float:left;vertical-align:top;width:calc(50% - 15px) !important;margin:0 !important}#trustindex-plugin-settings-page .ti-left-block .form-control,#trustindex-plugin-settings-page .ti-right-block .form-control{max-width:400px}#trustindex-plugin-settings-page .ti-right-block{float:right}#trustindex-plugin-settings-page .ti-input-row{margin-bottom:1.33em}#trustindex-plugin-settings-page .ti-input-row:last-child{margin:0}#trustindex-plugin-settings-page .ti-input-row label{display:block;font-size:15px;font-weight:600;font-family:inherit;cursor:unset;color:inherit;margin-bottom:0.5em}#trustindex-plugin-settings-page #ti-widget-options{margin-top:25px}#trustindex-plugin-settings-page .ti-preview-box{padding:10px 0}#trustindex-plugin-settings-page .code-shortcode{display:inline-block;padding:10px;border-radius:0.25rem;border:2px solid #dcdce4;background:#f1f1f1}#trustindex-plugin-settings-page .code-shortcode+a{position:relative;top:1px}#trustindex-plugin-settings-page .ti-seo-list{margin:20px 0;counter-reset:li;padding-left:35px}#trustindex-plugin-settings-page .ti-seo-list li{position:relative;list-style:none;margin:0;margin-bottom:25px;counter-increment:li}#trustindex-plugin-settings-page .ti-seo-list li:before{content:counter(li);position:absolute;left:-35px;top:0;display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#4db594;color:white;font-size:11px;border-radius:4px;font-weight:normal}#trustindex-plugin-settings-page .ti-filter-row{font-size:14px;display:block;padding:20px 25px;background:#f7f7f7;margin-bottom:10px;border-radius:4px}#trustindex-plugin-settings-page .ti-filter-row>label{margin-right:15px}#trustindex-plugin-settings-page .ti-filter-row .ti-checkbox{float:unset;width:auto;margin-bottom:0}#trustindex-plugin-settings-page .ti-filter-row .ti-checkbox input{margin-right:3px}#trustindex-plugin-settings-page .ti-source-box{display:block;border:1px solid #dddddf;box-shadow:2px 2px 5px rgba(0, 0, 0, 0.1);background:white;padding:15px;padding-right:175px;position:relative;border-radius:4px;margin-bottom:20px}#trustindex-plugin-settings-page .ti-source-box img{float:left;width:30px;height:30px;margin-right:10px;margin-top:4px;object-fit:cover;object-position:top}#trustindex-plugin-settings-page .ti-source-box .ti-source-info{display:inline-block;word-wrap:break-word;max-width:calc(100% - 70px)}#trustindex-plugin-settings-page .ti-source-box .ti-source-info a:only-child{display:block;margin:10px 0}#trustindex-plugin-settings-page .ti-source-box .btn-text{position:absolute;right:15px;top:50%;transform:translateY(-50%);margin:0;font-size:13px}#trustindex-plugin-settings-page .ti-selected-source{margin-top:15px;display:none}#trustindex-plugin-settings-page .ti-selected-source .ti-left-label{vertical-align:top;line-height:unset;padding-top:10px;float:left}#trustindex-plugin-settings-page .ti-selected-source .ti-source-box{display:inline-block;width:550px;margin-bottom:0;float:left}#trustindex-plugin-settings-page .ti-selected-source .ti-source-box+.ti-source-box{margin-left:220px;margin-top:20px}#trustindex-plugin-settings-page #ti-widget-options .ti-checkbox{margin-bottom:5px}#trustindex-plugin-settings-page .ti-highlight-content{display:block;margin-top:10px;padding:10px 20px;background:#eee;position:relative}#trustindex-plugin-settings-page .ti-highlight-content .selection-content{position:relative;z-index:1}#trustindex-plugin-settings-page .ti-highlight-content .raw-content{position:absolute;color:transparent;width:calc(100% - 40px);z-index:0}#trustindex-plugin-settings-page .ti-highlight-content .raw-content mark{color:transparent !important;background:#fbe049 !important}#trustindex-plugin-settings-page .ti-my-reviews mark.ti-highlight{padding:0 1px;background:#4682B4;color:white}#trustindex-plugin-settings-page .ti-prokontra-good svg,#trustindex-plugin-settings-page .ti-prokontra-bad svg{width:18px;height:18px;display:inline-block;vertical-align:sub;position:relative;top:-1px}#trustindex-plugin-settings-page .ti-prokontra-good svg{fill:#0ab21b}#trustindex-plugin-settings-page .ti-prokontra-bad svg{fill:#383838}#trustindex-plugin-settings-page .ti-prokontra-good:after,#trustindex-plugin-settings-page .ti-prokontra-bad:after{content:" · "}#trustindex-plugin-settings-page .ti-special-offer{width:40%;margin:10px 0}#trustindex-plugin-settings-page .ti-special-offer img{float:left;width:100px;border:0;margin-right:15px;margin-top:2px}#trustindex-plugin-settings-page .ti-special-offer p{font-size:14px}#trustindex-plugin-settings-page .ti-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;display:none;overflow-x:hidden;overflow-y:auto;outline:0;background:rgba(0, 0, 0, 0.5)}#trustindex-plugin-settings-page .ti-modal .ti-modal-dialog{position:relative;width:auto;margin:30px auto;margin-top:50px;max-width:800px}#trustindex-plugin-settings-page .ti-modal .ti-modal-content{position:relative;display:flex;flex-direction:column;background-color:white;background-clip:padding-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:4px;outline:0}#trustindex-plugin-settings-page .ti-modal .ti-modal-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid #e0e0e0;font-size:18px;font-weight:600}#trustindex-plugin-settings-page .ti-modal .ti-modal-title{margin-bottom:0;line-height:1.5}#trustindex-plugin-settings-page .ti-modal .ti-modal-body{position:relative;flex:1 1 auto;padding:15px}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer{display:flex;align-items:center;justify-content:flex-end;padding:15px;border-top:1px solid #e0e0e0}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer>:not(:first-child){margin-left:0.25rem}#trustindex-plugin-settings-page .ti-modal .ti-modal-footer>:not(:last-child){margin-right:0.25rem}#trustindex-plugin-settings-page .troubleshooting-checklist{list-style:decimal;padding-left:25px}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons{position:relative;top:-1px;margin:0 3px}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons.dashicons-yes-alt{color:green}#trustindex-plugin-settings-page .troubleshooting-checklist .dashicons.dashicons-dismiss{color:red}#trustindex-plugin-settings-page .troubleshooting-checklist ul{list-style:disc !important;margin:15px 0 !important;padding-left:30px !important}#trustindex-plugin-settings-page .troubleshooting-checklist ul li:last-child{margin-bottom:0}#trustindex-plugin-settings-page .troubleshooting-checklist .ti-notice{margin:5px 15px 2px !important;margin-left:0 !important;padding-left:8px}#trustindex-plugin-settings-page .troubleshooting-checklist .ti-notice p{margin:0.1em 0;font-size:13px}#trustindex-plugin-settings-page .troubleshooting-checklist a{text-decoration:none}#trustindex-plugin-settings-page .ti-troubleshooting-info{width:calc(100% - 50px);height:200px;resize:none;outline:0 !important;box-shadow:none !important;border:1px solid #7e8993 !important;margin:0 25px}#trustindex-plugin-settings-page .ti-troubleshooting-info+.btn-text{margin-top:10px;margin-right:25px}#trustindex-plugin-settings-page .ti-quick-rating{display:inline-block}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check{display:inline-block;float:right;width:34px;height:34px;margin-left:2px;cursor:pointer;transition:all 0.2s;background-color:#ccc;-webkit-mask:url("https://cdn.trustindex.io/assets/platform/Trustindex/star/f.svg") no-repeat 50% 50%;mask:url("https://cdn.trustindex.io/assets/platform/Trustindex/star/f.svg") no-repeat 50% 50%}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:last-of-type{margin-left:0}#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:hover,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check:hover~.ti-star-check,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check.active,#trustindex-plugin-settings-page .ti-quick-rating .ti-star-check.active~.ti-star-check{background-color:#F6BB06}#trustindex-plugin-settings-page .ti-rate-us-box{position:relative}#trustindex-plugin-settings-page .ti-rate-us-box .ti-header{border:0;margin-bottom:5px;padding:0;font-weight:700}#trustindex-plugin-settings-page .ti-rate-us-box p{margin:0;font-size:14px}#trustindex-plugin-settings-page .ti-rate-us-box .ti-quick-rating{position:absolute;right:25px;top:50%;transform:translateY(-50%)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-dialog{margin:0 auto;top:50%;transform:translateY(-50%)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-body{text-align:center;padding:25px;padding-bottom:15px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon{position:absolute;top:20px;right:20px;width:28px;height:28px;opacity:0.5;transition:opacity 0.4s;cursor:pointer;z-index:1}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:before,#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:after{position:absolute;left:50%;content:" ";height:100%;width:2px;background-color:#666;transform:rotate(45deg)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:after{transform:rotate(-45deg)}#trustindex-plugin-settings-page .ti-rateus-modal .ti-close-icon:hover{opacity:1}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rateus-logo{margin-top:15px;width:50px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rateus-title{margin-top:15px;margin-bottom:35px;font-size:26px;font-weight:bold;line-height:34px}#trustindex-plugin-settings-page .ti-rateus-modal .ti-modal-footer{border:0;justify-content:center;padding:25px;padding-top:0}#trustindex-plugin-settings-page .ti-rateus-modal textarea{resize:none;height:150px;margin-top:15px}#trustindex-plugin-settings-page .ti-rateus-modal .btn-text.btn-modal-close{background-color:#dbdde5;border-color:#dbdde5;color:#3B404B}#trustindex-plugin-settings-page .ti-rateus-modal .btn-text.btn-modal-close:hover{background-color:#bdc1d0 !important;border-color:#bdc1d0 !important}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox{display:inline-block;border-radius:4px;box-shadow:0px 4px 30px rgba(0, 0, 0, 0.15);padding:10px 20px;margin-bottom:10px;margin-top:15px;position:relative}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border:10px solid transparent;border-bottom-width:0;border-top-color:#fff}#trustindex-plugin-settings-page .ti-rateus-modal .ti-rating-textbox .ti-quick-rating{pointer-events:none}#trustindex-plugin-settings-page .ti-rateus-modal p{margin-top:-20px;margin-bottom:5px;font-size:18px}#ti-loading{position:fixed;background:rgba(240, 240, 241, 0.9);left:0;top:0;width:100%;height:100%;display:none;opacity:0;transition:opacity 0.4s}#ti-loading.active{display:block;opacity:1}#ti-loading .ti-loading-effect{display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:80px;height:80px}#ti-loading .ti-loading-effect div{display:inline-block;position:absolute;left:8px;width:16px;background:#000;animation:ti-loading-effect 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite}#ti-loading .ti-loading-effect div:nth-child(1){left:8px;animation-delay:-0.24s}#ti-loading .ti-loading-effect div:nth-child(2){left:32px;animation-delay:-0.12s}#ti-loading .ti-loading-effect div:nth-child(3){left:56px;animation-delay:0}@keyframes ti-loading-effect{0%{top:8px;height:64px}50%,100%{top:24px;height:32px}}
|
static/js/admin-page-settings-common.js
CHANGED
@@ -576,7 +576,10 @@ jQuery(document).ready(function() {
|
|
576 |
// show modals
|
577 |
if(parseInt(star.data('value')) >= 4)
|
578 |
{
|
579 |
-
|
|
|
|
|
|
|
580 |
}
|
581 |
else
|
582 |
{
|
@@ -639,24 +642,6 @@ jQuery(document).ready(function() {
|
|
639 |
location.reload(true);
|
640 |
});
|
641 |
});
|
642 |
-
|
643 |
-
// review us on wordpress
|
644 |
-
jQuery(document).on('click', '.btn-rateus-success', function(event) {
|
645 |
-
event.preventDefault();
|
646 |
-
|
647 |
-
let btn = jQuery(this);
|
648 |
-
|
649 |
-
// show loading animation
|
650 |
-
btn.blur().css('pointer-events', 'none').addClass('btn-disabled');
|
651 |
-
TI_manage_dots(btn);
|
652 |
-
|
653 |
-
// open new window
|
654 |
-
window.open(location.href + '&command=rate-us-feedback&star=' + jQuery('#ti-rateus-modal-success .ti-quick-rating .ti-star-check.active').data('value'), '_blank');
|
655 |
-
|
656 |
-
// hide modal & box
|
657 |
-
jQuery('#ti-rateus-modal-success').fadeOut();
|
658 |
-
jQuery('.ti-rate-us-box').fadeOut();
|
659 |
-
});
|
660 |
});
|
661 |
|
662 |
//btn: JQuery Element
|
576 |
// show modals
|
577 |
if(parseInt(star.data('value')) >= 4)
|
578 |
{
|
579 |
+
// open new window
|
580 |
+
window.open(location.href + '&command=rate-us-feedback&star=' + star.data('value'), '_blank');
|
581 |
+
|
582 |
+
jQuery('.ti-rate-us-box').fadeOut();
|
583 |
}
|
584 |
else
|
585 |
{
|
642 |
location.reload(true);
|
643 |
});
|
644 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
645 |
});
|
646 |
|
647 |
//btn: JQuery Element
|
static/js/admin-page-settings-connect.js
CHANGED
@@ -146,7 +146,7 @@ jQuery(document).ready(function($) {
|
|
146 |
|
147 |
$('#ti-connect-info').hide();
|
148 |
|
149 |
-
callback($('#ti-noreg-connect-token').val(), event.data.request_id, typeof event.data.manual_download != 'undefined' && event.data.manual_download ? 1 : 0);
|
150 |
}
|
151 |
if(event.origin.startsWith('https://admin.trustindex.io/'.replace(/\/$/,'')) && !event.data.success)
|
152 |
{
|
@@ -183,11 +183,16 @@ jQuery(document).ready(function($) {
|
|
183 |
Trustindex_Connect.button.css('pointer-events', 'none');
|
184 |
|
185 |
// do request
|
186 |
-
Trustindex_Connect.async_request(function(token, request_id, manual_download) {
|
187 |
$('#ti-noreg-review-download').val(token);
|
188 |
$('#ti-noreg-review-request-id').val(request_id);
|
189 |
$('#ti-noreg-manual-download').val(manual_download);
|
190 |
|
|
|
|
|
|
|
|
|
|
|
191 |
Trustindex_Connect.form.submit();
|
192 |
});
|
193 |
});
|
@@ -208,17 +213,29 @@ jQuery(document).ready(function($) {
|
|
208 |
$('.btn-download-reviews').on('click', function(event) {
|
209 |
event.preventDefault();
|
210 |
|
211 |
-
Trustindex_Connect.async_request(function(token, request_id, manual_download) {
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
});
|
223 |
});
|
224 |
|
146 |
|
147 |
$('#ti-connect-info').hide();
|
148 |
|
149 |
+
callback($('#ti-noreg-connect-token').val(), event.data.request_id, typeof event.data.manual_download != 'undefined' && event.data.manual_download ? 1 : 0, event.data.place || null);
|
150 |
}
|
151 |
if(event.origin.startsWith('https://admin.trustindex.io/'.replace(/\/$/,'')) && !event.data.success)
|
152 |
{
|
183 |
Trustindex_Connect.button.css('pointer-events', 'none');
|
184 |
|
185 |
// do request
|
186 |
+
Trustindex_Connect.async_request(function(token, request_id, manual_download, place) {
|
187 |
$('#ti-noreg-review-download').val(token);
|
188 |
$('#ti-noreg-review-request-id').val(request_id);
|
189 |
$('#ti-noreg-manual-download').val(manual_download);
|
190 |
|
191 |
+
if(place)
|
192 |
+
{
|
193 |
+
$("#ti-noreg-page_details").val(JSON.stringify(place));
|
194 |
+
}
|
195 |
+
|
196 |
Trustindex_Connect.form.submit();
|
197 |
});
|
198 |
});
|
213 |
$('.btn-download-reviews').on('click', function(event) {
|
214 |
event.preventDefault();
|
215 |
|
216 |
+
Trustindex_Connect.async_request(function(token, request_id, manual_download, place) {
|
217 |
+
if(place)
|
218 |
+
{
|
219 |
+
$.ajax({
|
220 |
+
type: "POST",
|
221 |
+
data: { review_download_timestamp: place.timestamp }
|
222 |
+
}).always(function(r) {
|
223 |
+
location.reload();
|
224 |
+
});
|
225 |
+
}
|
226 |
+
else
|
227 |
+
{
|
228 |
+
$.ajax({
|
229 |
+
type: "POST",
|
230 |
+
data: {
|
231 |
+
review_download_request: token,
|
232 |
+
review_download_request_id: request_id,
|
233 |
+
manual_download: manual_download
|
234 |
+
}
|
235 |
+
}).always(function(r) {
|
236 |
+
location.reload();
|
237 |
+
});
|
238 |
+
}
|
239 |
});
|
240 |
});
|
241 |
|
tabs/get_reviews.php
CHANGED
@@ -13,21 +13,21 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
13 |
</div>
|
14 |
<?php if(class_exists('Woocommerce')): ?>
|
15 |
<div class="ti-box">
|
16 |
-
<div class="ti-header"><?php echo TrustindexPlugin_google::___('
|
17 |
-
<?php if(!class_exists('
|
18 |
-
<p><?php echo TrustindexPlugin_google::___("Download our new <a href='%s' target='_blank'>%s</a> plugin and get features for free!", [ 'https://wordpress.org/plugins/customer-reviews-for-woocommerce/', TrustindexPlugin_google::___('Customer Reviews for WooCommerce') ]); ?></p>
|
19 |
<?php endif; ?>
|
20 |
<ul class="ti-check" style="margin-bottom: 20px">
|
21 |
-
<li><?php echo TrustindexPlugin_google::___('
|
22 |
-
<li><?php echo TrustindexPlugin_google::___('
|
23 |
-
<li><?php echo TrustindexPlugin_google::___('
|
24 |
</ul>
|
25 |
-
<?php if(class_exists('
|
26 |
-
<a href="?page=customer-reviews-for-woocommerce%
|
27 |
-
<?php echo TrustindexPlugin_google::___("
|
28 |
</a>
|
29 |
<?php else: ?>
|
30 |
-
<a href="https://wordpress.org/plugins/customer-reviews-for-woocommerce/" target="_blank" class="btn-text">
|
31 |
<?php echo TrustindexPlugin_google::___("Download plugin"); ?>
|
32 |
</a>
|
33 |
<?php endif; ?>
|
13 |
</div>
|
14 |
<?php if(class_exists('Woocommerce')): ?>
|
15 |
<div class="ti-box">
|
16 |
+
<div class="ti-header"><?php echo TrustindexPlugin_google::___('Collect reviews automatically for your WooCommerce shop'); ?></div>
|
17 |
+
<?php if(!class_exists('TrustindexCollectorPlugin')): ?>
|
18 |
+
<p><?php echo TrustindexPlugin_google::___("Download our new <a href='%s' target='_blank'>%s</a> plugin and get features for free!", [ 'https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/', TrustindexPlugin_google::___('Customer Reviews Collector for WooCommerce') ]); ?></p>
|
19 |
<?php endif; ?>
|
20 |
<ul class="ti-check" style="margin-bottom: 20px">
|
21 |
+
<li><?php echo TrustindexPlugin_google::___('Send unlimited review invitations for free'); ?></li>
|
22 |
+
<li><?php echo TrustindexPlugin_google::___('E-mail templates are fully customizable'); ?></li>
|
23 |
+
<li><?php echo TrustindexPlugin_google::___('Collect reviews on 100+ review platforms (Google, Facebook, Yelp, etc.)'); ?></li>
|
24 |
</ul>
|
25 |
+
<?php if(class_exists('TrustindexCollectorPlugin')): ?>
|
26 |
+
<a href="?page=customer-reviews-collector-for-woocommerce%2Fadmin.php&tab=settings" class="btn-text">
|
27 |
+
<?php echo TrustindexPlugin_google::___("Collect reviews automatically"); ?>
|
28 |
</a>
|
29 |
<?php else: ?>
|
30 |
+
<a href="https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/" target="_blank" class="btn-text">
|
31 |
<?php echo TrustindexPlugin_google::___("Download plugin"); ?>
|
32 |
</a>
|
33 |
<?php endif; ?>
|
tabs/my_reviews.php
CHANGED
@@ -40,6 +40,11 @@ update_option($trustindex_pm_google->get_option_name('review-download-request-id
|
|
40 |
}
|
41 |
exit;
|
42 |
}
|
|
|
|
|
|
|
|
|
|
|
43 |
$reviews = [];
|
44 |
if($trustindex_pm_google->is_noreg_linked())
|
45 |
{
|
@@ -109,10 +114,20 @@ $download_timestamp = get_option($trustindex_pm_google->get_option_name('downloa
|
|
109 |
<?php endif; ?>
|
110 |
<div class="ti-box">
|
111 |
<div class="ti-header"><?php echo TrustindexPlugin_google::___("My Reviews"); ?></div>
|
112 |
-
<?php if(!$is_review_download_in_progress
|
113 |
<div class="tablenav top" style="margin-bottom: 26px">
|
114 |
<div class="alignleft actions">
|
|
|
115 |
<a href="?page=<?php echo esc_attr($_GET['page']); ?>&tab=setup_no_reg&refresh&my_reviews" class="btn-text btn-refresh btn-download-reviews" style="margin-left: 0" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>" data-delay=10><?php echo TrustindexPlugin_google::___("Download new reviews") ;?></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
</div>
|
117 |
</div>
|
118 |
<div class="ti-notice notice-info" style="margin: 15px 0; display: none" id="ti-connect-info">
|
@@ -122,7 +137,7 @@ $download_timestamp = get_option($trustindex_pm_google->get_option_name('downloa
|
|
122 |
<input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
|
123 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
124 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
125 |
-
<input type="hidden" id="ti-noreg-version" value="9.
|
126 |
<?php if(isset($page_details['access_token'])): ?>
|
127 |
<input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
|
128 |
<?php endif; ?>
|
@@ -165,13 +180,11 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
|
|
165 |
<a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
|
166 |
<?php echo TrustindexPlugin_google::___("Manual download") ;?>
|
167 |
<span class="ti-tooltip-message">
|
168 |
-
<span class="ti-tooltip-message">
|
169 |
<?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background.'); ?>
|
170 |
<?php if(!in_array('google', [ 'facebook', 'google' ])): ?>
|
171 |
<?php echo TrustindexPlugin_google::___('This can take up to a few hours depending on the load and platform.'); ?>
|
172 |
<?php endif; ?>
|
173 |
</span>
|
174 |
-
</span>
|
175 |
</a>
|
176 |
<?php endif; ?>
|
177 |
</p>
|
@@ -233,4 +246,26 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
|
|
233 |
</div>
|
234 |
</div>
|
235 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
<?php endif; ?>
|
40 |
}
|
41 |
exit;
|
42 |
}
|
43 |
+
if(isset($_POST['review_download_timestamp']))
|
44 |
+
{
|
45 |
+
update_option($trustindex_pm_google->get_option_name('download-timestamp'), intval($_POST['review_download_timestamp']), false);
|
46 |
+
exit;
|
47 |
+
}
|
48 |
$reviews = [];
|
49 |
if($trustindex_pm_google->is_noreg_linked())
|
50 |
{
|
114 |
<?php endif; ?>
|
115 |
<div class="ti-box">
|
116 |
<div class="ti-header"><?php echo TrustindexPlugin_google::___("My Reviews"); ?></div>
|
117 |
+
<?php if(!$is_review_download_in_progress): ?>
|
118 |
<div class="tablenav top" style="margin-bottom: 26px">
|
119 |
<div class="alignleft actions">
|
120 |
+
<?php if($download_timestamp < time()): ?>
|
121 |
<a href="?page=<?php echo esc_attr($_GET['page']); ?>&tab=setup_no_reg&refresh&my_reviews" class="btn-text btn-refresh btn-download-reviews" style="margin-left: 0" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>" data-delay=10><?php echo TrustindexPlugin_google::___("Download new reviews") ;?></a>
|
122 |
+
<?php else: ?>
|
123 |
+
<a href="#" class="btn-text btn-disabled" style="margin-left: 0; pointer-events: none"> <?php echo TrustindexPlugin_google::___("Download new reviews"); ?></a>
|
124 |
+
<div class="ti-notice notice-warning" style="margin: 0 0 15px 0">
|
125 |
+
<p style="margin: 6px 0">
|
126 |
+
<?php echo TrustindexPlugin_google::___('You have to wait to be able to update.'); ?>
|
127 |
+
<a href="https://www.trustindex.io/frequently-asked-questions/#my-reviews-aren-t-updating"><?php echo TrustindexPlugin_google::___('Why?'); ?></a>
|
128 |
+
</p>
|
129 |
+
</div>
|
130 |
+
<?php endif; ?>
|
131 |
</div>
|
132 |
</div>
|
133 |
<div class="ti-notice notice-info" style="margin: 15px 0; display: none" id="ti-connect-info">
|
137 |
<input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
|
138 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
139 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
140 |
+
<input type="hidden" id="ti-noreg-version" value="9.5" />
|
141 |
<?php if(isset($page_details['access_token'])): ?>
|
142 |
<input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
|
143 |
<?php endif; ?>
|
180 |
<a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
|
181 |
<?php echo TrustindexPlugin_google::___("Manual download") ;?>
|
182 |
<span class="ti-tooltip-message">
|
|
|
183 |
<?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background.'); ?>
|
184 |
<?php if(!in_array('google', [ 'facebook', 'google' ])): ?>
|
185 |
<?php echo TrustindexPlugin_google::___('This can take up to a few hours depending on the load and platform.'); ?>
|
186 |
<?php endif; ?>
|
187 |
</span>
|
|
|
188 |
</a>
|
189 |
<?php endif; ?>
|
190 |
</p>
|
246 |
</div>
|
247 |
</div>
|
248 |
</div>
|
249 |
+
<?php if(class_exists('Woocommerce')): ?>
|
250 |
+
<div class="ti-box">
|
251 |
+
<div class="ti-header"><?php echo TrustindexPlugin_google::___('Collect reviews automatically for your WooCommerce shop'); ?></div>
|
252 |
+
<?php if(!class_exists('TrustindexCollectorPlugin')): ?>
|
253 |
+
<p><?php echo TrustindexPlugin_google::___("Download our new <a href='%s' target='_blank'>%s</a> plugin and get features for free!", [ 'https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/', TrustindexPlugin_google::___('Customer Reviews Collector for WooCommerce') ]); ?></p>
|
254 |
+
<?php endif; ?>
|
255 |
+
<ul class="ti-check" style="margin-bottom: 20px">
|
256 |
+
<li><?php echo TrustindexPlugin_google::___('Send unlimited review invitations for free'); ?></li>
|
257 |
+
<li><?php echo TrustindexPlugin_google::___('E-mail templates are fully customizable'); ?></li>
|
258 |
+
<li><?php echo TrustindexPlugin_google::___('Collect reviews on 100+ review platforms (Google, Facebook, Yelp, etc.)'); ?></li>
|
259 |
+
</ul>
|
260 |
+
<?php if(class_exists('TrustindexCollectorPlugin')): ?>
|
261 |
+
<a href="?page=customer-reviews-collector-for-woocommerce%2Fadmin.php&tab=settings" class="btn-text">
|
262 |
+
<?php echo TrustindexPlugin_google::___("Collect reviews automatically"); ?>
|
263 |
+
</a>
|
264 |
+
<?php else: ?>
|
265 |
+
<a href="https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/" target="_blank" class="btn-text">
|
266 |
+
<?php echo TrustindexPlugin_google::___("Download plugin"); ?>
|
267 |
+
</a>
|
268 |
+
<?php endif; ?>
|
269 |
+
</div>
|
270 |
+
<?php endif; ?>
|
271 |
<?php endif; ?>
|
tabs/rate.php
CHANGED
@@ -18,7 +18,7 @@ wp_enqueue_script('trustindex-js', 'https://cdn.trustindex.io/loader.js', [], fa
|
|
18 |
<hr>
|
19 |
<div class="ti-row">
|
20 |
<div class="ti-col-12">
|
21 |
-
<div src='https://cdn.trustindex.io/loader.js
|
22 |
</div>
|
23 |
</div>
|
24 |
</div>
|
18 |
<hr>
|
19 |
<div class="ti-row">
|
20 |
<div class="ti-col-12">
|
21 |
+
<div src='https://cdn.trustindex.io/loader.js?<?php echo '3ef6962888fb40403c525129f9'; ?>'></div>
|
22 |
</div>
|
23 |
</div>
|
24 |
</div>
|
tabs/setup_no_reg.php
CHANGED
@@ -122,7 +122,7 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
|
|
122 |
<input type="hidden" id="ti-noreg-connect-token" name="ti-noreg-connect-token" value="<?php echo $review_download_token; ?>" />
|
123 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
124 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
125 |
-
<input type="hidden" id="ti-noreg-version" value="9.
|
126 |
<input type="hidden" id="ti-noreg-review-download" name="review_download" value="0" />
|
127 |
<input type="hidden" id="ti-noreg-review-request-id" name="review_request_id" value="" />
|
128 |
<input type="hidden" id="ti-noreg-manual-download" name="manual_download" value=0 />
|
@@ -438,43 +438,43 @@ $widget_has_reviews = !in_array($widget_type, [ 'button', 'badge' ]) || in_array
|
|
438 |
<div class="ti-box">
|
439 |
<div class="ti-header"><?php echo TrustindexPlugin_google::___('Increase SEO, trust and sales using customer reviews.'); ?></div>
|
440 |
<a class="btn-text" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-1" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Account for More Features'); ?></a>
|
441 |
-
<div class="ti-notice notice-success ti-special-offer">
|
442 |
-
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/special_30.jpg'); ?>">
|
443 |
-
<p><?php echo TrustindexPlugin_google::___('Now we offer you a 30%% discount off your subscription! Create your free account and benefit from the onboarding discount now!'); ?></p>
|
444 |
-
<div class="clear"></div>
|
445 |
-
</div>
|
446 |
<ul class="ti-seo-list">
|
447 |
<li>
|
448 |
-
<strong><?php echo TrustindexPlugin_google::___("
|
449 |
-
<?php echo TrustindexPlugin_google::___("
|
450 |
-
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/platforms.png'); ?>" alt="" style="margin-top: 5px" />
|
451 |
</li>
|
452 |
<li>
|
453 |
-
<strong><?php echo TrustindexPlugin_google::___("Create
|
454 |
<?php echo TrustindexPlugin_google::___("Use the widgets matching your page the best to build trust."); ?>
|
455 |
</li>
|
456 |
<li>
|
|
|
|
|
|
|
|
|
|
|
457 |
<strong><?php echo TrustindexPlugin_google::___("Mix Reviews"); ?></strong><br />
|
458 |
<?php echo TrustindexPlugin_google::___("You can mix your reviews from different platforms and display them in 1 review widget."); ?>
|
459 |
</li>
|
460 |
<li>
|
461 |
-
<strong><?php echo TrustindexPlugin_google::___("Get
|
462 |
<?php echo TrustindexPlugin_google::___("Use our Review Invitation System to collect hundreds of new reviews. Become impossible to resist!"); ?>
|
463 |
</li>
|
464 |
<li>
|
465 |
-
<strong><?php echo TrustindexPlugin_google::___("Manage
|
466 |
<?php echo TrustindexPlugin_google::___("Turn on email alert to ALL new reviews, so that you can manage them quickly."); ?>
|
467 |
</li>
|
468 |
<li>
|
469 |
<strong><?php echo TrustindexPlugin_google::___("Automatically update with NEW reviews"); ?></strong><br />
|
470 |
<?php echo TrustindexPlugin_google::___("Wordpress cannot update reviews, but Trustindex can! As soon as you get a new review, Trustindex Business can automatically add it to your website. Customers love fresh reviews!"); ?>
|
471 |
</li>
|
472 |
-
<li>
|
473 |
-
<strong><?php echo TrustindexPlugin_google::___("Display UNLIMITED number of reviews"); ?></strong><br />
|
474 |
-
<?php echo TrustindexPlugin_google::___("You can test Trustindex with 10 reviews in the free version. Upgrade to Business to display ALL the reviews received. Be the undisputed customer choice in your industry!"); ?>
|
475 |
-
</li>
|
476 |
</ul>
|
477 |
<a class="btn-text" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-2" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Account for More Features'); ?></a>
|
|
|
|
|
|
|
|
|
|
|
478 |
</div>
|
479 |
<?php if(!$rate_us_feedback): ?>
|
480 |
<div class="ti-modal ti-rateus-modal" id="ti-rateus-modal-feedback">
|
@@ -499,24 +499,5 @@ $widget_has_reviews = !in_array($widget_type, [ 'button', 'badge' ]) || in_array
|
|
499 |
</div>
|
500 |
</div>
|
501 |
</div>
|
502 |
-
<div class="ti-modal ti-rateus-modal" id="ti-rateus-modal-success">
|
503 |
-
<div class="ti-modal-dialog">
|
504 |
-
<div class="ti-modal-content">
|
505 |
-
<div class="ti-modal-body">
|
506 |
-
<div class="ti-rating-textbox">
|
507 |
-
<div class="ti-quick-rating">
|
508 |
-
<?php for($i = 5; $i >= 1; $i--): ?><div class="ti-star-check" data-value="<?php echo $i; ?>"></div><?php endfor; ?>
|
509 |
-
<div class="clear"></div>
|
510 |
-
</div>
|
511 |
-
</div>
|
512 |
-
<div class="ti-rateus-title"><?php echo TrustindexPlugin_google::___('Hurray!') ;?></div>
|
513 |
-
<p><?php echo TrustindexPlugin_google::___('Your valuable feedback encourages us to keep improving our plugin.<br />Please take a moment to share your experience with other users on Wordpress.<br />Thanks a million!'); ?></p>
|
514 |
-
</div>
|
515 |
-
<div class="ti-modal-footer">
|
516 |
-
<a href="#" class="btn-text btn-rateus-success" data-loading-text="<?php echo TrustindexPlugin_google::___('Loading') ;?>"><?php echo TrustindexPlugin_google::___('Review us on Wordpress') ;?></a>
|
517 |
-
</div>
|
518 |
-
</div>
|
519 |
-
</div>
|
520 |
-
</div>
|
521 |
<?php endif; ?>
|
522 |
<?php endif; ?>
|
122 |
<input type="hidden" id="ti-noreg-connect-token" name="ti-noreg-connect-token" value="<?php echo $review_download_token; ?>" />
|
123 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
124 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
125 |
+
<input type="hidden" id="ti-noreg-version" value="9.5" />
|
126 |
<input type="hidden" id="ti-noreg-review-download" name="review_download" value="0" />
|
127 |
<input type="hidden" id="ti-noreg-review-request-id" name="review_request_id" value="" />
|
128 |
<input type="hidden" id="ti-noreg-manual-download" name="manual_download" value=0 />
|
438 |
<div class="ti-box">
|
439 |
<div class="ti-header"><?php echo TrustindexPlugin_google::___('Increase SEO, trust and sales using customer reviews.'); ?></div>
|
440 |
<a class="btn-text" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-1" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Account for More Features'); ?></a>
|
|
|
|
|
|
|
|
|
|
|
441 |
<ul class="ti-seo-list">
|
442 |
<li>
|
443 |
+
<strong><?php echo TrustindexPlugin_google::___("Display unlimited number of reviews"); ?></strong><br />
|
444 |
+
<?php echo TrustindexPlugin_google::___("You can test Trustindex with 10 reviews in the free version. Upgrade to Business to display ALL the reviews received. Be the undisputed customer choice in your industry!"); ?>
|
|
|
445 |
</li>
|
446 |
<li>
|
447 |
+
<strong><?php echo TrustindexPlugin_google::___("Create unlimited number of widgets"); ?></strong><br />
|
448 |
<?php echo TrustindexPlugin_google::___("Use the widgets matching your page the best to build trust."); ?>
|
449 |
</li>
|
450 |
<li>
|
451 |
+
<strong><?php echo TrustindexPlugin_google::___("%d review platforms", [ 58 ]); ?></strong><br />
|
452 |
+
<?php echo TrustindexPlugin_google::___("Add more reviews to your widget from %s, etc. to enjoy more trust, and to keep customers on your site.", [ 'Google, Facebook, Yelp, Amazon, Tripadvisor, Booking.com, Airbnb, Hotels.com, Capterra, Foursquare, Opentable' ]); ?><br />
|
453 |
+
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/platforms.png'); ?>" alt="" style="margin-top: 5px" />
|
454 |
+
</li>
|
455 |
+
<li>
|
456 |
<strong><?php echo TrustindexPlugin_google::___("Mix Reviews"); ?></strong><br />
|
457 |
<?php echo TrustindexPlugin_google::___("You can mix your reviews from different platforms and display them in 1 review widget."); ?>
|
458 |
</li>
|
459 |
<li>
|
460 |
+
<strong><?php echo TrustindexPlugin_google::___("Get more reviews"); ?></strong><br />
|
461 |
<?php echo TrustindexPlugin_google::___("Use our Review Invitation System to collect hundreds of new reviews. Become impossible to resist!"); ?>
|
462 |
</li>
|
463 |
<li>
|
464 |
+
<strong><?php echo TrustindexPlugin_google::___("Manage all reviews in one place"); ?></strong><br />
|
465 |
<?php echo TrustindexPlugin_google::___("Turn on email alert to ALL new reviews, so that you can manage them quickly."); ?>
|
466 |
</li>
|
467 |
<li>
|
468 |
<strong><?php echo TrustindexPlugin_google::___("Automatically update with NEW reviews"); ?></strong><br />
|
469 |
<?php echo TrustindexPlugin_google::___("Wordpress cannot update reviews, but Trustindex can! As soon as you get a new review, Trustindex Business can automatically add it to your website. Customers love fresh reviews!"); ?>
|
470 |
</li>
|
|
|
|
|
|
|
|
|
471 |
</ul>
|
472 |
<a class="btn-text" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-2" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Account for More Features'); ?></a>
|
473 |
+
<div class="ti-notice notice-success ti-special-offer">
|
474 |
+
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/special_30.jpg'); ?>">
|
475 |
+
<p><?php echo TrustindexPlugin_google::___('Now we offer you a 30%% discount off your subscription! Create your free account and benefit from the onboarding discount now!'); ?></p>
|
476 |
+
<div class="clear"></div>
|
477 |
+
</div>
|
478 |
</div>
|
479 |
<?php if(!$rate_us_feedback): ?>
|
480 |
<div class="ti-modal ti-rateus-modal" id="ti-rateus-modal-feedback">
|
499 |
</div>
|
500 |
</div>
|
501 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
<?php endif; ?>
|
503 |
<?php endif; ?>
|
tabs/setup_no_reg_header.php
CHANGED
@@ -83,10 +83,17 @@ $wpdb->insert($table_name, [
|
|
83 |
'date' => substr($date, 0, 10)
|
84 |
]);
|
85 |
}
|
86 |
-
if($trustindex_pm_google->shortname == 'facebook' || count($reviews) == $page_details['rating_number'])
|
87 |
{
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
delete_option($trustindex_pm_google->get_option_name('review-download-inprogress'));
|
|
|
90 |
}
|
91 |
}
|
92 |
update_option( $trustindex_pm_google->get_option_name('page-details') , $page_details, false );
|
@@ -346,7 +353,7 @@ $star = isset($_REQUEST['star']) ? intval($_REQUEST['star']) : 1;
|
|
346 |
update_option($trustindex_pm_google->get_option_name('rate-us-feedback'), $star, false);
|
347 |
if($star > 3)
|
348 |
{
|
349 |
-
header('Location: https://wordpress.org/support/plugin/'. $trustindex_pm_google->get_plugin_slug() . '/reviews/?rate=
|
350 |
}
|
351 |
else
|
352 |
{
|
83 |
'date' => substr($date, 0, 10)
|
84 |
]);
|
85 |
}
|
86 |
+
if($trustindex_pm_google->shortname == 'facebook' || count($reviews) == $page_details['rating_number'] || count($reviews) == 10)
|
87 |
{
|
88 |
+
$timestamp = time() + (86400 * 10);
|
89 |
+
if(isset($page_details['timestamp']))
|
90 |
+
{
|
91 |
+
$timestamp = $page_details['timestamp'];
|
92 |
+
unset($page_details['timestamp']);
|
93 |
+
}
|
94 |
+
update_option($trustindex_pm_google->get_option_name('download-timestamp'), $timestamp, false);
|
95 |
delete_option($trustindex_pm_google->get_option_name('review-download-inprogress'));
|
96 |
+
delete_option($trustindex_pm_google->get_option_name('review-manual-download'));
|
97 |
}
|
98 |
}
|
99 |
update_option( $trustindex_pm_google->get_option_name('page-details') , $page_details, false );
|
353 |
update_option($trustindex_pm_google->get_option_name('rate-us-feedback'), $star, false);
|
354 |
if($star > 3)
|
355 |
{
|
356 |
+
header('Location: https://wordpress.org/support/plugin/'. $trustindex_pm_google->get_plugin_slug() . '/reviews/?rate='. $star .'#new-post');
|
357 |
}
|
358 |
else
|
359 |
{
|
tabs/setup_trustindex.php
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
3 |
-
wp_enqueue_script('trustindex-js', 'https://cdn.trustindex.io/loader.js', [], false, true);
|
4 |
?>
|
5 |
<div id="tab-setup_trustindex">
|
6 |
<div class="ti-box">
|
7 |
<div class="ti-row">
|
8 |
-
<div class="ti-col-
|
9 |
<h1><?php echo TrustindexPlugin_google::___('Skyrocket Your Sales with Customer Reviews'); ?></h1>
|
10 |
<h2>
|
11 |
<?php echo TrustindexPlugin_google::___('%s+ WordPress websites use Trustindex to embed reviews fast and easily.', [ '100.000' ]); ?><br />
|
@@ -13,24 +12,23 @@ wp_enqueue_script('trustindex-js', 'https://cdn.trustindex.io/loader.js', [], fa
|
|
13 |
</h2>
|
14 |
<h3><?php echo TrustindexPlugin_google::___('Top Features'); ?></h3>
|
15 |
<ul class="ti-check">
|
16 |
-
<li><?php echo TrustindexPlugin_google::___(
|
17 |
-
<li><?php echo TrustindexPlugin_google::___('Create
|
18 |
-
<li><?php echo TrustindexPlugin_google::___(
|
19 |
-
<li><?php echo TrustindexPlugin_google::___('
|
20 |
-
<li><?php echo TrustindexPlugin_google::___('
|
|
|
21 |
<li><?php echo TrustindexPlugin_google::___('Automatically update with NEW reviews'); ?></li>
|
22 |
-
|
23 |
</ul>
|
24 |
-
</div>
|
25 |
-
<div class="ti-col-6">
|
26 |
-
<div src='https://cdn.trustindex.io/loader.js?76afafc10ad42261d7587d98bf'></div>
|
27 |
-
</div>
|
28 |
-
</div>
|
29 |
<a class="btn-text btn-lg arrow-btn" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-3" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Trustindex Account for More Features'); ?></a>
|
30 |
<div class="ti-notice notice-success ti-special-offer">
|
31 |
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/special_30.jpg'); ?>">
|
32 |
<p><?php echo TrustindexPlugin_google::___('Now we offer you a 30%% discount off your subscription! Create your free account and benefit from the onboarding discount now!'); ?></p>
|
33 |
<div class="clear"></div>
|
|
|
|
|
|
|
34 |
</div>
|
35 |
</div>
|
36 |
</div>
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
|
3 |
?>
|
4 |
<div id="tab-setup_trustindex">
|
5 |
<div class="ti-box">
|
6 |
<div class="ti-row">
|
7 |
+
<div class="ti-col-12">
|
8 |
<h1><?php echo TrustindexPlugin_google::___('Skyrocket Your Sales with Customer Reviews'); ?></h1>
|
9 |
<h2>
|
10 |
<?php echo TrustindexPlugin_google::___('%s+ WordPress websites use Trustindex to embed reviews fast and easily.', [ '100.000' ]); ?><br />
|
12 |
</h2>
|
13 |
<h3><?php echo TrustindexPlugin_google::___('Top Features'); ?></h3>
|
14 |
<ul class="ti-check">
|
15 |
+
<li><?php echo TrustindexPlugin_google::___('Display unlimited number of reviews'); ?></li>
|
16 |
+
<li><?php echo TrustindexPlugin_google::___('Create unlimited number of widgets'); ?></li>
|
17 |
+
<li><?php echo TrustindexPlugin_google::___("%d review platforms", [ 58 ]); ?></li>
|
18 |
+
<li><?php echo TrustindexPlugin_google::___('Mix reviews from different platforms'); ?></li>
|
19 |
+
<li><?php echo TrustindexPlugin_google::___('Get more reviews'); ?></li>
|
20 |
+
<li><?php echo TrustindexPlugin_google::___('Manage all reviews in one place'); ?></li>
|
21 |
<li><?php echo TrustindexPlugin_google::___('Automatically update with NEW reviews'); ?></li>
|
22 |
+
|
23 |
</ul>
|
|
|
|
|
|
|
|
|
|
|
24 |
<a class="btn-text btn-lg arrow-btn" href="https://www.trustindex.io/ti-redirect.php?a=sys&c=wp-google-3" target="_blank"><?php echo TrustindexPlugin_google::___('Create a Free Trustindex Account for More Features'); ?></a>
|
25 |
<div class="ti-notice notice-success ti-special-offer">
|
26 |
<img src="<?php echo $trustindex_pm_google->get_plugin_file_url('static/img/special_30.jpg'); ?>">
|
27 |
<p><?php echo TrustindexPlugin_google::___('Now we offer you a 30%% discount off your subscription! Create your free account and benefit from the onboarding discount now!'); ?></p>
|
28 |
<div class="clear"></div>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
|
32 |
</div>
|
33 |
</div>
|
34 |
</div>
|
tabs/troubleshooting.php
CHANGED
@@ -39,7 +39,7 @@ exit;
|
|
39 |
}
|
40 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
41 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
42 |
-
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "9.
|
43 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
44 |
$css = get_option($trustindex_pm_google->get_option_name('css-content'));
|
45 |
?>
|
39 |
}
|
40 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
41 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
42 |
+
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "9.5");
|
43 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
44 |
$css = get_option($trustindex_pm_google->get_option_name('css-content'));
|
45 |
?>
|
trustindex-google-widget.class.php
CHANGED
@@ -47,12 +47,7 @@ echo $trustindex_pm_google->get_noreg_list_reviews();
|
|
47 |
}
|
48 |
else
|
49 |
{
|
50 |
-
echo TrustindexPlugin_google::
|
51 |
-
"error",
|
52 |
-
" in <strong>".TrustindexPlugin_google::___('Widgets for Google Reviews')."</strong> plugin<br /><br />"
|
53 |
-
.TrustindexPlugin_google::___("Please fill out <strong>all the required fields</strong> in the <a href='%s'>widget settings</a> page", [admin_url('admin.php?page='.$trustindex_pm_google->get_plugin_slug().'/settings.php')]),
|
54 |
-
false
|
55 |
-
);
|
56 |
}
|
57 |
echo $after_widget;
|
58 |
}
|
47 |
}
|
48 |
else
|
49 |
{
|
50 |
+
echo $trustindex_pm_google->error_box_for_admins(TrustindexPlugin_google::___("Please fill out <strong>all the required fields</strong> in the <a href='%s'>widget settings</a> page", [ admin_url('admin.php?page='.$trustindex_pm_google->get_plugin_slug().'/settings.php') ]));
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
echo $after_widget;
|
53 |
}
|
trustindex-plugin.class.php
CHANGED
@@ -317,6 +317,7 @@ return [
|
|
317 |
'review-download-inprogress',
|
318 |
'review-download-request-id',
|
319 |
'review-manual-download',
|
|
|
320 |
];
|
321 |
}
|
322 |
public function get_platforms()
|
@@ -446,15 +447,10 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
|
|
446 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
447 |
$file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
|
448 |
}
|
449 |
-
$chosed_platform = new self($force_platform, $file_path, "do-not-care-9.
|
450 |
if(!$chosed_platform->is_noreg_linked())
|
451 |
{
|
452 |
-
return self::
|
453 |
-
"error",
|
454 |
-
" @ <strong>". self::___('Trustindex plugin') ."</strong><br /><br />"
|
455 |
-
.self::___('You have to connect your business (%s)!', [$force_platform]),
|
456 |
-
false
|
457 |
-
);
|
458 |
}
|
459 |
else
|
460 |
{
|
@@ -463,13 +459,16 @@ return $chosed_platform->get_noreg_list_reviews($force_platform);
|
|
463 |
}
|
464 |
else
|
465 |
{
|
466 |
-
return self::
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
)
|
|
|
|
|
472 |
}
|
|
|
473 |
}
|
474 |
|
475 |
/* WITHOUT REG MODE HELPERS
|
@@ -4037,8 +4036,50 @@ if($this->shortname == "amazon" && strpos($page_id, '/') !== false)
|
|
4037 |
{
|
4038 |
$url = str_replace('sp?seller=', '', $url);
|
4039 |
}
|
|
|
|
|
|
|
|
|
4040 |
return $url;
|
4041 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4042 |
public function getReviewHtml($review)
|
4043 |
{
|
4044 |
$html = preg_replace('/\r\n|\r|\n/', "\n", html_entity_decode($review->text, ENT_HTML5 | ENT_QUOTES));
|
@@ -4188,19 +4229,20 @@ $reviews = $this->getRandomReviews($rating_num);
|
|
4188 |
}
|
4189 |
if(!count($reviews))
|
4190 |
{
|
4191 |
-
|
4192 |
-
|
4193 |
-
|
4194 |
-
|
4195 |
-
)
|
|
|
|
|
|
|
|
|
|
|
4196 |
}
|
4197 |
if(self::is_amp_active() && self::is_amp_enabled())
|
4198 |
{
|
4199 |
-
return self::
|
4200 |
-
"error",
|
4201 |
-
'<br />' . self::___('Free plugin features are unavailable with AMP plugin.'),
|
4202 |
-
false
|
4203 |
-
);
|
4204 |
}
|
4205 |
$script_name = 'trustindex-js';
|
4206 |
if(!wp_script_is($script_name, 'enqueued'))
|
@@ -4304,11 +4346,7 @@ if (class_exists('\Elementor\Plugin') && \Elementor\Plugin::$instance->editor->i
|
|
4304 |
}
|
4305 |
else
|
4306 |
{
|
4307 |
-
return self::
|
4308 |
-
"error",
|
4309 |
-
'<br />' . self::___('CSS file could not saved.'),
|
4310 |
-
false
|
4311 |
-
);
|
4312 |
}
|
4313 |
}
|
4314 |
$content .= '<style type="text/css">'. $widget_css .'</style>';
|
@@ -4491,8 +4529,15 @@ $array['content'] = str_replace('platform/'. ucfirst($this->getShortName()) .'/l
|
|
4491 |
}
|
4492 |
if(in_array($array['style_id'], [24, 25, 26, 27, 28, 29, 35]))
|
4493 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
4494 |
$array['content'] = str_replace('%footer_link%', $this->getPageUrl(), $array['content']);
|
4495 |
}
|
|
|
4496 |
else
|
4497 |
{
|
4498 |
$array['content'] = preg_replace('/<a href=[\'"]%footer_link%[\'"][^>]*>(.+)<\/a>/mU', '$1', $array['content']);
|
317 |
'review-download-inprogress',
|
318 |
'review-download-request-id',
|
319 |
'review-manual-download',
|
320 |
+
'review-download-notification'
|
321 |
];
|
322 |
}
|
323 |
public function get_platforms()
|
447 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
448 |
$file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
|
449 |
}
|
450 |
+
$chosed_platform = new self($force_platform, $file_path, "do-not-care-9.5", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
|
451 |
if(!$chosed_platform->is_noreg_linked())
|
452 |
{
|
453 |
+
return $this->error_box_for_admins(self::___('You have to connect your business (%s)!', [$force_platform]));
|
|
|
|
|
|
|
|
|
|
|
454 |
}
|
455 |
else
|
456 |
{
|
459 |
}
|
460 |
else
|
461 |
{
|
462 |
+
return $this->error_box_for_admins(self::___('Your shortcode is deficient: Trustindex Widget ID is empty! Example: ') . '<br /><code>['.$this->get_shortcode_name().' data-widget-id="478dcc2136263f2b3a3726ff"]</code>');
|
463 |
+
}
|
464 |
+
}
|
465 |
+
public function error_box_for_admins($text)
|
466 |
+
{
|
467 |
+
if(!current_user_can('manage_options'))
|
468 |
+
{
|
469 |
+
return "";
|
470 |
}
|
471 |
+
return self::get_alertbox('error', ' @ <strong>'. self::___('Trustindex plugin') .'</strong> <i style="opacity: 0.65">('. self::___('This message is not be visible to visitors in public mode.') .')</i><br /><br />'. $text, false);
|
472 |
}
|
473 |
|
474 |
/* WITHOUT REG MODE HELPERS
|
4036 |
{
|
4037 |
$url = str_replace('sp?seller=', '', $url);
|
4038 |
}
|
4039 |
+
if($this->shortname == 'google' && $this->getGoogleType($page_id) == 'shop')
|
4040 |
+
{
|
4041 |
+
$url = 'https://customerreviews.google.com/v/merchant?q=' . $page_id;
|
4042 |
+
}
|
4043 |
return $url;
|
4044 |
}
|
4045 |
+
private function getGoogleType($page_id)
|
4046 |
+
{
|
4047 |
+
return preg_match('/&c=\w+&v=\d+/', $page_id) ? 'shop' : 'map';
|
4048 |
+
}
|
4049 |
+
public function getReviewPageUrl()
|
4050 |
+
{
|
4051 |
+
$page_details = get_option($this->get_option_name('page-details'));
|
4052 |
+
if(!$page_details)
|
4053 |
+
{
|
4054 |
+
return "";
|
4055 |
+
}
|
4056 |
+
$page_id = $page_details['id'];
|
4057 |
+
if($this->getGoogleType($page_id) == 'shop')
|
4058 |
+
{
|
4059 |
+
return "https://customerreviews.google.com/v/merchant?q=" . $page_id;
|
4060 |
+
}
|
4061 |
+
else
|
4062 |
+
{
|
4063 |
+
return "http://search.google.com/local/reviews?placeid=". $page_id;
|
4064 |
+
}
|
4065 |
+
}
|
4066 |
+
public function getReviewWriteUrl()
|
4067 |
+
{
|
4068 |
+
$page_details = get_option($this->get_option_name('page-details'));
|
4069 |
+
if(!$page_details)
|
4070 |
+
{
|
4071 |
+
return "";
|
4072 |
+
}
|
4073 |
+
$page_id = $page_details['id'];
|
4074 |
+
if($this->getGoogleType($page_id) == 'shop')
|
4075 |
+
{
|
4076 |
+
return "https://customerreviews.google.com/v/merchant?q=" . $page_id;
|
4077 |
+
}
|
4078 |
+
else
|
4079 |
+
{
|
4080 |
+
return "http://search.google.com/local/writereview?placeid=". $page_id;
|
4081 |
+
}
|
4082 |
+
}
|
4083 |
public function getReviewHtml($review)
|
4084 |
{
|
4085 |
$html = preg_replace('/\r\n|\r|\n/', "\n", html_entity_decode($review->text, ENT_HTML5 | ENT_QUOTES));
|
4229 |
}
|
4230 |
if(!count($reviews))
|
4231 |
{
|
4232 |
+
$text = self::___('There are no reviews on your %s platform.', [ ucfirst($this->shortname) ]);
|
4233 |
+
if($this->is_review_download_in_progress())
|
4234 |
+
{
|
4235 |
+
$text = self::___('Your reviews are downloading in the background.');
|
4236 |
+
if(!in_array($this->shortname, [ 'facebook', 'google' ]))
|
4237 |
+
{
|
4238 |
+
$text .= ' ' . self::___('This can take up to a few hours depending on the load and platform.');
|
4239 |
+
}
|
4240 |
+
}
|
4241 |
+
return $this->error_box_for_admins($text);
|
4242 |
}
|
4243 |
if(self::is_amp_active() && self::is_amp_enabled())
|
4244 |
{
|
4245 |
+
return $this->error_box_for_admins(self::___('Free plugin features are unavailable with AMP plugin.'));
|
|
|
|
|
|
|
|
|
4246 |
}
|
4247 |
$script_name = 'trustindex-js';
|
4248 |
if(!wp_script_is($script_name, 'enqueued'))
|
4346 |
}
|
4347 |
else
|
4348 |
{
|
4349 |
+
return $this->error_box_for_admins(self::___('CSS file could not saved.'));
|
|
|
|
|
|
|
|
|
4350 |
}
|
4351 |
}
|
4352 |
$content .= '<style type="text/css">'. $widget_css .'</style>';
|
4529 |
}
|
4530 |
if(in_array($array['style_id'], [24, 25, 26, 27, 28, 29, 35]))
|
4531 |
{
|
4532 |
+
if($this->shortname == 'google')
|
4533 |
+
{
|
4534 |
+
$array['content'] = str_replace('%footer_link%', $array['style_id'] == 26 ? $this->getReviewWriteUrl() : $this->getReviewPageUrl(), $array['content']);
|
4535 |
+
}
|
4536 |
+
else
|
4537 |
+
{
|
4538 |
$array['content'] = str_replace('%footer_link%', $this->getPageUrl(), $array['content']);
|
4539 |
}
|
4540 |
+
}
|
4541 |
else
|
4542 |
{
|
4543 |
$array['content'] = preg_replace('/<a href=[\'"]%footer_link%[\'"][^>]*>(.+)<\/a>/mU', '$1', $array['content']);
|
uninstall.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
3 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.
|
4 |
$trustindex_pm_google->uninstall();
|
5 |
?>
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
3 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.5", "Widgets for Google Reviews", "Google");
|
4 |
$trustindex_pm_google->uninstall();
|
5 |
?>
|
wp-reviews-plugin-for-google.php
CHANGED
@@ -9,7 +9,7 @@ Author: Trustindex.io <support@trustindex.io>
|
|
9 |
Author URI: https://www.trustindex.io/
|
10 |
Contributors: trustindex
|
11 |
License: GPLv2 or later
|
12 |
-
Version: 9.
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
@@ -19,7 +19,7 @@ Copyright 2019 Trustindex Kft (email: support@trustindex.io)
|
|
19 |
*/
|
20 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
21 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
22 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.
|
23 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
24 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
25 |
add_action('admin_menu', array($trustindex_pm_google, 'add_setting_menu'), 10);
|
@@ -37,7 +37,7 @@ global $trustindex_pm_google;
|
|
37 |
if(!isset($trustindex_pm_google) || is_null($trustindex_pm_google))
|
38 |
{
|
39 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
40 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.
|
41 |
}
|
42 |
$path = wp_upload_dir()['baseurl'] .'/'. $trustindex_pm_google->getCssFile(true);
|
43 |
if(is_ssl())
|
@@ -96,7 +96,7 @@ return;
|
|
96 |
</div>
|
97 |
<?php
|
98 |
});
|
99 |
-
if(class_exists('Woocommerce') && !class_exists('
|
100 |
{
|
101 |
function ti_woocommerce_notice() {
|
102 |
$rate_us = get_option('trustindex-wc-notification', time() - 1);
|
@@ -106,11 +106,11 @@ return;
|
|
106 |
}
|
107 |
?>
|
108 |
<div class="notice notice-warning is-dismissible" style="margin: 5px 0 15px">
|
109 |
-
<p><strong><?php echo TrustindexPlugin_google::___("Download our new <a href='%s' target='_blank'>%s</a> plugin and get features for free!", [ 'https://wordpress.org/plugins/customer-reviews-for-woocommerce/', TrustindexPlugin_google::___('Customer Reviews for WooCommerce') ]); ?></strong></p>
|
110 |
<ul style="list-style-type: disc; margin-left: 10px; padding-left: 15px">
|
111 |
-
<li><?php echo TrustindexPlugin_google::___('
|
112 |
-
<li><?php echo TrustindexPlugin_google::___('
|
113 |
-
<li><?php echo TrustindexPlugin_google::___('
|
114 |
</ul>
|
115 |
<p>
|
116 |
<a href="<?php echo admin_url("admin.php?page=wp-reviews-plugin-for-google/settings.php&wc_notification=open"); ?>" target="_blank" class="trustindex-rateus" style="text-decoration: none">
|
@@ -164,6 +164,7 @@ delete_option($trustindex_pm_google->get_option_name('review-download-inprogress
|
|
164 |
delete_option($trustindex_pm_google->get_option_name('review-manual-download'));
|
165 |
}
|
166 |
update_option($trustindex_pm_google->get_option_name('download-timestamp'), time() + (86400 * 10), false);
|
|
|
167 |
try
|
168 |
{
|
169 |
$subject = 'Google reviews downloaded';
|
@@ -188,4 +189,23 @@ catch(Exception $e) { }
|
|
188 |
echo $our_token;
|
189 |
exit;
|
190 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
?>
|
9 |
Author URI: https://www.trustindex.io/
|
10 |
Contributors: trustindex
|
11 |
License: GPLv2 or later
|
12 |
+
Version: 9.5
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
19 |
*/
|
20 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
21 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
22 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.5", "Widgets for Google Reviews", "Google");
|
23 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
24 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
25 |
add_action('admin_menu', array($trustindex_pm_google, 'add_setting_menu'), 10);
|
37 |
if(!isset($trustindex_pm_google) || is_null($trustindex_pm_google))
|
38 |
{
|
39 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
40 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.5", "Widgets for Google Reviews", "Google");
|
41 |
}
|
42 |
$path = wp_upload_dir()['baseurl'] .'/'. $trustindex_pm_google->getCssFile(true);
|
43 |
if(is_ssl())
|
96 |
</div>
|
97 |
<?php
|
98 |
});
|
99 |
+
if(class_exists('Woocommerce') && !class_exists('TrustindexCollectorPlugin') && !function_exists('ti_woocommerce_notice'))
|
100 |
{
|
101 |
function ti_woocommerce_notice() {
|
102 |
$rate_us = get_option('trustindex-wc-notification', time() - 1);
|
106 |
}
|
107 |
?>
|
108 |
<div class="notice notice-warning is-dismissible" style="margin: 5px 0 15px">
|
109 |
+
<p><strong><?php echo TrustindexPlugin_google::___("Download our new <a href='%s' target='_blank'>%s</a> plugin and get features for free!", [ 'https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/', TrustindexPlugin_google::___('Customer Reviews Collector for WooCommerce') ]); ?></strong></p>
|
110 |
<ul style="list-style-type: disc; margin-left: 10px; padding-left: 15px">
|
111 |
+
<li><?php echo TrustindexPlugin_google::___('Send unlimited review invitations for free'); ?></li>
|
112 |
+
<li><?php echo TrustindexPlugin_google::___('E-mail templates are fully customizable'); ?></li>
|
113 |
+
<li><?php echo TrustindexPlugin_google::___('Collect reviews on 100+ review platforms (Google, Facebook, Yelp, etc.)'); ?></li>
|
114 |
</ul>
|
115 |
<p>
|
116 |
<a href="<?php echo admin_url("admin.php?page=wp-reviews-plugin-for-google/settings.php&wc_notification=open"); ?>" target="_blank" class="trustindex-rateus" style="text-decoration: none">
|
164 |
delete_option($trustindex_pm_google->get_option_name('review-manual-download'));
|
165 |
}
|
166 |
update_option($trustindex_pm_google->get_option_name('download-timestamp'), time() + (86400 * 10), false);
|
167 |
+
update_option($trustindex_pm_google->get_option_name('review-download-notification'), 1, false);
|
168 |
try
|
169 |
{
|
170 |
$subject = 'Google reviews downloaded';
|
189 |
echo $our_token;
|
190 |
exit;
|
191 |
}
|
192 |
+
add_action('admin_notices', function() {
|
193 |
+
$notification = get_option('trustindex-google-review-download-notification', 0);
|
194 |
+
if(!$notification)
|
195 |
+
{
|
196 |
+
return;
|
197 |
+
}
|
198 |
+
?>
|
199 |
+
<div class="notice notice-warning" style="margin: 5px 0 15px">
|
200 |
+
<p>
|
201 |
+
<?php echo TrustindexPlugin_google::___('Your reviews are downloaded from %s!', [ 'Google' ]); ?>
|
202 |
+
</p>
|
203 |
+
<p>
|
204 |
+
<a href="<?php echo admin_url("admin.php?page=wp-reviews-plugin-for-google/settings.php&review_download_notification"); ?>" style="text-decoration: none">
|
205 |
+
<button class="button button-primary"><?php echo TrustindexPlugin_google::___("Create website widget now! »"); ?></button>
|
206 |
+
</a>
|
207 |
+
</p>
|
208 |
+
</div>
|
209 |
+
<?php
|
210 |
+
});
|
211 |
?>
|