Widgets for Google Reviews - Version 7.10

Version Description

Download this release

Release Info

Developer trustindex
Plugin Icon 128x128 Widgets for Google Reviews
Version 7.10
Comparing to
See all releases

Code changes from version 7.9.1 to 7.10

Files changed (82) hide show
  1. languages/trustindex-af.mo +0 -0
  2. languages/trustindex-ar.mo +0 -0
  3. languages/trustindex-ary.mo +0 -0
  4. languages/trustindex-az.mo +0 -0
  5. languages/trustindex-azb.mo +0 -0
  6. languages/trustindex-bg_BG.mo +0 -0
  7. languages/trustindex-bn_BD.mo +0 -0
  8. languages/trustindex-bs_BA.mo +0 -0
  9. languages/trustindex-cs_CZ.mo +0 -0
  10. languages/trustindex-cy.mo +0 -0
  11. languages/trustindex-da_DK.mo +0 -0
  12. languages/trustindex-de_AT.mo +0 -0
  13. languages/trustindex-de_CH.mo +0 -0
  14. languages/trustindex-de_CH_informal.mo +0 -0
  15. languages/trustindex-de_DE.mo +0 -0
  16. languages/trustindex-de_DE_formal.mo +0 -0
  17. languages/trustindex-el.mo +0 -0
  18. languages/trustindex-es_AR.mo +0 -0
  19. languages/trustindex-es_CL.mo +0 -0
  20. languages/trustindex-es_CO.mo +0 -0
  21. languages/trustindex-es_CR.mo +0 -0
  22. languages/trustindex-es_ES.mo +0 -0
  23. languages/trustindex-es_GT.mo +0 -0
  24. languages/trustindex-es_MX.mo +0 -0
  25. languages/trustindex-es_PE.mo +0 -0
  26. languages/trustindex-es_PR.mo +0 -0
  27. languages/trustindex-es_UY.mo +0 -0
  28. languages/trustindex-es_VE.mo +0 -0
  29. languages/trustindex-et.mo +0 -0
  30. languages/trustindex-fa_AF.mo +0 -0
  31. languages/trustindex-fa_IR.mo +0 -0
  32. languages/trustindex-fi.mo +0 -0
  33. languages/trustindex-fr_BR.mo +0 -0
  34. languages/trustindex-fr_CA.mo +0 -0
  35. languages/trustindex-fr_FR.mo +0 -0
  36. languages/trustindex-gd.mo +0 -0
  37. languages/trustindex-gl_ES.mo +0 -0
  38. languages/trustindex-he_IL.mo +0 -0
  39. languages/trustindex-hi_IN.mo +0 -0
  40. languages/trustindex-hr.mo +0 -0
  41. languages/trustindex-hu_HU.mo +0 -0
  42. languages/trustindex-hy.mo +0 -0
  43. languages/trustindex-id_ID.mo +0 -0
  44. languages/trustindex-is_IS.mo +0 -0
  45. languages/trustindex-it_IT.mo +0 -0
  46. languages/trustindex-ja.mo +0 -0
  47. languages/trustindex-ko_KR.mo +0 -0
  48. languages/trustindex-lt_LT.mo +0 -0
  49. languages/trustindex-mk_MK.mo +0 -0
  50. languages/trustindex-ms_MY.mo +0 -0
  51. languages/trustindex-nb_NO.mo +0 -0
  52. languages/trustindex-nl_BE.mo +0 -0
  53. languages/trustindex-nl_NL.mo +0 -0
  54. languages/trustindex-nl_NL_formal.mo +0 -0
  55. languages/trustindex-nn_NO.mo +0 -0
  56. languages/trustindex-pl_PL.mo +0 -0
  57. languages/trustindex-pt_AO.mo +0 -0
  58. languages/trustindex-pt_BR.mo +0 -0
  59. languages/trustindex-pt_PT.mo +0 -0
  60. languages/trustindex-pt_PT_ao90.mo +0 -0
  61. languages/trustindex-ro_RO.mo +0 -0
  62. languages/trustindex-ru_RU.mo +0 -0
  63. languages/trustindex-sk_SK.mo +0 -0
  64. languages/trustindex-sl_SI.mo +0 -0
  65. languages/trustindex-sq.mo +0 -0
  66. languages/trustindex-sr_RS.mo +0 -0
  67. languages/trustindex-sv_SE.mo +0 -0
  68. languages/trustindex-th.mo +0 -0
  69. languages/trustindex-tr_TR.mo +0 -0
  70. languages/trustindex-uk.mo +0 -0
  71. languages/trustindex-vi.mo +0 -0
  72. languages/trustindex-zh_CN.mo +0 -0
  73. languages/trustindex-zh_HK.mo +0 -0
  74. languages/trustindex-zh_TW.mo +0 -0
  75. readme.txt +5 -5
  76. tabs/demo_widgets.php +1 -1
  77. tabs/setup_no_reg.php +5 -5
  78. tabs/setup_no_reg_header.php +5 -8
  79. tabs/troubleshooting.php +1 -1
  80. trustindex-plugin.class.php +1599 -32
  81. uninstall.php +1 -1
  82. wp-reviews-plugin-for-google.php +2 -2
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-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: 5.8.2
7
  Requires PHP: 5.2
8
- Stable tag: 7.9.1
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: 7.9.1
18
 
19
  Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
20
 
@@ -47,8 +47,8 @@ If you don’t yet have any Google reviews, there’s no need to panic; simply s
47
  The Google Reviews WordPress plugin offers various layouts and styles to choose from and allows for easy integration into any WordPress page.
48
 
49
  * Free usage
50
- * Display up to 10 Google Reviews* 35+ Widget layouts
51
- * 16+ Pre-designed widget styles
52
  * 1 Review widget
53
  * Review filtering
54
  * Language support
@@ -171,7 +171,7 @@ You will gain access to the widget’s code as soon as you’ve finished setting
171
 
172
  = What are the major features of the free plugin? =
173
 
174
- With the free plugin, you’ll have access to as many as 35 widget layouts and 16 predesigned styles. You’ll be able to display up to 10 Google reviews, support various languages, and filter the reviews according to criteria such as star rating and date.
175
 
176
  = Which website CMS or site builder are the widgets compatible with? =
177
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.8.2
7
  Requires PHP: 5.2
8
+ Stable tag: 7.10
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: 7.10
18
 
19
  Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
20
 
47
  The Google Reviews WordPress plugin offers various layouts and styles to choose from and allows for easy integration into any WordPress page.
48
 
49
  * Free usage
50
+ * Display up to 10 Google Reviews* 40+ Widget layouts
51
+ * 25+ Pre-designed widget styles
52
  * 1 Review widget
53
  * Review filtering
54
  * Language support
171
 
172
  = What are the major features of the free plugin? =
173
 
174
+ With the free plugin, you’ll have access to as many as 40 widget layouts and 25 predesigned styles. You’ll be able to display up to 10 Google reviews, support various languages, and filter the reviews according to criteria such as star rating and date.
175
 
176
  = Which website CMS or site builder are the widgets compatible with? =
177
 
tabs/demo_widgets.php CHANGED
@@ -21,7 +21,7 @@ $random_set_id = 'light-background';
21
  <span class="ti-header-layout-text">
22
  <?php echo TrustindexPlugin::___('More widget examples'); ?> -
23
  <strong><?php echo esc_html(TrustindexPlugin::___($template['name'])); ?></strong>
24
- <?php if(!in_array($id, [ 17, 21 ])): ?> (<?php echo esc_html(TrustindexPlugin::___(TrustindexPlugin::$widget_styles[$random_set_id])); ?>)<?php endif; ?>
25
  </span>
26
  </div>
27
  <div class="preview">
21
  <span class="ti-header-layout-text">
22
  <?php echo TrustindexPlugin::___('More widget examples'); ?> -
23
  <strong><?php echo esc_html(TrustindexPlugin::___($template['name'])); ?></strong>
24
+ <?php if(!in_array($id, [ 17, 21 ])): ?> (<?php echo esc_html(TrustindexPlugin::___(TrustindexPlugin::$widget_styles[$random_set_id]['name'])); ?>)<?php endif; ?>
25
  </span>
26
  </div>
27
  <div class="preview">
tabs/setup_no_reg.php CHANGED
@@ -161,13 +161,13 @@ $class_name = 'ti-half-width';
161
  }
162
  ?>
163
  <div class="ti-preview-boxes-container">
164
- <?php foreach(TrustindexPlugin::$widget_styles as $id => $name): ?>
165
  <div class="<?php echo esc_attr($class_name); ?>">
166
  <div class="ti-box ti-preview-boxes" data-layout-id="<?php echo esc_attr($style_id); ?>" data-set-id="<?php echo esc_attr($id); ?>">
167
  <div class="ti-header">
168
  <span class="ti-header-layout-text">
169
  <?php echo TrustindexPlugin::___('Style'); ?>:
170
- <strong><?php echo TrustindexPlugin::___($name); ?></strong>
171
  </span>
172
  <a href="?page=<?php echo esc_attr($_GET['page']); ?>&tab=setup_no_reg&command=save-set&set_id=<?php echo esc_attr(urlencode($id)); ?>" class="btn-text btn-refresh ti-pull-right" data-loading-text="<?php echo TrustindexPlugin::___("Loading") ;?>"><?php echo TrustindexPlugin::___("Select") ;?></a>
173
  <div class="clear"></div>
@@ -201,7 +201,7 @@ $widget_has_reviews = !in_array($widget_type, [ 'button', 'badge' ]) || in_array
201
  <?php if(!in_array($style_id, [ 17, 21 ])): ?>
202
  <span class="ti-header-layout-text ti-pull-right">
203
  <?php echo TrustindexPlugin::___('Style'); ?>:
204
- <strong><?php echo esc_html(TrustindexPlugin::___(TrustindexPlugin::$widget_styles[$scss_set])); ?></strong>
205
  </span>
206
  <?php endif; ?>
207
  <span class="ti-header-layout-text ti-pull-right">
@@ -274,7 +274,7 @@ $widget_has_reviews = !in_array($widget_type, [ 'button', 'badge' ]) || in_array
274
  <label><?php echo TrustindexPlugin::___("Hide reviews without comments"); ?></label>
275
  </span>
276
  <?php endif; ?>
277
- <?php if(!in_array($style_id, [ 17, 18, 21, 24, 25, 26, 27, 28, 29, 30, 35 ])): ?>
278
  <span class="ti-checkbox row">
279
  <input type="checkbox" name="no-rating-text" value="1" <?php if($no_rating_text): ?>checked<?php endif;?>>
280
  <label><?php echo TrustindexPlugin::___("Hide rating text"); ?></label>
@@ -286,7 +286,7 @@ $widget_has_reviews = !in_array($widget_type, [ 'button', 'badge' ]) || in_array
286
  <label><?php echo TrustindexPlugin::___("Show verified review icon"); ?></label>
287
  </span>
288
  <?php endif; ?>
289
- <?php if(in_array($widget_type, [ 'slider', 'sidebar' ]) && !in_array($style_id, [ 8, 9, 10, 18, 19 ])): ?>
290
  <span class="ti-checkbox row">
291
  <input type="checkbox" name="show-arrows" value="1" <?php if($show_arrows): ?>checked<?php endif;?>>
292
  <label><?php echo TrustindexPlugin::___("Show navigation arrows"); ?></label>
161
  }
162
  ?>
163
  <div class="ti-preview-boxes-container">
164
+ <?php foreach(TrustindexPlugin::$widget_styles as $id => $style): ?>
165
  <div class="<?php echo esc_attr($class_name); ?>">
166
  <div class="ti-box ti-preview-boxes" data-layout-id="<?php echo esc_attr($style_id); ?>" data-set-id="<?php echo esc_attr($id); ?>">
167
  <div class="ti-header">
168
  <span class="ti-header-layout-text">
169
  <?php echo TrustindexPlugin::___('Style'); ?>:
170
+ <strong><?php echo TrustindexPlugin::___($style['name']); ?></strong>
171
  </span>
172
  <a href="?page=<?php echo esc_attr($_GET['page']); ?>&tab=setup_no_reg&command=save-set&set_id=<?php echo esc_attr(urlencode($id)); ?>" class="btn-text btn-refresh ti-pull-right" data-loading-text="<?php echo TrustindexPlugin::___("Loading") ;?>"><?php echo TrustindexPlugin::___("Select") ;?></a>
173
  <div class="clear"></div>
201
  <?php if(!in_array($style_id, [ 17, 21 ])): ?>
202
  <span class="ti-header-layout-text ti-pull-right">
203
  <?php echo TrustindexPlugin::___('Style'); ?>:
204
+ <strong><?php echo esc_html(TrustindexPlugin::___(TrustindexPlugin::$widget_styles[$scss_set]['name'])); ?></strong>
205
  </span>
206
  <?php endif; ?>
207
  <span class="ti-header-layout-text ti-pull-right">
274
  <label><?php echo TrustindexPlugin::___("Hide reviews without comments"); ?></label>
275
  </span>
276
  <?php endif; ?>
277
+ <?php if(!in_array($style_id, [ 17, 18, 21, 24, 25, 26, 27, 28, 29, 30, 35 ]) && TrustindexPlugin::$widget_styles[$scss_set]['_vars']['dots'] !== 'true'): ?>
278
  <span class="ti-checkbox row">
279
  <input type="checkbox" name="no-rating-text" value="1" <?php if($no_rating_text): ?>checked<?php endif;?>>
280
  <label><?php echo TrustindexPlugin::___("Hide rating text"); ?></label>
286
  <label><?php echo TrustindexPlugin::___("Show verified review icon"); ?></label>
287
  </span>
288
  <?php endif; ?>
289
+ <?php if(in_array($widget_type, [ 'slider', 'sidebar' ]) && !in_array($style_id, [ 8, 9, 10, 18, 19, 37 ])): ?>
290
  <span class="ti-checkbox row">
291
  <input type="checkbox" name="show-arrows" value="1" <?php if($show_arrows): ?>checked<?php endif;?>>
292
  <label><?php echo TrustindexPlugin::___("Show navigation arrows"); ?></label>
tabs/setup_no_reg_header.php CHANGED
@@ -283,20 +283,17 @@ $style_id = get_option( $trustindex_pm_google->get_option_name('style-id') );
283
  $scss_set = get_option( $trustindex_pm_google->get_option_name('scss-set') );
284
  $lang = get_option( $trustindex_pm_google->get_option_name('lang'), 'en');
285
  $dateformat = get_option( $trustindex_pm_google->get_option_name('dateformat'), 'Y-m-d' );
286
- $no_rating_text = get_option( $trustindex_pm_google->get_option_name('no-rating-text'));
287
  $filter = get_option( $trustindex_pm_google->get_option_name('filter'), [ 'stars' => [1, 2, 3, 4, 5], 'only-ratings' => $only_ratings_default ] );
288
  $verified_icon = get_option( $trustindex_pm_google->get_option_name('verified-icon'), 0 );
289
  $enable_animation = get_option( $trustindex_pm_google->get_option_name('enable-animation'), 1 );
290
  $show_arrows = get_option( $trustindex_pm_google->get_option_name('show-arrows'), 1 );
291
- $show_reviewers_photo = get_option( $trustindex_pm_google->get_option_name('show-reviewers-photo'), 1 );
292
  $widget_setted_up = get_option( $trustindex_pm_google->get_option_name('widget-setted-up'), 0);
293
  $disable_font = get_option( $trustindex_pm_google->get_option_name('disable-font'), 0 );
294
- $show_logos = get_option( $trustindex_pm_google->get_option_name('show-logos'), 1 );
295
- $show_stars = get_option( $trustindex_pm_google->get_option_name('show-stars'), 1 );
296
- if(is_null($no_rating_text) && $style_id)
297
- {
298
- $no_rating_text = in_array($style_id, [ 15, 19 ]) ? 1 : 0;
299
- }
300
  $need_to_refresh = false;
301
  if($trustindex_pm_google->is_noreg_linked() && $trustindex_pm_google->is_ten_scale_rating_platform())
302
  {
283
  $scss_set = get_option( $trustindex_pm_google->get_option_name('scss-set') );
284
  $lang = get_option( $trustindex_pm_google->get_option_name('lang'), 'en');
285
  $dateformat = get_option( $trustindex_pm_google->get_option_name('dateformat'), 'Y-m-d' );
286
+ $no_rating_text = get_option( $trustindex_pm_google->get_option_name('no-rating-text'), $trustindex_pm_google->get_default_no_rating_text($style_id, $scss_set) );
287
  $filter = get_option( $trustindex_pm_google->get_option_name('filter'), [ 'stars' => [1, 2, 3, 4, 5], 'only-ratings' => $only_ratings_default ] );
288
  $verified_icon = get_option( $trustindex_pm_google->get_option_name('verified-icon'), 0 );
289
  $enable_animation = get_option( $trustindex_pm_google->get_option_name('enable-animation'), 1 );
290
  $show_arrows = get_option( $trustindex_pm_google->get_option_name('show-arrows'), 1 );
 
291
  $widget_setted_up = get_option( $trustindex_pm_google->get_option_name('widget-setted-up'), 0);
292
  $disable_font = get_option( $trustindex_pm_google->get_option_name('disable-font'), 0 );
293
+ $scss_set_tmp = $scss_set ? $scss_set : 'light-background';
294
+ $show_reviewers_photo = get_option( $trustindex_pm_google->get_option_name('show-reviewers-photo'), TrustindexPlugin::$widget_styles[$scss_set_tmp]['reviewer-photo'] ? 1 : 0 );
295
+ $show_logos = get_option( $trustindex_pm_google->get_option_name('show-logos'), TrustindexPlugin::$widget_styles[$scss_set_tmp]['hide-logos'] ? 0 : 1 );
296
+ $show_stars = get_option( $trustindex_pm_google->get_option_name('show-stars'), TrustindexPlugin::$widget_styles[$scss_set_tmp]['hide-stars'] ? 0 : 1 );
 
 
297
  $need_to_refresh = false;
298
  if($trustindex_pm_google->is_noreg_linked() && $trustindex_pm_google->is_ten_scale_rating_platform())
299
  {
tabs/troubleshooting.php CHANGED
@@ -30,7 +30,7 @@ exit;
30
  }
31
  $yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
32
  $no_icon = '<span class="dashicons dashicons-dismiss"></span>';
33
- $plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.9.1");
34
  $css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
35
  ?>
36
  <div class="ti-box">
30
  }
31
  $yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
32
  $no_icon = '<span class="dashicons dashicons-dismiss"></span>';
33
+ $plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.10");
34
  $css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
35
  ?>
36
  <div class="ti-box">
trustindex-plugin.class.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* GENERATED: 1642609890 */
3
  class TrustindexPlugin
4
  {
5
  private $plugin_file_path;
@@ -376,7 +376,7 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
376
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
377
  $file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
378
  }
379
- $chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.9.1", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
380
  if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
381
  {
382
  return self::get_alertbox(
@@ -739,22 +739,1581 @@ public static $widget_templates = array (
739
  ),
740
  );
741
  public static $widget_styles = array (
742
- 'light-background' => 'Light background',
743
- 'ligth-border' => 'Light border',
744
- 'drop-shadow' => 'Drop shadow',
745
- 'light-minimal' => 'Minimal',
746
- 'soft' => 'Soft',
747
- 'light-clean' => 'Light clean',
748
- 'light-square' => 'Clean dark',
749
- 'light-background-border' => 'Light background border',
750
- 'blue' => 'Blue',
751
- 'light-background-image' => 'Light background image',
752
- 'dark-background' => 'Dark background',
753
- 'dark-minimal' => 'Minimal dark',
754
- 'dark-border' => 'Dark border',
755
- 'light-contrast' => 'Light contrast',
756
- 'dark-contrast' => 'Dark contrast',
757
- 'dark-background-image' => 'Dark background image',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
758
  );
759
  public static $widget_languages = [
760
  'ar' => "العربية",
@@ -2291,6 +3850,15 @@ $html = str_replace($matches[0], '<mark class="ti-highlight">' . $replaced_conte
2291
  }
2292
  return $html;
2293
  }
 
 
 
 
 
 
 
 
 
2294
  private $preview_content = null;
2295
  private $template_cache = null;
2296
  public function get_noreg_list_reviews($force_platform = null, $list_all = false, $default_style_id = 4, $default_set_id = 'light-background', $only_preview = false, $default_reviews = false)
@@ -2299,33 +3867,29 @@ global $wpdb;
2299
  $dbtable = $this->get_noreg_tablename($force_platform);
2300
  $page_details = get_option($this->get_option_name('page-details'));
2301
  $style_id = (int)get_option($this->get_option_name('style-id'), 4);
 
2302
  $content = get_option($this->get_option_name('review-content'));
2303
  $lang = get_option($this->get_option_name('lang'), 'en');
2304
  $dateformat = get_option($this->get_option_name('dateformat'), 'Y-m-d');
2305
- $no_rating_text = get_option($this->get_option_name('no-rating-text'));
2306
  $verified_icon = get_option($this->get_option_name('verified-icon'), 0);
2307
- $show_reviewers_photo = get_option($this->get_option_name('show-reviewers-photo'), 1);
2308
- $set_id = get_option($this->get_option_name('scss-set'), 'light-background');
2309
- $show_logos = get_option($this->get_option_name('show-logos'), 1);
2310
- $show_stars = get_option($this->get_option_name('show-stars'), 1);
2311
  $need_to_parse = true;
2312
  if($only_preview)
2313
  {
2314
  $content = false;
2315
  $style_id = $default_style_id;
2316
  $set_id = $default_set_id;
2317
- $show_logos = 1;
2318
- $show_stars = 1;
2319
- $show_reviewers_photo = 1;
2320
  if($this->preview_content && $this->preview_content['id'] == $style_id)
2321
  {
2322
  $content = $this->preview_content['content'];
2323
- $need_to_parse = false;
2324
  }
2325
- }
2326
- if(is_null($no_rating_text))
2327
- {
2328
- $no_rating_text = in_array($style_id, [ 15, 19 ]) ? 1 : 0;
2329
  }
2330
  $sql_rating_field = 'rating';
2331
  if($this->is_ten_scale_rating_platform())
@@ -2361,6 +3925,7 @@ switch($style_id)
2361
  {
2362
  case 16:
2363
  case 31:
 
2364
  $sql .= " LIMIT 9";
2365
  break;
2366
  default:
@@ -2385,7 +3950,7 @@ if(!isset($page_details['avatar_url']))
2385
  $page_details['avatar_url'] = 'https://cdn.trustindex.io/companies/default_avatar.jpg';
2386
  }
2387
  $rating_num = 5;
2388
- if(in_array($style_id, [ 16, 31 ]))
2389
  {
2390
  $rating_num = 9;
2391
  }
@@ -2736,6 +4301,8 @@ return substr($color_schema, 0, 5) == 'dark-';
2736
  switch($color_schema)
2737
  {
2738
  case 'light-contrast':
 
 
2739
  case 'dark-background':
2740
  case 'dark-border':
2741
  return true;
1
  <?php
2
+ /* GENERATED: 1643295951 */
3
  class TrustindexPlugin
4
  {
5
  private $plugin_file_path;
376
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
377
  $file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
378
  }
379
+ $chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.10", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
380
  if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
381
  {
382
  return self::get_alertbox(
739
  ),
740
  );
741
  public static $widget_styles = array (
742
+ 'light-background' =>
743
+ array (
744
+ 'id' => 'light-background',
745
+ 'name' => 'Light background',
746
+ 'position' => 0,
747
+ 'select-position' => 0,
748
+ 'reviewer-photo' => true,
749
+ 'verified-icon' => true,
750
+ 'hide-logos' => false,
751
+ 'hide-stars' => false,
752
+ '_vars' =>
753
+ array (
754
+ 'style_id' => '"light-background"',
755
+ 'bg-color' => '#ffffff',
756
+ 'text-color' => '#000000',
757
+ 'outside-text-color' => '#000000',
758
+ 'profile-color' => '#000000',
759
+ 'profile-font-size' => '15px',
760
+ 'review-font-size' => '14px',
761
+ 'rating-text' => '14px',
762
+ 'company-font-size' => '16px',
763
+ 'review-lines' => '4',
764
+ 'box-background-color' => '#efefef',
765
+ 'box-border-color' => '#efefef',
766
+ 'box-border-radius' => '4px',
767
+ 'box-padding' => '15px',
768
+ 'scroll' => 'true',
769
+ 'scroll-color' => '#555555',
770
+ 'arrow-color' => '#cccccc',
771
+ 'float-widget-align' => 'left',
772
+ 'nav' => 'true',
773
+ 'dots' => 'mobile',
774
+ 'hover-anim' => 'true',
775
+ 'review-italic' => 'false',
776
+ 'enable-font' => 'true',
777
+ 'align-mini' => 'center',
778
+ 'readmore' => 'true',
779
+ 'popup-background' => '#ffffff',
780
+ 'popup-company-color' => '#333333',
781
+ 'popup-company-size' => '16px',
782
+ 'popup-profile-color' => '#333333',
783
+ 'popup-profile-size' => '15px',
784
+ 'popup-review-color' => '#333333',
785
+ 'popup-review-size' => '14px',
786
+ 'popup-separator-color' => '#dedede',
787
+ 'popup-separator-width' => '1px',
788
+ 'box-shadow' => 'false',
789
+ 'box-shadow-color' => '#000000',
790
+ 'box-shadow-opacity' => '0.15',
791
+ 'box-border-top-width' => '2px',
792
+ 'box-border-bottom-width' => '2px',
793
+ 'box-border-left-width' => '2px',
794
+ 'box-border-right-width' => '2px',
795
+ 'box-background-opacity' => '1',
796
+ 'box-backdrop-blur' => '0px',
797
+ 'highlight-color' => '#fbe049',
798
+ 'highlight-size' => '19px',
799
+ 'review-title' => 'normal',
800
+ 'content-align' => 'center',
801
+ 'text-align' => 'left',
802
+ 'original-rating-text' => '14px',
803
+ ),
804
+ ),
805
+ 'light-background-large' =>
806
+ array (
807
+ 'id' => 'light-background-large',
808
+ 'name' => 'Light background - large',
809
+ 'position' => 0,
810
+ 'select-position' => 0,
811
+ 'reviewer-photo' => true,
812
+ 'verified-icon' => false,
813
+ 'hide-logos' => false,
814
+ 'hide-stars' => false,
815
+ '_vars' =>
816
+ array (
817
+ 'style_id' => '"light-background-large"',
818
+ 'bg-color' => '#ffffff',
819
+ 'text-color' => '#000000',
820
+ 'outside-text-color' => '#000000',
821
+ 'profile-color' => '#000000',
822
+ 'profile-font-size' => '15px',
823
+ 'review-font-size' => '16px',
824
+ 'rating-text' => '14px',
825
+ 'company-font-size' => '16px',
826
+ 'review-lines' => '5',
827
+ 'box-background-color' => '#f8f9f9',
828
+ 'box-border-color' => '#f8f9f9',
829
+ 'box-border-radius' => '12px',
830
+ 'box-padding' => '25px',
831
+ 'scroll' => 'true',
832
+ 'scroll-color' => '#c3c3c3',
833
+ 'arrow-color' => '#cccccc',
834
+ 'float-widget-align' => 'left',
835
+ 'nav' => 'false',
836
+ 'dots' => 'true',
837
+ 'hover-anim' => 'true',
838
+ 'review-italic' => 'false',
839
+ 'enable-font' => 'true',
840
+ 'align-mini' => 'center',
841
+ 'readmore' => 'true',
842
+ 'popup-background' => '#ffffff',
843
+ 'popup-company-color' => '#333333',
844
+ 'popup-company-size' => '16px',
845
+ 'popup-profile-color' => '#333333',
846
+ 'popup-profile-size' => '15px',
847
+ 'popup-review-color' => '#333333',
848
+ 'popup-review-size' => '14px',
849
+ 'popup-separator-color' => '#dedede',
850
+ 'popup-separator-width' => '1px',
851
+ 'box-shadow' => 'false',
852
+ 'box-shadow-color' => '#000000',
853
+ 'box-shadow-opacity' => '0.15',
854
+ 'box-border-top-width' => '0px',
855
+ 'box-border-bottom-width' => '0px',
856
+ 'box-border-left-width' => '0px',
857
+ 'box-border-right-width' => '0px',
858
+ 'box-background-opacity' => '1',
859
+ 'box-backdrop-blur' => '0px',
860
+ 'highlight-color' => '#fbe049',
861
+ 'highlight-size' => '19px',
862
+ 'review-title' => 'normal',
863
+ 'content-align' => 'center',
864
+ 'text-align' => 'left',
865
+ 'original-rating-text' => '14px',
866
+ ),
867
+ ),
868
+ 'ligth-border' =>
869
+ array (
870
+ 'id' => 'ligth-border',
871
+ 'name' => 'Light border',
872
+ 'position' => 0,
873
+ 'select-position' => 1,
874
+ 'reviewer-photo' => true,
875
+ 'verified-icon' => true,
876
+ 'hide-logos' => false,
877
+ 'hide-stars' => false,
878
+ '_vars' =>
879
+ array (
880
+ 'style_id' => '"light-border"',
881
+ 'bg-color' => '#ffffff',
882
+ 'text-color' => '#000000',
883
+ 'outside-text-color' => '#000000',
884
+ 'profile-color' => '#000000',
885
+ 'profile-font-size' => '15px',
886
+ 'review-font-size' => '14px',
887
+ 'rating-text' => '14px',
888
+ 'company-font-size' => '16px',
889
+ 'review-lines' => '4',
890
+ 'box-background-color' => '#ffffff',
891
+ 'box-border-color' => '#e5e5e5',
892
+ 'box-border-radius' => '4px',
893
+ 'box-padding' => '15px',
894
+ 'scroll' => 'true',
895
+ 'scroll-color' => '#555555',
896
+ 'arrow-color' => '#cccccc',
897
+ 'float-widget-align' => 'left',
898
+ 'nav' => 'true',
899
+ 'dots' => 'mobile',
900
+ 'hover-anim' => 'true',
901
+ 'review-italic' => 'false',
902
+ 'enable-font' => 'true',
903
+ 'align-mini' => 'center',
904
+ 'readmore' => 'true',
905
+ 'popup-background' => '#ffffff',
906
+ 'popup-company-color' => '#333333',
907
+ 'popup-company-size' => '16px',
908
+ 'popup-profile-color' => '#333333',
909
+ 'popup-profile-size' => '15px',
910
+ 'popup-review-color' => '#333333',
911
+ 'popup-review-size' => '14px',
912
+ 'popup-separator-color' => '#dedede',
913
+ 'popup-separator-width' => '1px',
914
+ 'box-shadow' => 'false',
915
+ 'box-shadow-color' => '#000000',
916
+ 'box-shadow-opacity' => '0.15',
917
+ 'box-border-top-width' => '2px',
918
+ 'box-border-bottom-width' => '2px',
919
+ 'box-border-left-width' => '2px',
920
+ 'box-border-right-width' => '2px',
921
+ 'box-background-opacity' => '1',
922
+ 'box-backdrop-blur' => '0px',
923
+ 'highlight-color' => '#fbe049',
924
+ 'highlight-size' => '19px',
925
+ 'review-title' => 'normal',
926
+ 'content-align' => 'center',
927
+ 'text-align' => 'left',
928
+ 'original-rating-text' => '14px',
929
+ ),
930
+ ),
931
+ 'ligth-border-3d-large' =>
932
+ array (
933
+ 'id' => 'ligth-border-3d-large',
934
+ 'name' => 'Light border - 3D - large',
935
+ 'position' => 0,
936
+ 'select-position' => 1,
937
+ 'reviewer-photo' => false,
938
+ 'verified-icon' => true,
939
+ 'hide-logos' => false,
940
+ 'hide-stars' => false,
941
+ '_vars' =>
942
+ array (
943
+ 'style_id' => '"light-border-3d-large"',
944
+ 'bg-color' => '#ffffff',
945
+ 'text-color' => '#000000',
946
+ 'outside-text-color' => '#000000',
947
+ 'profile-color' => '#000000',
948
+ 'profile-font-size' => '15px',
949
+ 'review-font-size' => '16px',
950
+ 'rating-text' => '14px',
951
+ 'company-font-size' => '16px',
952
+ 'review-lines' => '5',
953
+ 'box-background-color' => '#ffffff',
954
+ 'box-border-color' => '#efefef',
955
+ 'box-border-radius' => '10px',
956
+ 'box-padding' => '25px',
957
+ 'scroll' => 'true',
958
+ 'scroll-color' => '#b4b4b4',
959
+ 'arrow-color' => '#cccccc',
960
+ 'float-widget-align' => 'left',
961
+ 'nav' => 'false',
962
+ 'dots' => 'true',
963
+ 'hover-anim' => 'true',
964
+ 'review-italic' => 'false',
965
+ 'enable-font' => 'true',
966
+ 'align-mini' => 'center',
967
+ 'readmore' => 'true',
968
+ 'popup-background' => '#ffffff',
969
+ 'popup-company-color' => '#333333',
970
+ 'popup-company-size' => '16px',
971
+ 'popup-profile-color' => '#333333',
972
+ 'popup-profile-size' => '15px',
973
+ 'popup-review-color' => '#333333',
974
+ 'popup-review-size' => '14px',
975
+ 'popup-separator-color' => '#dedede',
976
+ 'popup-separator-width' => '1px',
977
+ 'box-shadow' => 'false',
978
+ 'box-shadow-color' => '#000000',
979
+ 'box-shadow-opacity' => '0.15',
980
+ 'box-border-top-width' => '1px',
981
+ 'box-border-bottom-width' => '4px',
982
+ 'box-border-left-width' => '1px',
983
+ 'box-border-right-width' => '4px',
984
+ 'box-background-opacity' => '1',
985
+ 'box-backdrop-blur' => '0px',
986
+ 'highlight-color' => '#fbe049',
987
+ 'highlight-size' => '19px',
988
+ 'review-title' => 'normal',
989
+ 'content-align' => 'center',
990
+ 'text-align' => 'left',
991
+ 'original-rating-text' => '14px',
992
+ ),
993
+ ),
994
+ 'ligth-border-large' =>
995
+ array (
996
+ 'id' => 'ligth-border-large',
997
+ 'name' => 'Light border - large',
998
+ 'position' => 0,
999
+ 'select-position' => 1,
1000
+ 'reviewer-photo' => true,
1001
+ 'verified-icon' => true,
1002
+ 'hide-logos' => true,
1003
+ 'hide-stars' => true,
1004
+ '_vars' =>
1005
+ array (
1006
+ 'style_id' => '"light-border-large"',
1007
+ 'bg-color' => '#ffffff',
1008
+ 'text-color' => '#000000',
1009
+ 'outside-text-color' => '#000000',
1010
+ 'profile-color' => '#000000',
1011
+ 'profile-font-size' => '15px',
1012
+ 'review-font-size' => '16px',
1013
+ 'rating-text' => '14px',
1014
+ 'company-font-size' => '16px',
1015
+ 'review-lines' => '5',
1016
+ 'box-background-color' => '#ffffff',
1017
+ 'box-border-color' => '#e2e2e2',
1018
+ 'box-border-radius' => '4px',
1019
+ 'box-padding' => '25px',
1020
+ 'scroll' => 'true',
1021
+ 'scroll-color' => '#cccccc',
1022
+ 'arrow-color' => '#cccccc',
1023
+ 'float-widget-align' => 'left',
1024
+ 'nav' => 'false',
1025
+ 'dots' => 'true',
1026
+ 'hover-anim' => 'true',
1027
+ 'review-italic' => 'false',
1028
+ 'enable-font' => 'true',
1029
+ 'align-mini' => 'center',
1030
+ 'readmore' => 'true',
1031
+ 'popup-background' => '#ffffff',
1032
+ 'popup-company-color' => '#333333',
1033
+ 'popup-company-size' => '16px',
1034
+ 'popup-profile-color' => '#333333',
1035
+ 'popup-profile-size' => '15px',
1036
+ 'popup-review-color' => '#333333',
1037
+ 'popup-review-size' => '14px',
1038
+ 'popup-separator-color' => '#dedede',
1039
+ 'popup-separator-width' => '1px',
1040
+ 'box-shadow' => 'false',
1041
+ 'box-shadow-color' => '#000000',
1042
+ 'box-shadow-opacity' => '0.15',
1043
+ 'box-border-top-width' => '1px',
1044
+ 'box-border-bottom-width' => '1px',
1045
+ 'box-border-left-width' => '1px',
1046
+ 'box-border-right-width' => '1px',
1047
+ 'box-background-opacity' => '1',
1048
+ 'box-backdrop-blur' => '0px',
1049
+ 'highlight-color' => '#fbe049',
1050
+ 'highlight-size' => '19px',
1051
+ 'review-title' => 'normal',
1052
+ 'content-align' => 'center',
1053
+ 'text-align' => 'left',
1054
+ 'original-rating-text' => '14px',
1055
+ ),
1056
+ ),
1057
+ 'ligth-border-large-red' =>
1058
+ array (
1059
+ 'id' => 'ligth-border-large-red',
1060
+ 'name' => 'Light border - large - red',
1061
+ 'position' => 0,
1062
+ 'select-position' => 1,
1063
+ 'reviewer-photo' => true,
1064
+ 'verified-icon' => true,
1065
+ 'hide-logos' => false,
1066
+ 'hide-stars' => false,
1067
+ '_vars' =>
1068
+ array (
1069
+ 'style_id' => '"light-border-large-red"',
1070
+ 'bg-color' => '#ffffff',
1071
+ 'text-color' => '#000000',
1072
+ 'outside-text-color' => '#000000',
1073
+ 'profile-color' => '#000000',
1074
+ 'profile-font-size' => '15px',
1075
+ 'review-font-size' => '16px',
1076
+ 'rating-text' => '14px',
1077
+ 'company-font-size' => '16px',
1078
+ 'review-lines' => '5',
1079
+ 'box-background-color' => '#ffffff',
1080
+ 'box-border-color' => '#d93623',
1081
+ 'box-border-radius' => '0px',
1082
+ 'box-padding' => '25px',
1083
+ 'scroll' => 'true',
1084
+ 'scroll-color' => '#8d8d8d',
1085
+ 'arrow-color' => '#8d8d8d',
1086
+ 'float-widget-align' => 'left',
1087
+ 'nav' => 'false',
1088
+ 'dots' => 'true',
1089
+ 'hover-anim' => 'true',
1090
+ 'review-italic' => 'false',
1091
+ 'enable-font' => 'true',
1092
+ 'align-mini' => 'center',
1093
+ 'readmore' => 'true',
1094
+ 'popup-background' => '#ffffff',
1095
+ 'popup-company-color' => '#333333',
1096
+ 'popup-company-size' => '16px',
1097
+ 'popup-profile-color' => '#333333',
1098
+ 'popup-profile-size' => '15px',
1099
+ 'popup-review-color' => '#333333',
1100
+ 'popup-review-size' => '14px',
1101
+ 'popup-separator-color' => '#dedede',
1102
+ 'popup-separator-width' => '1px',
1103
+ 'box-shadow' => 'false',
1104
+ 'box-shadow-color' => '#000000',
1105
+ 'box-shadow-opacity' => '0.15',
1106
+ 'box-border-top-width' => '3px',
1107
+ 'box-border-bottom-width' => '3px',
1108
+ 'box-border-left-width' => '3px',
1109
+ 'box-border-right-width' => '3px',
1110
+ 'box-background-opacity' => '1',
1111
+ 'box-backdrop-blur' => '0px',
1112
+ 'highlight-color' => '#fbe049',
1113
+ 'highlight-size' => '19px',
1114
+ 'review-title' => 'normal',
1115
+ 'content-align' => 'center',
1116
+ 'text-align' => 'left',
1117
+ 'original-rating-text' => '14px',
1118
+ ),
1119
+ ),
1120
+ 'drop-shadow' =>
1121
+ array (
1122
+ 'id' => 'drop-shadow',
1123
+ 'name' => 'Drop shadow',
1124
+ 'position' => 0,
1125
+ 'select-position' => 2,
1126
+ 'reviewer-photo' => true,
1127
+ 'verified-icon' => true,
1128
+ 'hide-logos' => false,
1129
+ 'hide-stars' => false,
1130
+ '_vars' =>
1131
+ array (
1132
+ 'style_id' => '"drop-shadow"',
1133
+ 'bg-color' => '#ffffff',
1134
+ 'text-color' => '#000000',
1135
+ 'outside-text-color' => '#000000',
1136
+ 'profile-color' => '#000000',
1137
+ 'profile-font-size' => '15px',
1138
+ 'review-font-size' => '14px',
1139
+ 'rating-text' => '14px',
1140
+ 'company-font-size' => '16px',
1141
+ 'review-lines' => '4',
1142
+ 'box-background-color' => '#ffffff',
1143
+ 'box-border-color' => '#ffffff',
1144
+ 'box-border-radius' => '5px',
1145
+ 'box-padding' => '15px',
1146
+ 'scroll' => 'true',
1147
+ 'scroll-color' => '#555555',
1148
+ 'arrow-color' => '#cccccc',
1149
+ 'float-widget-align' => 'right',
1150
+ 'nav' => 'true',
1151
+ 'dots' => 'mobile',
1152
+ 'hover-anim' => 'false',
1153
+ 'review-italic' => 'false',
1154
+ 'enable-font' => 'true',
1155
+ 'align-mini' => 'center',
1156
+ 'readmore' => 'true',
1157
+ 'popup-background' => '#ffffff',
1158
+ 'popup-company-color' => '#333333',
1159
+ 'popup-company-size' => '16px',
1160
+ 'popup-profile-color' => '#333333',
1161
+ 'popup-profile-size' => '15px',
1162
+ 'popup-review-color' => '#333333',
1163
+ 'popup-review-size' => '14px',
1164
+ 'popup-separator-color' => '#dedede',
1165
+ 'popup-separator-width' => '1px',
1166
+ 'box-shadow' => 'true',
1167
+ 'box-shadow-color' => '#000000',
1168
+ 'box-shadow-opacity' => '0.15',
1169
+ 'box-border-top-width' => '0px',
1170
+ 'box-border-bottom-width' => '0px',
1171
+ 'box-border-left-width' => '0px',
1172
+ 'box-border-right-width' => '0px',
1173
+ 'box-background-opacity' => '1',
1174
+ 'box-backdrop-blur' => '0px',
1175
+ 'highlight-color' => '#fbe049',
1176
+ 'highlight-size' => '19px',
1177
+ 'review-title' => 'normal',
1178
+ 'content-align' => 'center',
1179
+ 'text-align' => 'left',
1180
+ 'original-rating-text' => '14px',
1181
+ ),
1182
+ ),
1183
+ 'drop-shadow-large' =>
1184
+ array (
1185
+ 'id' => 'drop-shadow-large',
1186
+ 'name' => 'Drop shadow - large',
1187
+ 'position' => 0,
1188
+ 'select-position' => 2,
1189
+ 'reviewer-photo' => true,
1190
+ 'verified-icon' => true,
1191
+ 'hide-logos' => false,
1192
+ 'hide-stars' => false,
1193
+ '_vars' =>
1194
+ array (
1195
+ 'style_id' => '"drop-shadow-large"',
1196
+ 'bg-color' => '#ffffff',
1197
+ 'text-color' => '#000000',
1198
+ 'outside-text-color' => '#000000',
1199
+ 'profile-color' => '#444444',
1200
+ 'profile-font-size' => '15px',
1201
+ 'review-font-size' => '16px',
1202
+ 'rating-text' => '14px',
1203
+ 'company-font-size' => '16px',
1204
+ 'review-lines' => '5',
1205
+ 'box-background-color' => '#ffffff',
1206
+ 'box-border-color' => '#ffffff',
1207
+ 'box-border-radius' => '12px',
1208
+ 'box-padding' => '25px',
1209
+ 'scroll' => 'true',
1210
+ 'scroll-color' => '#939393',
1211
+ 'arrow-color' => '#cccccc',
1212
+ 'float-widget-align' => 'right',
1213
+ 'nav' => 'false',
1214
+ 'dots' => 'true',
1215
+ 'hover-anim' => 'true',
1216
+ 'review-italic' => 'false',
1217
+ 'enable-font' => 'true',
1218
+ 'align-mini' => 'center',
1219
+ 'readmore' => 'true',
1220
+ 'popup-background' => '#ffffff',
1221
+ 'popup-company-color' => '#333333',
1222
+ 'popup-company-size' => '16px',
1223
+ 'popup-profile-color' => '#333333',
1224
+ 'popup-profile-size' => '15px',
1225
+ 'popup-review-color' => '#333333',
1226
+ 'popup-review-size' => '14px',
1227
+ 'popup-separator-color' => '#dedede',
1228
+ 'popup-separator-width' => '1px',
1229
+ 'box-shadow' => 'true',
1230
+ 'box-shadow-color' => '#000000',
1231
+ 'box-shadow-opacity' => '0.1',
1232
+ 'box-border-top-width' => '0px',
1233
+ 'box-border-bottom-width' => '0px',
1234
+ 'box-border-left-width' => '0px',
1235
+ 'box-border-right-width' => '0px',
1236
+ 'box-background-opacity' => '1',
1237
+ 'box-backdrop-blur' => '0px',
1238
+ 'highlight-color' => '#fbe049',
1239
+ 'highlight-size' => '19px',
1240
+ 'review-title' => 'normal',
1241
+ 'content-align' => 'center',
1242
+ 'text-align' => 'left',
1243
+ 'original-rating-text' => '14px',
1244
+ ),
1245
+ ),
1246
+ 'light-minimal' =>
1247
+ array (
1248
+ 'id' => 'light-minimal',
1249
+ 'name' => 'Minimal',
1250
+ 'position' => 0,
1251
+ 'select-position' => 3,
1252
+ 'reviewer-photo' => true,
1253
+ 'verified-icon' => true,
1254
+ 'hide-logos' => false,
1255
+ 'hide-stars' => false,
1256
+ '_vars' =>
1257
+ array (
1258
+ 'style_id' => '"light-minimal"',
1259
+ 'bg-color' => '#ffffff',
1260
+ 'text-color' => '#000000',
1261
+ 'outside-text-color' => '#000000',
1262
+ 'profile-color' => '#000000',
1263
+ 'profile-font-size' => '15px',
1264
+ 'review-font-size' => '14px',
1265
+ 'rating-text' => '14px',
1266
+ 'company-font-size' => '16px',
1267
+ 'review-lines' => '4',
1268
+ 'box-background-color' => '#ffffff',
1269
+ 'box-border-color' => '#efefef',
1270
+ 'box-border-radius' => '0px',
1271
+ 'box-padding' => '15px',
1272
+ 'scroll' => 'true',
1273
+ 'scroll-color' => '#555555',
1274
+ 'arrow-color' => '#cccccc',
1275
+ 'float-widget-align' => 'right',
1276
+ 'nav' => 'true',
1277
+ 'dots' => 'mobile',
1278
+ 'hover-anim' => 'true',
1279
+ 'review-italic' => 'false',
1280
+ 'enable-font' => 'true',
1281
+ 'align-mini' => 'center',
1282
+ 'readmore' => 'true',
1283
+ 'popup-background' => '#ffffff',
1284
+ 'popup-company-color' => '#333333',
1285
+ 'popup-company-size' => '16px',
1286
+ 'popup-profile-color' => '#333333',
1287
+ 'popup-profile-size' => '15px',
1288
+ 'popup-review-color' => '#333333',
1289
+ 'popup-review-size' => '14px',
1290
+ 'popup-separator-color' => '#dedede',
1291
+ 'popup-separator-width' => '1px',
1292
+ 'box-shadow' => 'false',
1293
+ 'box-shadow-color' => '#000000',
1294
+ 'box-shadow-opacity' => '0.15',
1295
+ 'box-border-top-width' => '0px',
1296
+ 'box-border-bottom-width' => '1px',
1297
+ 'box-border-left-width' => '0px',
1298
+ 'box-border-right-width' => '0px',
1299
+ 'box-background-opacity' => '0',
1300
+ 'box-backdrop-blur' => '0px',
1301
+ 'highlight-color' => '#fbe049',
1302
+ 'highlight-size' => '19px',
1303
+ 'review-title' => 'normal',
1304
+ 'content-align' => 'center',
1305
+ 'text-align' => 'left',
1306
+ 'original-rating-text' => '14px',
1307
+ ),
1308
+ ),
1309
+ 'light-minimal-large' =>
1310
+ array (
1311
+ 'id' => 'light-minimal-large',
1312
+ 'name' => 'Minimal - large',
1313
+ 'position' => 0,
1314
+ 'select-position' => 3,
1315
+ 'reviewer-photo' => false,
1316
+ 'verified-icon' => false,
1317
+ 'hide-logos' => false,
1318
+ 'hide-stars' => false,
1319
+ '_vars' =>
1320
+ array (
1321
+ 'style_id' => '"light-minimal-large"',
1322
+ 'bg-color' => '#ffffff',
1323
+ 'text-color' => '#000000',
1324
+ 'outside-text-color' => '#000000',
1325
+ 'profile-color' => '#000000',
1326
+ 'profile-font-size' => '15px',
1327
+ 'review-font-size' => '16px',
1328
+ 'rating-text' => '14px',
1329
+ 'company-font-size' => '16px',
1330
+ 'review-lines' => '5',
1331
+ 'box-background-color' => '#ffffff',
1332
+ 'box-border-color' => '#ffffff',
1333
+ 'box-border-radius' => '0px',
1334
+ 'box-padding' => '20px',
1335
+ 'scroll' => 'false',
1336
+ 'scroll-color' => '#555555',
1337
+ 'arrow-color' => '#cccccc',
1338
+ 'float-widget-align' => 'right',
1339
+ 'nav' => 'false',
1340
+ 'dots' => 'true',
1341
+ 'hover-anim' => 'true',
1342
+ 'review-italic' => 'false',
1343
+ 'enable-font' => 'true',
1344
+ 'align-mini' => 'center',
1345
+ 'readmore' => 'true',
1346
+ 'popup-background' => '#ffffff',
1347
+ 'popup-company-color' => '#333333',
1348
+ 'popup-company-size' => '16px',
1349
+ 'popup-profile-color' => '#333333',
1350
+ 'popup-profile-size' => '15px',
1351
+ 'popup-review-color' => '#333333',
1352
+ 'popup-review-size' => '14px',
1353
+ 'popup-separator-color' => '#dedede',
1354
+ 'popup-separator-width' => '1px',
1355
+ 'box-shadow' => 'false',
1356
+ 'box-shadow-color' => '#000000',
1357
+ 'box-shadow-opacity' => '0.15',
1358
+ 'box-border-top-width' => '0px',
1359
+ 'box-border-bottom-width' => '0px',
1360
+ 'box-border-left-width' => '0px',
1361
+ 'box-border-right-width' => '0px',
1362
+ 'box-background-opacity' => '0',
1363
+ 'box-backdrop-blur' => '0px',
1364
+ 'highlight-color' => '#fbe049',
1365
+ 'highlight-size' => '19px',
1366
+ 'review-title' => 'normal',
1367
+ 'content-align' => 'center',
1368
+ 'text-align' => 'left',
1369
+ 'original-rating-text' => '14px',
1370
+ ),
1371
+ ),
1372
+ 'soft' =>
1373
+ array (
1374
+ 'id' => 'soft',
1375
+ 'name' => 'Soft',
1376
+ 'position' => 1,
1377
+ 'select-position' => 4,
1378
+ 'reviewer-photo' => true,
1379
+ 'verified-icon' => true,
1380
+ 'hide-logos' => false,
1381
+ 'hide-stars' => false,
1382
+ '_vars' =>
1383
+ array (
1384
+ 'style_id' => '"soft"',
1385
+ 'bg-color' => '#e4e4e4',
1386
+ 'text-color' => '#000000',
1387
+ 'outside-text-color' => '#000000',
1388
+ 'profile-color' => '#000000',
1389
+ 'profile-font-size' => '15px',
1390
+ 'review-font-size' => '14px',
1391
+ 'rating-text' => '14px',
1392
+ 'company-font-size' => '16px',
1393
+ 'review-lines' => '4',
1394
+ 'box-background-color' => '#ffffff',
1395
+ 'box-border-color' => '#ffffff',
1396
+ 'box-border-radius' => '4px',
1397
+ 'box-padding' => '15px',
1398
+ 'scroll' => 'true',
1399
+ 'scroll-color' => '#555555',
1400
+ 'arrow-color' => '#b7b7b7',
1401
+ 'float-widget-align' => 'left',
1402
+ 'nav' => 'true',
1403
+ 'dots' => 'mobile',
1404
+ 'hover-anim' => 'true',
1405
+ 'review-italic' => 'false',
1406
+ 'enable-font' => 'true',
1407
+ 'align-mini' => 'center',
1408
+ 'readmore' => 'true',
1409
+ 'popup-background' => '#ffffff',
1410
+ 'popup-company-color' => '#333333',
1411
+ 'popup-company-size' => '16px',
1412
+ 'popup-profile-color' => '#333333',
1413
+ 'popup-profile-size' => '15px',
1414
+ 'popup-review-color' => '#333333',
1415
+ 'popup-review-size' => '14px',
1416
+ 'popup-separator-color' => '#dedede',
1417
+ 'popup-separator-width' => '1px',
1418
+ 'box-shadow' => 'false',
1419
+ 'box-shadow-color' => '#000000',
1420
+ 'box-shadow-opacity' => '0.15',
1421
+ 'box-border-top-width' => '2px',
1422
+ 'box-border-bottom-width' => '2px',
1423
+ 'box-border-left-width' => '2px',
1424
+ 'box-border-right-width' => '2px',
1425
+ 'box-background-opacity' => '1',
1426
+ 'box-backdrop-blur' => '0px',
1427
+ 'highlight-color' => '#fbe049',
1428
+ 'highlight-size' => '19px',
1429
+ 'review-title' => 'normal',
1430
+ 'content-align' => 'center',
1431
+ 'text-align' => 'left',
1432
+ 'original-rating-text' => '14px',
1433
+ ),
1434
+ ),
1435
+ 'light-clean' =>
1436
+ array (
1437
+ 'id' => 'light-clean',
1438
+ 'name' => 'Light clean',
1439
+ 'position' => 0,
1440
+ 'select-position' => 5,
1441
+ 'reviewer-photo' => true,
1442
+ 'verified-icon' => true,
1443
+ 'hide-logos' => false,
1444
+ 'hide-stars' => false,
1445
+ '_vars' =>
1446
+ array (
1447
+ 'style_id' => '"light-clean"',
1448
+ 'bg-color' => '#ffffff',
1449
+ 'text-color' => '#000000',
1450
+ 'outside-text-color' => '#000000',
1451
+ 'profile-color' => '#000000',
1452
+ 'profile-font-size' => '14px',
1453
+ 'review-font-size' => '13px',
1454
+ 'rating-text' => '14px',
1455
+ 'company-font-size' => '15px',
1456
+ 'review-lines' => '4',
1457
+ 'box-background-color' => '#ffffff',
1458
+ 'box-border-color' => '#dddddd',
1459
+ 'box-border-radius' => '0px',
1460
+ 'box-padding' => '15px',
1461
+ 'scroll' => 'true',
1462
+ 'scroll-color' => '#555555',
1463
+ 'arrow-color' => '#cccccc',
1464
+ 'float-widget-align' => 'right',
1465
+ 'nav' => 'true',
1466
+ 'dots' => 'mobile',
1467
+ 'hover-anim' => 'true',
1468
+ 'review-italic' => 'false',
1469
+ 'enable-font' => 'true',
1470
+ 'align-mini' => 'center',
1471
+ 'readmore' => 'true',
1472
+ 'popup-background' => '#ffffff',
1473
+ 'popup-company-color' => '#333333',
1474
+ 'popup-company-size' => '16px',
1475
+ 'popup-profile-color' => '#333333',
1476
+ 'popup-profile-size' => '15px',
1477
+ 'popup-review-color' => '#333333',
1478
+ 'popup-review-size' => '14px',
1479
+ 'popup-separator-color' => '#dedede',
1480
+ 'popup-separator-width' => '1px',
1481
+ 'box-shadow' => 'false',
1482
+ 'box-shadow-color' => '#000000',
1483
+ 'box-shadow-opacity' => '0.15',
1484
+ 'box-border-top-width' => '1px',
1485
+ 'box-border-bottom-width' => '1px',
1486
+ 'box-border-left-width' => '1px',
1487
+ 'box-border-right-width' => '1px',
1488
+ 'box-background-opacity' => '1',
1489
+ 'box-backdrop-blur' => '0px',
1490
+ 'highlight-color' => '#fbe049',
1491
+ 'highlight-size' => '19px',
1492
+ 'review-title' => 'normal',
1493
+ 'content-align' => 'center',
1494
+ 'text-align' => 'left',
1495
+ 'original-rating-text' => '14px',
1496
+ ),
1497
+ ),
1498
+ 'light-square' =>
1499
+ array (
1500
+ 'id' => 'light-square',
1501
+ 'name' => 'Clean dark',
1502
+ 'position' => 0,
1503
+ 'select-position' => 6,
1504
+ 'reviewer-photo' => true,
1505
+ 'verified-icon' => true,
1506
+ 'hide-logos' => false,
1507
+ 'hide-stars' => false,
1508
+ '_vars' =>
1509
+ array (
1510
+ 'style_id' => '"light-square"',
1511
+ 'bg-color' => '#ffffff',
1512
+ 'text-color' => '#000000',
1513
+ 'outside-text-color' => '#000000',
1514
+ 'profile-color' => '#000000',
1515
+ 'profile-font-size' => '14px',
1516
+ 'review-font-size' => '14px',
1517
+ 'rating-text' => '14px',
1518
+ 'company-font-size' => '15px',
1519
+ 'review-lines' => '4',
1520
+ 'box-background-color' => '#f3f3f3',
1521
+ 'box-border-color' => '#dddddd',
1522
+ 'box-border-radius' => '0px',
1523
+ 'box-padding' => '15px',
1524
+ 'scroll' => 'true',
1525
+ 'scroll-color' => '#555555',
1526
+ 'arrow-color' => '#cccccc',
1527
+ 'float-widget-align' => 'right',
1528
+ 'nav' => 'true',
1529
+ 'dots' => 'mobile',
1530
+ 'hover-anim' => 'true',
1531
+ 'review-italic' => 'false',
1532
+ 'enable-font' => 'true',
1533
+ 'align-mini' => 'center',
1534
+ 'readmore' => 'true',
1535
+ 'popup-background' => '#ffffff',
1536
+ 'popup-company-color' => '#333333',
1537
+ 'popup-company-size' => '16px',
1538
+ 'popup-profile-color' => '#333333',
1539
+ 'popup-profile-size' => '15px',
1540
+ 'popup-review-color' => '#333333',
1541
+ 'popup-review-size' => '14px',
1542
+ 'popup-separator-color' => '#dedede',
1543
+ 'popup-separator-width' => '1px',
1544
+ 'box-shadow' => 'false',
1545
+ 'box-shadow-color' => '#000000',
1546
+ 'box-shadow-opacity' => '0.15',
1547
+ 'box-border-top-width' => '0px',
1548
+ 'box-border-bottom-width' => '3px',
1549
+ 'box-border-left-width' => '0px',
1550
+ 'box-border-right-width' => '0px',
1551
+ 'box-background-opacity' => '1',
1552
+ 'box-backdrop-blur' => '0px',
1553
+ 'highlight-color' => '#fbe049',
1554
+ 'highlight-size' => '19px',
1555
+ 'review-title' => 'normal',
1556
+ 'content-align' => 'center',
1557
+ 'text-align' => 'left',
1558
+ 'original-rating-text' => '14px',
1559
+ ),
1560
+ ),
1561
+ 'light-background-border' =>
1562
+ array (
1563
+ 'id' => 'light-background-border',
1564
+ 'name' => 'Light background border',
1565
+ 'position' => 0,
1566
+ 'select-position' => 7,
1567
+ 'reviewer-photo' => true,
1568
+ 'verified-icon' => true,
1569
+ 'hide-logos' => false,
1570
+ 'hide-stars' => false,
1571
+ '_vars' =>
1572
+ array (
1573
+ 'style_id' => '"light-background-border"',
1574
+ 'bg-color' => '#ffffff',
1575
+ 'text-color' => '#000000',
1576
+ 'outside-text-color' => '#000000',
1577
+ 'profile-color' => '#000000',
1578
+ 'profile-font-size' => '15px',
1579
+ 'review-font-size' => '14px',
1580
+ 'rating-text' => '14px',
1581
+ 'company-font-size' => '16px',
1582
+ 'review-lines' => '4',
1583
+ 'box-background-color' => '#efefef',
1584
+ 'box-border-color' => '#cccccc',
1585
+ 'box-border-radius' => '4px',
1586
+ 'box-padding' => '15px',
1587
+ 'scroll' => 'true',
1588
+ 'scroll-color' => '#555555',
1589
+ 'arrow-color' => '#cccccc',
1590
+ 'float-widget-align' => 'left',
1591
+ 'nav' => 'true',
1592
+ 'dots' => 'mobile',
1593
+ 'hover-anim' => 'true',
1594
+ 'review-italic' => 'false',
1595
+ 'enable-font' => 'true',
1596
+ 'align-mini' => 'center',
1597
+ 'readmore' => 'true',
1598
+ 'popup-background' => '#ffffff',
1599
+ 'popup-company-color' => '#333333',
1600
+ 'popup-company-size' => '16px',
1601
+ 'popup-profile-color' => '#333333',
1602
+ 'popup-profile-size' => '15px',
1603
+ 'popup-review-color' => '#333333',
1604
+ 'popup-review-size' => '14px',
1605
+ 'popup-separator-color' => '#dedede',
1606
+ 'popup-separator-width' => '1px',
1607
+ 'box-shadow' => 'false',
1608
+ 'box-shadow-color' => '#000000',
1609
+ 'box-shadow-opacity' => '0.15',
1610
+ 'box-border-top-width' => '2px',
1611
+ 'box-border-bottom-width' => '2px',
1612
+ 'box-border-left-width' => '2px',
1613
+ 'box-border-right-width' => '2px',
1614
+ 'box-background-opacity' => '1',
1615
+ 'box-backdrop-blur' => '0px',
1616
+ 'highlight-color' => '#fbe049',
1617
+ 'highlight-size' => '19px',
1618
+ 'review-title' => 'normal',
1619
+ 'content-align' => 'center',
1620
+ 'text-align' => 'left',
1621
+ 'original-rating-text' => '14px',
1622
+ ),
1623
+ ),
1624
+ 'blue' =>
1625
+ array (
1626
+ 'id' => 'blue',
1627
+ 'name' => 'Blue',
1628
+ 'position' => 0,
1629
+ 'select-position' => 8,
1630
+ 'reviewer-photo' => true,
1631
+ 'verified-icon' => true,
1632
+ 'hide-logos' => false,
1633
+ 'hide-stars' => false,
1634
+ '_vars' =>
1635
+ array (
1636
+ 'style_id' => '"blue"',
1637
+ 'bg-color' => '#ffffff',
1638
+ 'text-color' => '#000000',
1639
+ 'outside-text-color' => '#000000',
1640
+ 'profile-color' => '#365899',
1641
+ 'profile-font-size' => '14px',
1642
+ 'review-font-size' => '14px',
1643
+ 'rating-text' => '14px',
1644
+ 'company-font-size' => '15px',
1645
+ 'review-lines' => '4',
1646
+ 'box-background-color' => '#ffffff',
1647
+ 'box-border-color' => '#dddfe2',
1648
+ 'box-border-radius' => '4px',
1649
+ 'box-padding' => '15px',
1650
+ 'scroll' => 'true',
1651
+ 'scroll-color' => '#555555',
1652
+ 'arrow-color' => '#cccccc',
1653
+ 'float-widget-align' => 'left',
1654
+ 'nav' => 'true',
1655
+ 'dots' => 'mobile',
1656
+ 'hover-anim' => 'true',
1657
+ 'review-italic' => 'false',
1658
+ 'enable-font' => 'true',
1659
+ 'align-mini' => 'center',
1660
+ 'readmore' => 'true',
1661
+ 'popup-background' => '#ffffff',
1662
+ 'popup-company-color' => '#333333',
1663
+ 'popup-company-size' => '16px',
1664
+ 'popup-profile-color' => '#333333',
1665
+ 'popup-profile-size' => '15px',
1666
+ 'popup-review-color' => '#333333',
1667
+ 'popup-review-size' => '14px',
1668
+ 'popup-separator-color' => '#dedede',
1669
+ 'popup-separator-width' => '1px',
1670
+ 'box-shadow' => 'false',
1671
+ 'box-shadow-color' => '#000000',
1672
+ 'box-shadow-opacity' => '0.15',
1673
+ 'box-border-top-width' => '1px',
1674
+ 'box-border-bottom-width' => '1px',
1675
+ 'box-border-left-width' => '1px',
1676
+ 'box-border-right-width' => '1px',
1677
+ 'box-background-opacity' => '1',
1678
+ 'box-backdrop-blur' => '0px',
1679
+ 'highlight-color' => '#fbe049',
1680
+ 'highlight-size' => '19px',
1681
+ 'review-title' => 'normal',
1682
+ 'content-align' => 'center',
1683
+ 'text-align' => 'left',
1684
+ 'original-rating-text' => '14px',
1685
+ ),
1686
+ ),
1687
+ 'light-background-large-purple' =>
1688
+ array (
1689
+ 'id' => 'light-background-large-purple',
1690
+ 'name' => 'Light background - large - purple',
1691
+ 'position' => 0,
1692
+ 'select-position' => 9,
1693
+ 'reviewer-photo' => true,
1694
+ 'verified-icon' => false,
1695
+ 'hide-logos' => false,
1696
+ 'hide-stars' => false,
1697
+ '_vars' =>
1698
+ array (
1699
+ 'style_id' => '"light-background-large-purple"',
1700
+ 'bg-color' => '#ffffff',
1701
+ 'text-color' => '#593072',
1702
+ 'outside-text-color' => '#593072',
1703
+ 'profile-color' => '#593072',
1704
+ 'profile-font-size' => '15px',
1705
+ 'review-font-size' => '16px',
1706
+ 'rating-text' => '14px',
1707
+ 'company-font-size' => '16px',
1708
+ 'review-lines' => '5',
1709
+ 'box-background-color' => '#f6f1f9',
1710
+ 'box-border-color' => '#fbf9fc',
1711
+ 'box-border-radius' => '15px',
1712
+ 'box-padding' => '25px',
1713
+ 'scroll' => 'true',
1714
+ 'scroll-color' => '#593072',
1715
+ 'arrow-color' => '#593072',
1716
+ 'float-widget-align' => 'left',
1717
+ 'nav' => 'false',
1718
+ 'dots' => 'true',
1719
+ 'hover-anim' => 'true',
1720
+ 'review-italic' => 'false',
1721
+ 'enable-font' => 'true',
1722
+ 'align-mini' => 'center',
1723
+ 'readmore' => 'true',
1724
+ 'popup-background' => '#ffffff',
1725
+ 'popup-company-color' => '#333333',
1726
+ 'popup-company-size' => '16px',
1727
+ 'popup-profile-color' => '#333333',
1728
+ 'popup-profile-size' => '15px',
1729
+ 'popup-review-color' => '#333333',
1730
+ 'popup-review-size' => '14px',
1731
+ 'popup-separator-color' => '#dedede',
1732
+ 'popup-separator-width' => '1px',
1733
+ 'box-shadow' => 'false',
1734
+ 'box-shadow-color' => '#000000',
1735
+ 'box-shadow-opacity' => '0.15',
1736
+ 'box-border-top-width' => '5px',
1737
+ 'box-border-bottom-width' => '5px',
1738
+ 'box-border-left-width' => '5px',
1739
+ 'box-border-right-width' => '5px',
1740
+ 'box-background-opacity' => '1',
1741
+ 'box-backdrop-blur' => '0px',
1742
+ 'highlight-color' => '#fbe049',
1743
+ 'highlight-size' => '19px',
1744
+ 'review-title' => 'normal',
1745
+ 'content-align' => 'center',
1746
+ 'text-align' => 'left',
1747
+ 'original-rating-text' => '14px',
1748
+ ),
1749
+ ),
1750
+ 'light-background-image' =>
1751
+ array (
1752
+ 'id' => 'light-background-image',
1753
+ 'name' => 'Light background image',
1754
+ 'position' => 0,
1755
+ 'select-position' => 9,
1756
+ 'reviewer-photo' => true,
1757
+ 'verified-icon' => true,
1758
+ 'hide-logos' => false,
1759
+ 'hide-stars' => false,
1760
+ '_vars' =>
1761
+ array (
1762
+ 'style_id' => '"light-background-image"',
1763
+ 'bg-color' => '#ffffff',
1764
+ 'text-color' => '#000000',
1765
+ 'outside-text-color' => '#000000',
1766
+ 'profile-color' => '#000000',
1767
+ 'profile-font-size' => '14px',
1768
+ 'review-font-size' => '14px',
1769
+ 'rating-text' => '15px',
1770
+ 'company-font-size' => '18px',
1771
+ 'review-lines' => '4',
1772
+ 'box-background-color' => '#ffffff',
1773
+ 'box-border-color' => '#ffffff',
1774
+ 'box-border-radius' => '8px',
1775
+ 'box-padding' => '15px',
1776
+ 'scroll' => 'true',
1777
+ 'scroll-color' => '#555555',
1778
+ 'arrow-color' => '#999999',
1779
+ 'float-widget-align' => 'right',
1780
+ 'nav' => 'true',
1781
+ 'dots' => 'mobile',
1782
+ 'hover-anim' => 'false',
1783
+ 'review-italic' => 'false',
1784
+ 'enable-font' => 'true',
1785
+ 'align-mini' => 'center',
1786
+ 'readmore' => 'true',
1787
+ 'popup-background' => '#ffffff',
1788
+ 'popup-company-color' => '#333333',
1789
+ 'popup-company-size' => '16px',
1790
+ 'popup-profile-color' => '#333333',
1791
+ 'popup-profile-size' => '15px',
1792
+ 'popup-review-color' => '#333333',
1793
+ 'popup-review-size' => '14px',
1794
+ 'popup-separator-color' => '#dedede',
1795
+ 'popup-separator-width' => '1px',
1796
+ 'box-shadow' => 'true',
1797
+ 'box-shadow-color' => '#000000',
1798
+ 'box-shadow-opacity' => '0.05',
1799
+ 'box-border-top-width' => '0px',
1800
+ 'box-border-bottom-width' => '0px',
1801
+ 'box-border-left-width' => '0px',
1802
+ 'box-border-right-width' => '0px',
1803
+ 'box-background-opacity' => '0.3',
1804
+ 'box-backdrop-blur' => '5px',
1805
+ 'highlight-color' => '#fbe049',
1806
+ 'highlight-size' => '19px',
1807
+ 'review-title' => 'normal',
1808
+ 'content-align' => 'center',
1809
+ 'text-align' => 'left',
1810
+ 'original-rating-text' => '15px',
1811
+ ),
1812
+ ),
1813
+ 'light-contrast' =>
1814
+ array (
1815
+ 'id' => 'light-contrast',
1816
+ 'name' => 'Light contrast',
1817
+ 'position' => 0,
1818
+ 'select-position' => 10,
1819
+ 'reviewer-photo' => true,
1820
+ 'verified-icon' => true,
1821
+ 'hide-logos' => false,
1822
+ 'hide-stars' => false,
1823
+ '_vars' =>
1824
+ array (
1825
+ 'style_id' => '"light-contrast"',
1826
+ 'bg-color' => '#ffffff',
1827
+ 'text-color' => '#ffffff',
1828
+ 'outside-text-color' => '#000000',
1829
+ 'profile-color' => '#ffffff',
1830
+ 'profile-font-size' => '15px',
1831
+ 'review-font-size' => '14px',
1832
+ 'rating-text' => '14px',
1833
+ 'company-font-size' => '16px',
1834
+ 'review-lines' => '4',
1835
+ 'box-background-color' => '#222222',
1836
+ 'box-border-color' => '#222222',
1837
+ 'box-border-radius' => '4px',
1838
+ 'box-padding' => '15px',
1839
+ 'scroll' => 'true',
1840
+ 'scroll-color' => '#555555',
1841
+ 'arrow-color' => '#555555',
1842
+ 'float-widget-align' => 'left',
1843
+ 'nav' => 'true',
1844
+ 'dots' => 'mobile',
1845
+ 'hover-anim' => 'true',
1846
+ 'review-italic' => 'false',
1847
+ 'enable-font' => 'true',
1848
+ 'align-mini' => 'center',
1849
+ 'readmore' => 'true',
1850
+ 'popup-background' => '#ffffff',
1851
+ 'popup-company-color' => '#333333',
1852
+ 'popup-company-size' => '16px',
1853
+ 'popup-profile-color' => '#333333',
1854
+ 'popup-profile-size' => '15px',
1855
+ 'popup-review-color' => '#333333',
1856
+ 'popup-review-size' => '14px',
1857
+ 'popup-separator-color' => '#dedede',
1858
+ 'popup-separator-width' => '1px',
1859
+ 'box-shadow' => 'false',
1860
+ 'box-shadow-color' => '#000000',
1861
+ 'box-shadow-opacity' => '0.15',
1862
+ 'box-border-top-width' => '2px',
1863
+ 'box-border-bottom-width' => '2px',
1864
+ 'box-border-left-width' => '2px',
1865
+ 'box-border-right-width' => '2px',
1866
+ 'box-background-opacity' => '1',
1867
+ 'box-backdrop-blur' => '0px',
1868
+ 'highlight-color' => '#fbe049',
1869
+ 'highlight-size' => '19px',
1870
+ 'review-title' => 'normal',
1871
+ 'content-align' => 'center',
1872
+ 'text-align' => 'left',
1873
+ 'original-rating-text' => '14px',
1874
+ ),
1875
+ ),
1876
+ 'light-contrast-large' =>
1877
+ array (
1878
+ 'id' => 'light-contrast-large',
1879
+ 'name' => 'Light contrast - large',
1880
+ 'position' => 0,
1881
+ 'select-position' => 10,
1882
+ 'reviewer-photo' => false,
1883
+ 'verified-icon' => false,
1884
+ 'hide-logos' => true,
1885
+ 'hide-stars' => true,
1886
+ '_vars' =>
1887
+ array (
1888
+ 'style_id' => '"light-contrast-large"',
1889
+ 'bg-color' => '#ffffff',
1890
+ 'text-color' => '#ffffff',
1891
+ 'outside-text-color' => '#252c44',
1892
+ 'profile-color' => '#ffffff',
1893
+ 'profile-font-size' => '15px',
1894
+ 'review-font-size' => '16px',
1895
+ 'rating-text' => '14px',
1896
+ 'company-font-size' => '16px',
1897
+ 'review-lines' => '5',
1898
+ 'box-background-color' => '#252c44',
1899
+ 'box-border-color' => '#252c44',
1900
+ 'box-border-radius' => '0px',
1901
+ 'box-padding' => '25px',
1902
+ 'scroll' => 'true',
1903
+ 'scroll-color' => '#ffffff',
1904
+ 'arrow-color' => '#252c44',
1905
+ 'float-widget-align' => 'left',
1906
+ 'nav' => 'false',
1907
+ 'dots' => 'true',
1908
+ 'hover-anim' => 'true',
1909
+ 'review-italic' => 'false',
1910
+ 'enable-font' => 'true',
1911
+ 'align-mini' => 'center',
1912
+ 'readmore' => 'true',
1913
+ 'popup-background' => '#ffffff',
1914
+ 'popup-company-color' => '#333333',
1915
+ 'popup-company-size' => '16px',
1916
+ 'popup-profile-color' => '#333333',
1917
+ 'popup-profile-size' => '15px',
1918
+ 'popup-review-color' => '#333333',
1919
+ 'popup-review-size' => '14px',
1920
+ 'popup-separator-color' => '#dedede',
1921
+ 'popup-separator-width' => '1px',
1922
+ 'box-shadow' => 'true',
1923
+ 'box-shadow-color' => '#252c44',
1924
+ 'box-shadow-opacity' => '0.45',
1925
+ 'box-border-top-width' => '0px',
1926
+ 'box-border-bottom-width' => '0px',
1927
+ 'box-border-left-width' => '0px',
1928
+ 'box-border-right-width' => '0px',
1929
+ 'box-background-opacity' => '1',
1930
+ 'box-backdrop-blur' => '0px',
1931
+ 'highlight-color' => '#fbe049',
1932
+ 'highlight-size' => '19px',
1933
+ 'review-title' => 'normal',
1934
+ 'content-align' => 'center',
1935
+ 'text-align' => 'left',
1936
+ 'original-rating-text' => '14px',
1937
+ ),
1938
+ ),
1939
+ 'light-contrast-large-blue' =>
1940
+ array (
1941
+ 'id' => 'light-contrast-large-blue',
1942
+ 'name' => 'Light contrast - large - blue',
1943
+ 'position' => 0,
1944
+ 'select-position' => 10,
1945
+ 'reviewer-photo' => true,
1946
+ 'verified-icon' => false,
1947
+ 'hide-logos' => false,
1948
+ 'hide-stars' => false,
1949
+ '_vars' =>
1950
+ array (
1951
+ 'style_id' => '"light-contrast-large-blue"',
1952
+ 'bg-color' => '#ffffff',
1953
+ 'text-color' => '#ffffff',
1954
+ 'outside-text-color' => '#252c44',
1955
+ 'profile-color' => '#ffffff',
1956
+ 'profile-font-size' => '15px',
1957
+ 'review-font-size' => '16px',
1958
+ 'rating-text' => '14px',
1959
+ 'company-font-size' => '16px',
1960
+ 'review-lines' => '5',
1961
+ 'box-background-color' => '#242f62',
1962
+ 'box-border-color' => '#2aa8d7',
1963
+ 'box-border-radius' => '0px',
1964
+ 'box-padding' => '25px',
1965
+ 'scroll' => 'true',
1966
+ 'scroll-color' => '#ffffff',
1967
+ 'arrow-color' => '#242f62',
1968
+ 'float-widget-align' => 'left',
1969
+ 'nav' => 'false',
1970
+ 'dots' => 'true',
1971
+ 'hover-anim' => 'true',
1972
+ 'review-italic' => 'false',
1973
+ 'enable-font' => 'true',
1974
+ 'align-mini' => 'center',
1975
+ 'readmore' => 'true',
1976
+ 'popup-background' => '#ffffff',
1977
+ 'popup-company-color' => '#333333',
1978
+ 'popup-company-size' => '16px',
1979
+ 'popup-profile-color' => '#333333',
1980
+ 'popup-profile-size' => '15px',
1981
+ 'popup-review-color' => '#333333',
1982
+ 'popup-review-size' => '14px',
1983
+ 'popup-separator-color' => '#dedede',
1984
+ 'popup-separator-width' => '1px',
1985
+ 'box-shadow' => 'false',
1986
+ 'box-shadow-color' => '#252c44',
1987
+ 'box-shadow-opacity' => '0.45',
1988
+ 'box-border-top-width' => '0px',
1989
+ 'box-border-bottom-width' => '0px',
1990
+ 'box-border-left-width' => '10px',
1991
+ 'box-border-right-width' => '0px',
1992
+ 'box-background-opacity' => '1',
1993
+ 'box-backdrop-blur' => '0px',
1994
+ 'highlight-color' => '#fbe049',
1995
+ 'highlight-size' => '19px',
1996
+ 'review-title' => 'normal',
1997
+ 'content-align' => 'center',
1998
+ 'text-align' => 'left',
1999
+ 'original-rating-text' => '14px',
2000
+ ),
2001
+ ),
2002
+ 'dark-background' =>
2003
+ array (
2004
+ 'id' => 'dark-background',
2005
+ 'name' => 'Dark background',
2006
+ 'position' => 1,
2007
+ 'select-position' => 11,
2008
+ 'reviewer-photo' => true,
2009
+ 'verified-icon' => true,
2010
+ 'hide-logos' => false,
2011
+ 'hide-stars' => false,
2012
+ '_vars' =>
2013
+ array (
2014
+ 'style_id' => '"dark-background"',
2015
+ 'bg-color' => '#222222',
2016
+ 'text-color' => '#ffffff',
2017
+ 'outside-text-color' => '#ffffff',
2018
+ 'profile-color' => '#ffffff',
2019
+ 'profile-font-size' => '15px',
2020
+ 'review-font-size' => '14px',
2021
+ 'rating-text' => '14px',
2022
+ 'company-font-size' => '16px',
2023
+ 'review-lines' => '4',
2024
+ 'box-background-color' => '#303030',
2025
+ 'box-border-color' => '#303030',
2026
+ 'box-border-radius' => '4px',
2027
+ 'box-padding' => '15px',
2028
+ 'scroll' => 'true',
2029
+ 'scroll-color' => '#555555',
2030
+ 'arrow-color' => '#666666',
2031
+ 'float-widget-align' => 'left',
2032
+ 'nav' => 'true',
2033
+ 'dots' => 'mobile',
2034
+ 'hover-anim' => 'true',
2035
+ 'review-italic' => 'false',
2036
+ 'enable-font' => 'true',
2037
+ 'align-mini' => 'center',
2038
+ 'readmore' => 'true',
2039
+ 'popup-background' => '#ffffff',
2040
+ 'popup-company-color' => '#333333',
2041
+ 'popup-company-size' => '16px',
2042
+ 'popup-profile-color' => '#333333',
2043
+ 'popup-profile-size' => '15px',
2044
+ 'popup-review-color' => '#333333',
2045
+ 'popup-review-size' => '14px',
2046
+ 'popup-separator-color' => '#dedede',
2047
+ 'popup-separator-width' => '1px',
2048
+ 'box-shadow' => 'false',
2049
+ 'box-shadow-color' => '#000000',
2050
+ 'box-shadow-opacity' => '0.15',
2051
+ 'box-border-top-width' => '2px',
2052
+ 'box-border-bottom-width' => '2px',
2053
+ 'box-border-left-width' => '2px',
2054
+ 'box-border-right-width' => '2px',
2055
+ 'box-background-opacity' => '1',
2056
+ 'box-backdrop-blur' => '0px',
2057
+ 'highlight-color' => '#fbe049',
2058
+ 'highlight-size' => '19px',
2059
+ 'review-title' => 'normal',
2060
+ 'content-align' => 'center',
2061
+ 'text-align' => 'left',
2062
+ 'original-rating-text' => '14px',
2063
+ ),
2064
+ ),
2065
+ 'dark-minimal' =>
2066
+ array (
2067
+ 'id' => 'dark-minimal',
2068
+ 'name' => 'Minimal dark',
2069
+ 'position' => 0,
2070
+ 'select-position' => 11,
2071
+ 'reviewer-photo' => true,
2072
+ 'verified-icon' => true,
2073
+ 'hide-logos' => false,
2074
+ 'hide-stars' => false,
2075
+ '_vars' =>
2076
+ array (
2077
+ 'style_id' => '"dark-minimal"',
2078
+ 'bg-color' => '#000000',
2079
+ 'text-color' => '#ffffff',
2080
+ 'outside-text-color' => '#ffffff',
2081
+ 'profile-color' => '#ffffff',
2082
+ 'profile-font-size' => '15px',
2083
+ 'review-font-size' => '14px',
2084
+ 'rating-text' => '14px',
2085
+ 'company-font-size' => '16px',
2086
+ 'review-lines' => '4',
2087
+ 'box-background-color' => '#ffffff',
2088
+ 'box-border-color' => '#444444',
2089
+ 'box-border-radius' => '0px',
2090
+ 'box-padding' => '15px',
2091
+ 'scroll' => 'true',
2092
+ 'scroll-color' => '#555555',
2093
+ 'arrow-color' => '#cccccc',
2094
+ 'float-widget-align' => 'right',
2095
+ 'nav' => 'true',
2096
+ 'dots' => 'mobile',
2097
+ 'hover-anim' => 'true',
2098
+ 'review-italic' => 'false',
2099
+ 'enable-font' => 'true',
2100
+ 'align-mini' => 'center',
2101
+ 'readmore' => 'true',
2102
+ 'popup-background' => '#ffffff',
2103
+ 'popup-company-color' => '#333333',
2104
+ 'popup-company-size' => '16px',
2105
+ 'popup-profile-color' => '#333333',
2106
+ 'popup-profile-size' => '15px',
2107
+ 'popup-review-color' => '#333333',
2108
+ 'popup-review-size' => '14px',
2109
+ 'popup-separator-color' => '#dedede',
2110
+ 'popup-separator-width' => '1px',
2111
+ 'box-shadow' => 'false',
2112
+ 'box-shadow-color' => '#000000',
2113
+ 'box-shadow-opacity' => '0.15',
2114
+ 'box-border-top-width' => '0px',
2115
+ 'box-border-bottom-width' => '1px',
2116
+ 'box-border-left-width' => '0px',
2117
+ 'box-border-right-width' => '0px',
2118
+ 'box-background-opacity' => '0',
2119
+ 'box-backdrop-blur' => '0px',
2120
+ 'highlight-color' => '#fbe049',
2121
+ 'highlight-size' => '19px',
2122
+ 'review-title' => 'normal',
2123
+ 'content-align' => 'center',
2124
+ 'text-align' => 'left',
2125
+ 'original-rating-text' => '14px',
2126
+ ),
2127
+ ),
2128
+ 'dark-border' =>
2129
+ array (
2130
+ 'id' => 'dark-border',
2131
+ 'name' => 'Dark border',
2132
+ 'position' => 1,
2133
+ 'select-position' => 12,
2134
+ 'reviewer-photo' => true,
2135
+ 'verified-icon' => true,
2136
+ 'hide-logos' => false,
2137
+ 'hide-stars' => false,
2138
+ '_vars' =>
2139
+ array (
2140
+ 'style_id' => '"dark-border"',
2141
+ 'bg-color' => '#222222',
2142
+ 'text-color' => '#ffffff',
2143
+ 'outside-text-color' => '#ffffff',
2144
+ 'profile-color' => '#ffffff',
2145
+ 'profile-font-size' => '15px',
2146
+ 'review-font-size' => '14px',
2147
+ 'rating-text' => '14px',
2148
+ 'company-font-size' => '16px',
2149
+ 'review-lines' => '4',
2150
+ 'box-background-color' => '#222222',
2151
+ 'box-border-color' => '#444444',
2152
+ 'box-border-radius' => '4px',
2153
+ 'box-padding' => '15px',
2154
+ 'scroll' => 'true',
2155
+ 'scroll-color' => '#555555',
2156
+ 'arrow-color' => '#444444',
2157
+ 'float-widget-align' => 'left',
2158
+ 'nav' => 'true',
2159
+ 'dots' => 'mobile',
2160
+ 'hover-anim' => 'true',
2161
+ 'review-italic' => 'false',
2162
+ 'enable-font' => 'true',
2163
+ 'align-mini' => 'center',
2164
+ 'readmore' => 'true',
2165
+ 'popup-background' => '#ffffff',
2166
+ 'popup-company-color' => '#333333',
2167
+ 'popup-company-size' => '16px',
2168
+ 'popup-profile-color' => '#333333',
2169
+ 'popup-profile-size' => '15px',
2170
+ 'popup-review-color' => '#333333',
2171
+ 'popup-review-size' => '14px',
2172
+ 'popup-separator-color' => '#dedede',
2173
+ 'popup-separator-width' => '1px',
2174
+ 'box-shadow' => 'false',
2175
+ 'box-shadow-color' => '#000000',
2176
+ 'box-shadow-opacity' => '0.15',
2177
+ 'box-border-top-width' => '2px',
2178
+ 'box-border-bottom-width' => '2px',
2179
+ 'box-border-left-width' => '2px',
2180
+ 'box-border-right-width' => '2px',
2181
+ 'box-background-opacity' => '1',
2182
+ 'box-backdrop-blur' => '0px',
2183
+ 'highlight-color' => '#fbe049',
2184
+ 'highlight-size' => '19px',
2185
+ 'review-title' => 'normal',
2186
+ 'content-align' => 'center',
2187
+ 'text-align' => 'left',
2188
+ 'original-rating-text' => '14px',
2189
+ ),
2190
+ ),
2191
+ 'dark-contrast' =>
2192
+ array (
2193
+ 'id' => 'dark-contrast',
2194
+ 'name' => 'Dark contrast',
2195
+ 'position' => 1,
2196
+ 'select-position' => 14,
2197
+ 'reviewer-photo' => true,
2198
+ 'verified-icon' => true,
2199
+ 'hide-logos' => false,
2200
+ 'hide-stars' => false,
2201
+ '_vars' =>
2202
+ array (
2203
+ 'style_id' => '"dark-contrast"',
2204
+ 'bg-color' => '#222222',
2205
+ 'text-color' => '#000000',
2206
+ 'outside-text-color' => '#ffffff',
2207
+ 'profile-color' => '#000000',
2208
+ 'profile-font-size' => '15px',
2209
+ 'review-font-size' => '14px',
2210
+ 'rating-text' => '14px',
2211
+ 'company-font-size' => '16px',
2212
+ 'review-lines' => '4',
2213
+ 'box-background-color' => '#ffffff',
2214
+ 'box-border-color' => '#ffffff',
2215
+ 'box-border-radius' => '4px',
2216
+ 'box-padding' => '15px',
2217
+ 'scroll' => 'true',
2218
+ 'scroll-color' => '#555555',
2219
+ 'arrow-color' => '#ffffff',
2220
+ 'float-widget-align' => 'left',
2221
+ 'nav' => 'true',
2222
+ 'dots' => 'mobile',
2223
+ 'hover-anim' => 'true',
2224
+ 'review-italic' => 'false',
2225
+ 'enable-font' => 'true',
2226
+ 'align-mini' => 'center',
2227
+ 'readmore' => 'true',
2228
+ 'popup-background' => '#ffffff',
2229
+ 'popup-company-color' => '#333333',
2230
+ 'popup-company-size' => '16px',
2231
+ 'popup-profile-color' => '#333333',
2232
+ 'popup-profile-size' => '15px',
2233
+ 'popup-review-color' => '#333333',
2234
+ 'popup-review-size' => '14px',
2235
+ 'popup-separator-color' => '#dedede',
2236
+ 'popup-separator-width' => '1px',
2237
+ 'box-shadow' => 'false',
2238
+ 'box-shadow-color' => '#000000',
2239
+ 'box-shadow-opacity' => '0.15',
2240
+ 'box-border-top-width' => '2px',
2241
+ 'box-border-bottom-width' => '2px',
2242
+ 'box-border-left-width' => '2px',
2243
+ 'box-border-right-width' => '2px',
2244
+ 'box-background-opacity' => '1',
2245
+ 'box-backdrop-blur' => '0px',
2246
+ 'highlight-color' => '#fbe049',
2247
+ 'highlight-size' => '19px',
2248
+ 'review-title' => 'normal',
2249
+ 'content-align' => 'center',
2250
+ 'text-align' => 'left',
2251
+ 'original-rating-text' => '14px',
2252
+ ),
2253
+ ),
2254
+ 'dark-background-image' =>
2255
+ array (
2256
+ 'id' => 'dark-background-image',
2257
+ 'name' => 'Dark background image',
2258
+ 'position' => 0,
2259
+ 'select-position' => 15,
2260
+ 'reviewer-photo' => true,
2261
+ 'verified-icon' => true,
2262
+ 'hide-logos' => false,
2263
+ 'hide-stars' => false,
2264
+ '_vars' =>
2265
+ array (
2266
+ 'style_id' => '"dark-background-image"',
2267
+ 'bg-color' => '#ffffff',
2268
+ 'text-color' => '#ffffff',
2269
+ 'outside-text-color' => '#ffffff',
2270
+ 'profile-color' => '#ffffff',
2271
+ 'profile-font-size' => '15px',
2272
+ 'review-font-size' => '15px',
2273
+ 'rating-text' => '15px',
2274
+ 'company-font-size' => '16px',
2275
+ 'review-lines' => '4',
2276
+ 'box-background-color' => '#000000',
2277
+ 'box-border-color' => '#000000',
2278
+ 'box-border-radius' => '5px',
2279
+ 'box-padding' => '20px',
2280
+ 'scroll' => 'true',
2281
+ 'scroll-color' => '#555555',
2282
+ 'arrow-color' => '#cccccc',
2283
+ 'float-widget-align' => 'right',
2284
+ 'nav' => 'true',
2285
+ 'dots' => 'mobile',
2286
+ 'hover-anim' => 'false',
2287
+ 'review-italic' => 'false',
2288
+ 'enable-font' => 'true',
2289
+ 'align-mini' => 'center',
2290
+ 'readmore' => 'true',
2291
+ 'popup-background' => '#ffffff',
2292
+ 'popup-company-color' => '#333333',
2293
+ 'popup-company-size' => '16px',
2294
+ 'popup-profile-color' => '#333333',
2295
+ 'popup-profile-size' => '15px',
2296
+ 'popup-review-color' => '#333333',
2297
+ 'popup-review-size' => '14px',
2298
+ 'popup-separator-color' => '#dedede',
2299
+ 'popup-separator-width' => '1px',
2300
+ 'box-shadow' => 'true',
2301
+ 'box-shadow-color' => '#000000',
2302
+ 'box-shadow-opacity' => '0.20',
2303
+ 'box-border-top-width' => '0px',
2304
+ 'box-border-bottom-width' => '0px',
2305
+ 'box-border-left-width' => '0px',
2306
+ 'box-border-right-width' => '0px',
2307
+ 'box-background-opacity' => '0.3',
2308
+ 'box-backdrop-blur' => '5px',
2309
+ 'highlight-color' => '#fbe049',
2310
+ 'highlight-size' => '19px',
2311
+ 'review-title' => 'normal',
2312
+ 'content-align' => 'center',
2313
+ 'text-align' => 'left',
2314
+ 'original-rating-text' => '15px',
2315
+ ),
2316
+ ),
2317
  );
2318
  public static $widget_languages = [
2319
  'ar' => "العربية",
3850
  }
3851
  return $html;
3852
  }
3853
+ public function get_default_no_rating_text($style_id, $set_id)
3854
+ {
3855
+ $value = in_array($style_id, [ 15, 19, 36, 38, 39, 44 ]) ? 1 : 0;
3856
+ if(self::$widget_styles[$set_id]['_vars']['dots'] === 'true')
3857
+ {
3858
+ $value = 1;
3859
+ }
3860
+ return $value;
3861
+ }
3862
  private $preview_content = null;
3863
  private $template_cache = null;
3864
  public function get_noreg_list_reviews($force_platform = null, $list_all = false, $default_style_id = 4, $default_set_id = 'light-background', $only_preview = false, $default_reviews = false)
3867
  $dbtable = $this->get_noreg_tablename($force_platform);
3868
  $page_details = get_option($this->get_option_name('page-details'));
3869
  $style_id = (int)get_option($this->get_option_name('style-id'), 4);
3870
+ $set_id = get_option($this->get_option_name('scss-set'), 'light-background');
3871
  $content = get_option($this->get_option_name('review-content'));
3872
  $lang = get_option($this->get_option_name('lang'), 'en');
3873
  $dateformat = get_option($this->get_option_name('dateformat'), 'Y-m-d');
3874
+ $no_rating_text = get_option($this->get_option_name('no-rating-text'), $this->get_default_no_rating_text($style_id, $set_id));
3875
  $verified_icon = get_option($this->get_option_name('verified-icon'), 0);
3876
+ $show_reviewers_photo = get_option($this->get_option_name('show-reviewers-photo'), self::$widget_styles[$set_id]['reviewer-photo'] ? 1 : 0);
3877
+ $show_logos = get_option($this->get_option_name('show-logos'), self::$widget_styles[$set_id]['hide-logos'] ? 0 : 1);
3878
+ $show_stars = get_option($this->get_option_name('show-stars'), self::$widget_styles[$set_id]['hide-stars'] ? 0 : 1);
 
3879
  $need_to_parse = true;
3880
  if($only_preview)
3881
  {
3882
  $content = false;
3883
  $style_id = $default_style_id;
3884
  $set_id = $default_set_id;
3885
+ $show_logos = self::$widget_styles[$set_id]['hide-logos'] ? 0 : 1;
3886
+ $show_stars = self::$widget_styles[$set_id]['hide-stars'] ? 0 : 1;
3887
+ $show_reviewers_photo = self::$widget_styles[$set_id]['reviewer-photo'] ? 1 : 0;
3888
  if($this->preview_content && $this->preview_content['id'] == $style_id)
3889
  {
3890
  $content = $this->preview_content['content'];
 
3891
  }
3892
+ $no_rating_text = $this->get_default_no_rating_text($style_id, $set_id);
 
 
 
3893
  }
3894
  $sql_rating_field = 'rating';
3895
  if($this->is_ten_scale_rating_platform())
3925
  {
3926
  case 16:
3927
  case 31:
3928
+ case 38:
3929
  $sql .= " LIMIT 9";
3930
  break;
3931
  default:
3950
  $page_details['avatar_url'] = 'https://cdn.trustindex.io/companies/default_avatar.jpg';
3951
  }
3952
  $rating_num = 5;
3953
+ if(in_array($style_id, [ 16, 31, 38 ]))
3954
  {
3955
  $rating_num = 9;
3956
  }
4301
  switch($color_schema)
4302
  {
4303
  case 'light-contrast':
4304
+ case 'light-contrast-large':
4305
+ case 'light-contrast-large-blue':
4306
  case 'dark-background':
4307
  case 'dark-border':
4308
  return true;
uninstall.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
  require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
3
- $trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9.1", "Widgets for Google Reviews", "Google");
4
  $trustindex_pm_google->uninstall();
5
  ?>
1
  <?php
2
  require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
3
+ $trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.10", "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: 7.9.1
13
  Text Domain: wp-reviews-plugin-for-google
14
  Domain Path: /languages/
15
  Donate link: https://www.trustindex.io/prices/
@@ -25,7 +25,7 @@ $plugin_slug = $tmp[ count($tmp) - 2 ];
25
  if(1)
26
  {
27
  require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
28
- $trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9.1", "Widgets for Google Reviews", "Google");
29
  }
30
  register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
31
  register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
9
  Author URI: https://www.trustindex.io/
10
  Contributors: trustindex
11
  License: GPLv2 or later
12
+ Version: 7.10
13
  Text Domain: wp-reviews-plugin-for-google
14
  Domain Path: /languages/
15
  Donate link: https://www.trustindex.io/prices/
25
  if(1)
26
  {
27
  require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
28
+ $trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.10", "Widgets for Google Reviews", "Google");
29
  }
30
  register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
31
  register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));