Google Reviews Widget - Version 1.9.7

Version Description

  • Update to WordPress 5.8
  • Update settings page and Full Installation Guide
Download this release

Release Info

Developer widgetpack
Plugin Icon 128x128 Google Reviews Widget
Version 1.9.7
Comparing to
See all releases

Code changes from version 1.9.6 to 1.9.7

grw-setting-fig.php CHANGED
@@ -3,64 +3,126 @@
3
  <hr></hr>
4
 
5
  <h3 id="place_id"><u>I. Google Place ID</u></h3>
6
- <p><b>First of all, you need to find Google Place ID:</b> this is the identification of your Google Place (business). It should be like that: <b>ChIJ...</b>, for instance: ChIJ3TH9CwFZwokRIvNO1SP0WLg. If you know it, go to <a href="#fig_api_key">How to create Google API key</a></p>
7
- <p><b>Please keep in mind:</b> your Google Place must have a physical address, because Google Place API, which is used in this plugin, works only with a phisical Google places, it's not possible to connect area or virtual place. Unfortunately, it's a limitation of Google, not specifically the plugin.</p>
 
8
  <p>The standard way to find your Google Places ID is to go to <a href="https://developers.google.com/places/place-id" target="_blank">https://developers.google.com/places/place-id</a> and search for your company name. But sometimes it just doesn’t work.</p>
9
 
10
- <h4>How To Find Any Google Place ID…</h4>
11
- <p>
12
- <b>1.</b> Search for your business on Google.
13
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_1.png'; ?>">
14
- </p>
15
- <p>
16
- <b>2.</b> Inspect the “<b>Write a Review</b>” button. To do this in Firefox, right-click and choose “<b>Inspect Element</b>“. In Chrome, right-click and choose “<b>Inspect</b>“. (Most browsers follow a similar process.)
17
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_2.png'; ?>">
18
- </p>
19
- <p>
20
- <b>3.</b> Find “<b>data-pid</b>” as shown above. (This part is a little tricky, but just look inside the <b>&lt;a&gt;</b> tag until you find <b>data-pid=</b>).
21
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_3.png'; ?>">
22
- </p>
23
- <p>
24
- <b>4.</b> Copy the characters within the quotes (as shown above). You now have your google Places ID. Paste this somewhere you can easily find it.
25
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  <hr></hr>
28
 
29
  <h3 id="fig_api_key"><u>II. Google Places API key</u></h3>
30
- <p>
31
- <b>1.</b> Go to your <a href="https://console.developers.google.com/apis/dashboard?pli=1" target="_blank">Google Console</a> dashboard. If you new user agree Google terms:
32
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_1.png'; ?>">
33
- </p>
34
- <p>
35
- <b>2.</b> Select your existing project or create new:
36
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_2.png'; ?>">
37
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_2_1.png'; ?>">
38
- </p>
39
- <p>
40
- <b>3.</b> Wait for creation and then click '<b>ENABLE APIS AND SERVICES</b>':
41
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_3.png'; ?>">
42
- </p>
43
- <p>
44
- <b>4.</b> Type '<b>Places API</b>' in the search area, select the first result '<b>Places API</b>' and click '<b>ENABLE</b>' button:
45
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_4.png'; ?>">
46
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_4_1.png'; ?>">
47
- </p>
48
- <p>
49
- <b>5.</b> After enable the Places API, click '<b>Navigation menu</b>', select '<b>APIs & Services</b>' and '<b>Credentials</b>':
50
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_5.png'; ?>">
51
- </p>
52
- <p>
53
- <b>6.</b> On Credentials page click '<b>+ CREATE CREDENTIALS</b>' and select '<b>API key</b>':
54
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_6.png'; ?>">
55
- </p>
56
- <p>
57
- <b>7.</b> After creation of API key you need to copy & paste it to the plugin's settings (please do not restrict the key, the plugin can't work with a restricted API key, it's a limitation of Google):
58
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_7.png'; ?>">
59
- </p>
60
- <p>
61
- <b>8.</b> Now, you need to enable Google Billing. It's mandatory step to use the API key. Don’t worry, <a href="https://developers.google.com/maps/billing-credits" target="_blank">Google is currently giving $200 free credit a month</a> and it should be enough to use the plugin for connecting several Google places without additional fees except this free $200 credits. Go to <a href="https://console.cloud.google.com/project/_/billing/enable" target="_blank">https://console.cloud.google.com/project/_/billing/enable</a>, select your recent created project and click '<b>CREATE BILLING ACCOUNT</b>':
62
- <img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_8.png'; ?>">
63
- </p>
64
- <p>
65
- <b>9.</b> Agree Google terms, fill your contact information and start using your Google API key with the plugin.
66
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  <hr></hr>
4
 
5
  <h3 id="place_id"><u>I. Google Place ID</u></h3>
6
+
7
+ <p><b>First of all, you need to find Google Place ID:</b> this is the identification of your Google Place (business). It should be like that: <b>ChIJ..</b>, for instance: ChIJ3TH9CwFZwokRIvNO1SP0WLg. If you know it, go to <a href="#fig_api_key">How to create Google API key</a></p>
8
+ <p><b>Please keep in mind: your Google Place must have a physical address</b>, because Google Place API, which is used in this plugin, works only with a phisical Google places, it's not possible to connect area or virtual place. Unfortunately, it's a limitation of Google, not specifically the plugin.</p>
9
  <p>The standard way to find your Google Places ID is to go to <a href="https://developers.google.com/places/place-id" target="_blank">https://developers.google.com/places/place-id</a> and search for your company name. But sometimes it just doesn’t work.</p>
10
 
11
+ <h3 class="subheader">How To Find Any Google Place ID…</h3>
12
+
13
+ <div class="rplg-flex-row">
14
+ <div class="rplg-flex-col3">
15
+ <b>1</b> Search for your business on Google.
16
+ </div>
17
+ <div class="rplg-flex-col7">
18
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_1.png'; ?>"></div>
19
+ </div>
20
+ </div>
21
+
22
+ <div class="rplg-flex-row">
23
+ <div class="rplg-flex-col3">
24
+ <b>2</b> Inspect the “<b>Write a Review</b>” button. To do this in Firefox, right-click and choose “<b>Inspect Element</b>“. In Chrome, right-click and choose “<b>Inspect</b>“. (Most browsers follow a similar process.)
25
+ </div>
26
+ <div class="rplg-flex-col7">
27
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_2.png'; ?>"></div>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="rplg-flex-row">
32
+ <div class="rplg-flex-col3">
33
+ <b>3</b> Find “<b>data-pid</b>” as shown above. (This part is a little tricky, but just look inside the <b>&lt;a&gt;</b> tag until you find <b>data-pid=</b>).
34
+ </div>
35
+ <div class="rplg-flex-col7">
36
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_placeid_3.png'; ?>"></div>
37
+ </div>
38
+ </div>
39
+
40
+ <div class="rplg-flex-row">
41
+ <div class="rplg-flex-col3">
42
+ <b>4</b> Copy the characters within the quotes (as shown above). You now have your google Places ID. Paste this somewhere you can easily find it.
43
+ </div>
44
+ </div>
45
 
46
  <hr></hr>
47
 
48
  <h3 id="fig_api_key"><u>II. Google Places API key</u></h3>
49
+
50
+ <div class="rplg-flex-row">
51
+ <div class="rplg-flex-col">
52
+ <b>1</b> Go to your <a href="https://console.developers.google.com/apis/dashboard?pli=1" target="_blank">Google Console</a> dashboard. If you new user agree Google terms:
53
+ </div>
54
+ <div class="rplg-flex-col">
55
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_1.png'; ?>"></div>
56
+ </div>
57
+ </div>
58
+
59
+ <div class="rplg-flex-row">
60
+ <div class="rplg-flex-col">
61
+ <b>2</b> Select your existing project or create new:
62
+ </div>
63
+ <div class="rplg-flex-col">
64
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_2.png'; ?>"></div>
65
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_2_1.png'; ?>"></div>
66
+ </div>
67
+ </div>
68
+
69
+ <div class="rplg-flex-row">
70
+ <div class="rplg-flex-col">
71
+ <b>3</b> Wait for creation and then click '<b>ENABLE APIS AND SERVICES</b>':
72
+ </div>
73
+ <div class="rplg-flex-col">
74
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_3.png'; ?>"></div>
75
+ </div>
76
+ </div>
77
+
78
+ <div class="rplg-flex-row">
79
+ <div class="rplg-flex-col">
80
+ <b>4</b> Type '<b>Places API</b>' in the search area, select the first result '<b>Places API</b>' and click '<b>ENABLE</b>' button:
81
+ </div>
82
+ <div class="rplg-flex-col">
83
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_4.png'; ?>"></div>
84
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_4_1.png'; ?>"></div>
85
+ </div>
86
+ </div>
87
+
88
+ <div class="rplg-flex-row">
89
+ <div class="rplg-flex-col">
90
+ <b>5</b> After enable the Places API, click '<b>Navigation menu</b>', select '<b>APIs & Services</b>' and '<b>Credentials</b>':
91
+ </div>
92
+ <div class="rplg-flex-col">
93
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_5.png'; ?>"></div>
94
+ </div>
95
+ </div>
96
+
97
+ <div class="rplg-flex-row">
98
+ <div class="rplg-flex-col">
99
+ <b>6</b> On Credentials page click '<b>+ CREATE CREDENTIALS</b>' and select '<b>API key</b>':
100
+ </div>
101
+ <div class="rplg-flex-col">
102
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_6.png'; ?>"></div>
103
+ </div>
104
+ </div>
105
+
106
+ <div class="rplg-flex-row">
107
+ <div class="rplg-flex-col">
108
+ <b>7</b> After creation of API key you need to copy & paste it to the plugin's settings (<b>please do not restrict the key</b>, the plugin can't work with a restricted API key, it's a limitation of Google):
109
+ </div>
110
+ <div class="rplg-flex-col">
111
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_7.png'; ?>"></div>
112
+ </div>
113
+ </div>
114
+
115
+ <div class="rplg-flex-row">
116
+ <div class="rplg-flex-col">
117
+ <b>8</b> Now, you need to enable Google Billing. It's mandatory step to use the API key. Don’t worry, <a href="https://developers.google.com/maps/billing-credits" target="_blank">Google is currently giving $200 free credit a month</a> and it should be enough to use the plugin for connecting several Google places without additional fees except this free $200 credits. Go to <a href="https://console.cloud.google.com/project/_/billing/enable" target="_blank">https://console.cloud.google.com/project/_/billing/enable</a>, select your recent created project and click '<b>CREATE BILLING ACCOUNT</b>':
118
+ </div>
119
+ <div class="rplg-flex-col">
120
+ <div class="box-img"><img src="<?php echo GRW_PLUGIN_URL . '/static/img/google_key_8.png'; ?>"></div>
121
+ </div>
122
+ </div>
123
+
124
+ <div class="rplg-flex-row">
125
+ <div class="rplg-flex-col">
126
+ <b>9</b> Agree Google terms, fill your contact information and start using your Google API key with the plugin.
127
+ </div>
128
+ </div>
grw-setting.php CHANGED
@@ -160,7 +160,7 @@ $grw_google_api_key = get_option('grw_google_api_key');
160
  <div class="rplg-flex-row">
161
  <div class="rplg-flex-col">
162
  <span>Google Reviews plugin is an easy and fast way to integrate Google business reviews right into your WordPress website. This plugin works instantly and keep all Google places and reviews in WordPress database thus it has no depend on external services.</span>
163
- <p><b><u>Please read '<a href="<?php echo admin_url('options-general.php?page=grw&grw_tab=fig'); ?>">Full Installation Guide</a>' to completely understand how it works and set it up</u></b>.</p>
164
  <p>Also you can find most common answers and solutions for most common questions and issues in next tabs.</p>
165
  <div class="rplg-alert rplg-alert-success">
166
  <strong>Try more features in the Business version</strong>: Merge Google, Facebook and Yelp reviews, Beautiful themes (Slider, Grid, Trust Badges), Shortcode support, Rich Snippets, Rating filter, Any sorting, Include/Exclude words filter, Hide/Show any elements, Priority support and many others.
@@ -226,20 +226,10 @@ $grw_google_api_key = get_option('grw_google_api_key');
226
  </div>
227
  <div class="rplg-field">
228
  <div class="rplg-field-label">
229
- <label>Instruction: how to create Google Places API key</label>
230
  </div>
231
  <div class="wp-review-field-option">
232
- <p>Below are small steps that describe how you can create your Google API key.<br>If you have any troubles with this, please see <a href="<?php echo admin_url('options-general.php?page=grw&grw_tab=fig'); ?>">Full Installation Guide</a> where you can find the most detailed information about it.</p>
233
- <p>1. Go to your <a href="https://console.developers.google.com/apis/dashboard?pli=1" target="_blank">Google Console</a></p>
234
- <p>2. Click '<b>Create Project</b>' or '<b>Select Project</b>' button</p>
235
- <p>3. Create new project or select existing</p>
236
- <p>4. On the project page click '<b>ENABLE APIS AND SERVICES</b>'</p>
237
- <p>5. Type '<b>Places API</b>' in the search area</p>
238
- <p>6. Select the first result '<b>Places API</b>' and click '<b>ENABLE</b>' button</p>
239
- <p>7. On the 'Places API' page select '<b>Credential</b>' tab and '<b>Create credential</b>' / '<b>API key</b>' option</p>
240
- <p>8. Copy created API key, paste to this setting and save</p>
241
- <h3>Video instruction</h3>
242
- <iframe src="//www.youtube.com/embed/Kf_bkg7WeC0?rel=0" allowfullscreen=""></iframe>
243
  </div>
244
  </div>
245
  </form>
@@ -288,7 +278,7 @@ $grw_google_api_key = get_option('grw_google_api_key');
288
  </div>
289
 
290
  <div id="fig" class="tab-content" style="display:<?php echo $tab == 'fig' ? 'block' : 'none'?>;">
291
- <h3>Full Installation Guide</h3>
292
  <?php include_once(dirname(__FILE__) . '/grw-setting-fig.php'); ?>
293
  </div>
294
 
@@ -335,7 +325,7 @@ $grw_google_api_key = get_option('grw_google_api_key');
335
  </div>
336
  <div class="wp-review-field-option">
337
  <input type="button" value="Copy Debug Information" name="reset_all" onclick="window.rplg_debug_info.select();document.execCommand('copy');window.rplg_debug_msg.innerHTML='Debug Information copied, please paste it to your email to support';" class="button" />
338
- <textarea id="rplg_debug_info" style="display:block;width:30em;height:100px;margin-top:10px" onclick="window.rplg_debug_info.select();document.execCommand('copy');window.rplg_debug_msg.innerHTML='Debug Information copied, please paste it to your email to support';" readonly><?php rplg_debug(GRW_VERSION, grw_options(), 'widget_grw_widget'); grw_debug(); ?></textarea>
339
  <p id="rplg_debug_msg"></p>
340
  </div>
341
  </div>
160
  <div class="rplg-flex-row">
161
  <div class="rplg-flex-col">
162
  <span>Google Reviews plugin is an easy and fast way to integrate Google business reviews right into your WordPress website. This plugin works instantly and keep all Google places and reviews in WordPress database thus it has no depend on external services.</span>
163
+ <p style="font-size:20px;text-align:center"><b><u>Please read '<a href="<?php echo admin_url('options-general.php?page=grw&grw_tab=fig'); ?>">Full Installation Guide</a>' to completely understand how it works and set up the plugin</u></b>.</p>
164
  <p>Also you can find most common answers and solutions for most common questions and issues in next tabs.</p>
165
  <div class="rplg-alert rplg-alert-success">
166
  <strong>Try more features in the Business version</strong>: Merge Google, Facebook and Yelp reviews, Beautiful themes (Slider, Grid, Trust Badges), Shortcode support, Rich Snippets, Rating filter, Any sorting, Include/Exclude words filter, Hide/Show any elements, Priority support and many others.
226
  </div>
227
  <div class="rplg-field">
228
  <div class="rplg-field-label">
229
+ <label></label>
230
  </div>
231
  <div class="wp-review-field-option">
232
+ <p>If you do not know how to create Google API key, please read: <a href="<?php echo admin_url('options-general.php?page=grw&grw_tab=fig'); ?>">Full Installation Guide</a></p>
 
 
 
 
 
 
 
 
 
 
233
  </div>
234
  </div>
235
  </form>
278
  </div>
279
 
280
  <div id="fig" class="tab-content" style="display:<?php echo $tab == 'fig' ? 'block' : 'none'?>;">
281
+ <h3>How to connect Google reviews</h3>
282
  <?php include_once(dirname(__FILE__) . '/grw-setting-fig.php'); ?>
283
  </div>
284
 
325
  </div>
326
  <div class="wp-review-field-option">
327
  <input type="button" value="Copy Debug Information" name="reset_all" onclick="window.rplg_debug_info.select();document.execCommand('copy');window.rplg_debug_msg.innerHTML='Debug Information copied, please paste it to your email to support';" class="button" />
328
+ <textarea id="rplg_debug_info" style="display:block;width:30em;height:200px;margin-top:10px" onclick="window.rplg_debug_info.select();document.execCommand('copy');window.rplg_debug_msg.innerHTML='Debug Information copied, please paste it to your email to support';" readonly><?php rplg_debug(GRW_VERSION, grw_options(), 'widget_grw_widget'); grw_debug(); ?></textarea>
329
  <p id="rplg_debug_msg"></p>
330
  </div>
331
  </div>
grw.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Widget for Google Reviews
4
  Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
5
  Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
6
  Author: RichPlugins <support@richplugins.com>
7
- Version: 1.9.6
8
  Author URI: https://richplugins.com
9
  Text Domain: widget-google-reviews
10
  Domain Path: /languages
@@ -15,7 +15,7 @@ require(ABSPATH . 'wp-includes/version.php');
15
  include_once(dirname(__FILE__) . '/api/urlopen.php');
16
  include_once(dirname(__FILE__) . '/helper/debug.php');
17
 
18
- define('GRW_VERSION', '1.9.6');
19
  define('GRW_GOOGLE_PLACE_API', 'https://maps.googleapis.com/maps/api/place/');
20
  define('GRW_GOOGLE_AVATAR', 'https://lh3.googleusercontent.com/-8hepWJzFXpE/AAAAAAAAAAI/AAAAAAAAAAA/I80WzYfIxCQ/s128-c/114307615494839964028.jpg');
21
  define('GRW_PLUGIN_URL', plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
@@ -77,7 +77,7 @@ function grw_plugin_row_meta($input, $file) {
77
  }
78
 
79
  $links = array(
80
- '<a href="' . esc_url('https://richplugins.com/documentation') . '" target="_blank">' . grw_i('View Documentation') . '</a>',
81
  '<a href="' . esc_url('https://richplugins.com/business-reviews-bundle-wordpress-plugin') . '" target="_blank">' . grw_i('Upgrade to Business') . ' &raquo;</a>',
82
  );
83
  $input = array_merge($input, $links);
@@ -551,7 +551,7 @@ function grw_admin_notice() {
551
  $url_later = esc_url(add_query_arg('grw_rev_notice', 'later', $url));
552
  $url_never = esc_url(add_query_arg('grw_rev_notice', 'never', $url));
553
 
554
- $notice = '<p style="font-weight:normal;color:#156315">Hey, I noticed you have been using my <b>Google Reviews Widget</b> plugin for a while now – that’s awesome!<br>Could you please do me a BIG favor and give it a 5-star rating for our company Trust.Reviews LTD?<br><br>--<br>Thanks!<br>Daniel K.<br></p><ul style="font-weight:bold;"><li><a href="https://search.google.com/local/writereview?placeid=ChIJ_8ji0569cEgRkhHius5kmcs" target="_blank">OK, you deserve it</a></li><li><a href="' . $url_later . '">Not now, maybe later</a></li><li><a href="' . $url_never . '">Do not remind me again</a></li></ul><p>By the way, if you have been thinking about upgrading to the <a href="https://richplugins.com/business-reviews-bundle-wordpress-plugin" target="_blank">Business</a> version, here is a 25% off onboard coupon -> <b>business25off</b></p>';
555
 
556
  printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $notice);
557
  } else {
4
  Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
5
  Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
6
  Author: RichPlugins <support@richplugins.com>
7
+ Version: 1.9.7
8
  Author URI: https://richplugins.com
9
  Text Domain: widget-google-reviews
10
  Domain Path: /languages
15
  include_once(dirname(__FILE__) . '/api/urlopen.php');
16
  include_once(dirname(__FILE__) . '/helper/debug.php');
17
 
18
+ define('GRW_VERSION', '1.9.7');
19
  define('GRW_GOOGLE_PLACE_API', 'https://maps.googleapis.com/maps/api/place/');
20
  define('GRW_GOOGLE_AVATAR', 'https://lh3.googleusercontent.com/-8hepWJzFXpE/AAAAAAAAAAI/AAAAAAAAAAA/I80WzYfIxCQ/s128-c/114307615494839964028.jpg');
21
  define('GRW_PLUGIN_URL', plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
77
  }
78
 
79
  $links = array(
80
+ '<a href="' . admin_url('options-general.php?page=grw&grw_tab=fig') . '" target="_blank">' . grw_i('View Documentation') . '</a>',
81
  '<a href="' . esc_url('https://richplugins.com/business-reviews-bundle-wordpress-plugin') . '" target="_blank">' . grw_i('Upgrade to Business') . ' &raquo;</a>',
82
  );
83
  $input = array_merge($input, $links);
551
  $url_later = esc_url(add_query_arg('grw_rev_notice', 'later', $url));
552
  $url_never = esc_url(add_query_arg('grw_rev_notice', 'never', $url));
553
 
554
+ $notice = '<p style="font-weight:normal;color:#156315">Hey, I noticed you have been using my <b>Google Reviews Widget</b> plugin for a while now – that’s awesome!<br>Could you please do me a BIG favor and give it a 5-star rating on WordPress?<br><br>--<br>Thanks!<br>Daniel K.<br></p><ul style="font-weight:bold;"><li><a href="https://wordpress.org/support/plugin/widget-google-reviews/reviews/#new-post" target="_blank">OK, you deserve it</a></li><li><a href="' . $url_later . '">Not now, maybe later</a></li><li><a href="' . $url_never . '">Do not remind me again</a></li></ul><p>By the way, if you have been thinking about upgrading to the <a href="https://richplugins.com/business-reviews-bundle-wordpress-plugin" target="_blank">Business</a> version, here is a 25% off onboard coupon -> <b>business25off</b></p>';
555
 
556
  printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $notice);
557
  } else {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Widget for Google Reviews ===
2
  Contributors: richplugins
3
  Donate link: https://richplugins.com/business-reviews-bundle-wordpress-plugin
4
- Tags: Google, reviews, widget, testimonials, Google Places reviews
5
  Requires at least: 2.8
6
- Tested up to: 5.7
7
- Stable tag: 1.9.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -45,6 +45,7 @@ This plugin display Google Business Reviews on your websites in sidebar widget.
45
 
46
  [Upgrade to Business](https://richplugins.com/business-reviews-bundle-wordpress-plugin)
47
 
 
48
  * Displays all reviews through Google My Business (GMB) API
49
  * Merge reviews between each other from different platforms (Google, Facebook, Yelp) and places
50
  * Google Rich Snippets (schema.org)
@@ -79,6 +80,10 @@ Why limit your reviews to just Google Reviews? Check out our other free reviews
79
 
80
  == Changelog ==
81
 
 
 
 
 
82
  = 1.9.6 =
83
  * Little bugfix
84
  * Removed external debug information
1
  === Widget for Google Reviews ===
2
  Contributors: richplugins
3
  Donate link: https://richplugins.com/business-reviews-bundle-wordpress-plugin
4
+ Tags: google, google reviews, reviews, rating, widget, google business, testimonials, google places reviews
5
  Requires at least: 2.8
6
+ Tested up to: 5.8
7
+ Stable tag: 1.9.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
45
 
46
  [Upgrade to Business](https://richplugins.com/business-reviews-bundle-wordpress-plugin)
47
 
48
+ * New awesome flash theme!
49
  * Displays all reviews through Google My Business (GMB) API
50
  * Merge reviews between each other from different platforms (Google, Facebook, Yelp) and places
51
  * Google Rich Snippets (schema.org)
80
 
81
  == Changelog ==
82
 
83
+ = 1.9.7 =
84
+ * Update to WordPress 5.8
85
+ * Update settings page and Full Installation Guide
86
+
87
  = 1.9.6 =
88
  * Little bugfix
89
  * Removed external debug information
static/css/rplg-setting.css CHANGED
@@ -109,11 +109,14 @@
109
  width: 50%;
110
  }
111
  .rplg-flex-col3 {
112
- width: 33.3%;
113
  }
114
  .rplg-flex-col6 {
115
  width: 66.7%;
116
  }
 
 
 
117
  }
118
 
119
  .rplg-support-question {
@@ -197,19 +200,30 @@
197
  }
198
 
199
  .rplg-setting .wp-review-hide {
200
- font-size: 13px;
 
201
  font-weight: 600;
202
  line-height: 26px;
203
  text-decoration: none;
204
  text-transform: uppercase;
 
 
 
 
 
 
 
 
205
  }
206
 
207
  #support h3 {
208
  line-height: 24px;
209
  }
210
 
211
- #fig p {
212
- font-size: 14px;
 
 
213
  }
214
 
215
  #fig hr {
@@ -217,15 +231,49 @@
217
  border-bottom: 2px solid #eee;
218
  }
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  #fig img {
221
- display: block;
222
- height: auto;
223
- max-width: 100%;
224
- margin: 10px auto 20px;
225
  }
226
 
227
- @media (min-width: 700px) {
228
- #fig img {
229
- max-width: 60%;
230
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  }
109
  width: 50%;
110
  }
111
  .rplg-flex-col3 {
112
+ width: 30%;
113
  }
114
  .rplg-flex-col6 {
115
  width: 66.7%;
116
  }
117
+ .rplg-flex-col7 {
118
+ width: 70%;
119
+ }
120
  }
121
 
122
  .rplg-support-question {
200
  }
201
 
202
  .rplg-setting .wp-review-hide {
203
+ color: #fff;
204
+ font-size: 12px;
205
  font-weight: 600;
206
  line-height: 26px;
207
  text-decoration: none;
208
  text-transform: uppercase;
209
+ padding: 2px 8px;
210
+ border-radius: 3px;
211
+ border-color: #0062cc;
212
+ background-color: #427fbf;
213
+ }
214
+
215
+ .rplg-setting .wp-review-hide:hover {
216
+ background-color: #1d62ab;
217
  }
218
 
219
  #support h3 {
220
  line-height: 24px;
221
  }
222
 
223
+ #fig p,
224
+ #fig div {
225
+ font-size: 15px;
226
+ line-height: 24px;
227
  }
228
 
229
  #fig hr {
231
  border-bottom: 2px solid #eee;
232
  }
233
 
234
+ #fig .rplg-flex-row {
235
+ align-items: center!important;
236
+ text-align: left;
237
+ margin-bottom: 40px;
238
+ }
239
+
240
+ #fig .rplg-flex-col,
241
+ #fig .rplg-flex-col3 {
242
+ padding: 0 20px;
243
+ line-height: 24px;
244
+ }
245
+
246
+ #fig .rplg-flex-col:first-child,
247
+ #fig .rplg-flex-col3:first-child {
248
+ padding-right: 10px;
249
+ }
250
+
251
+ .rplg-support-question {
252
+ padding-bottom: 10px;
253
+ }
254
+
255
  #fig img {
256
+ width: 100%;
 
 
 
257
  }
258
 
259
+ #fig .subheader {
260
+ color: #4b76b7;
261
+ margin: 40px 0 20px;
262
+ text-decoration: underline;
263
+ }
264
+
265
+ #fig .rplg-flex-col > b:first-child,
266
+ #fig .rplg-flex-col3 > b:first-child {
267
+ padding: 2px 8px;
268
+ margin-right: 4px;
269
+ border-radius: 50%;
270
+ color: #fff;
271
+ background: #36ad55;
272
+ box-shadow: 0 2px 5px 0 rgb(0 0 0 / 26%);
273
+ }
274
+
275
+ .box-img {
276
+ padding: 15px;
277
+ margin: 0 0 10px;
278
+ box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
279
  }
static/js/wpac-time.js CHANGED
@@ -45,4 +45,5 @@ Math.round(a)+" \u043c\u0438\u043d\u0443\u0442\u0438"},hour:"\u043f\u0440\u0435\
45
  30)+" \u043c\u0435\u0441\u0435\u0446\u0430"},year:"\u043f\u0440\u0435\u0434\u0438 1 \u0433\u043e\u0434\u0438\u043d\u0430",years:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.round(a)+" \u0433\u043e\u0434\u0438\u043d\u0438"}},sk:{second:"pr\u00e1ve teraz",minute:"pred min\u00fatov",minutes:function(a){return"pred "+Math.round(a)+" min\u00fatami"},hour:"pred hodinou",hours:function(a){return"pred "+Math.round(a)+" hodinami"},day:"v\u010dera",days:function(a){return"pred "+Math.round(a)+" d\u0148ami"},
46
  month:"pred mesiacom",months:function(a){return"pred "+Math.round(a/30)+" mesiacmi"},year:"pred rokom",years:function(a){return"pred "+Math.round(a)+" rokmi"}},lo:{second:"\u0ea7\u0eb1\u0ec8\u0e87\u0e81\u0eb5\u0ec9\u0e99\u0eb5\u0ec9",minute:"\u0edc\u0eb6\u0ec8\u0e87\u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99",minutes:function(a){return Math.round(a)+" \u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99"},hour:"\u0edc\u0eb6\u0ec8\u0e87\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99",
47
  hours:function(a){return Math.round(a)+" \u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99"},day:"\u0edc\u0eb6\u0ec8\u0e87\u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99",days:function(a){return Math.round(a)+" \u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99"},month:"\u0edc\u0eb6\u0ec8\u0e87\u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99",months:function(a){return Math.round(a/30)+" \u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99"},year:"\u0edc\u0eb6\u0ec8\u0e87\u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99",
48
- years:function(a){return Math.round(a)+" \u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99"}},sl:{second:"pravkar",minute:"pred eno minuto",minutes:function(a){return"pred "+Math.round(a)+" minutami"},hour:"pred eno uro",hours:function(a){return"pred "+Math.round(a)+" urami"},day:"pred enim dnem",days:function(a){return"pred "+Math.round(a)+" dnevi"},month:"pred enim mesecem",months:function(a){return"pred "+Math.round(a/30)+" meseci"},year:"pred enim letom",years:function(a){return"pred "+Math.round(a)+" leti"}}};
 
45
  30)+" \u043c\u0435\u0441\u0435\u0446\u0430"},year:"\u043f\u0440\u0435\u0434\u0438 1 \u0433\u043e\u0434\u0438\u043d\u0430",years:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.round(a)+" \u0433\u043e\u0434\u0438\u043d\u0438"}},sk:{second:"pr\u00e1ve teraz",minute:"pred min\u00fatov",minutes:function(a){return"pred "+Math.round(a)+" min\u00fatami"},hour:"pred hodinou",hours:function(a){return"pred "+Math.round(a)+" hodinami"},day:"v\u010dera",days:function(a){return"pred "+Math.round(a)+" d\u0148ami"},
46
  month:"pred mesiacom",months:function(a){return"pred "+Math.round(a/30)+" mesiacmi"},year:"pred rokom",years:function(a){return"pred "+Math.round(a)+" rokmi"}},lo:{second:"\u0ea7\u0eb1\u0ec8\u0e87\u0e81\u0eb5\u0ec9\u0e99\u0eb5\u0ec9",minute:"\u0edc\u0eb6\u0ec8\u0e87\u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99",minutes:function(a){return Math.round(a)+" \u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99"},hour:"\u0edc\u0eb6\u0ec8\u0e87\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99",
47
  hours:function(a){return Math.round(a)+" \u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99"},day:"\u0edc\u0eb6\u0ec8\u0e87\u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99",days:function(a){return Math.round(a)+" \u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99"},month:"\u0edc\u0eb6\u0ec8\u0e87\u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99",months:function(a){return Math.round(a/30)+" \u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99"},year:"\u0edc\u0eb6\u0ec8\u0e87\u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99",
48
+ years:function(a){return Math.round(a)+" \u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99"}},sl:{second:"pravkar",minute:"pred eno minuto",minutes:function(a){return"pred "+Math.round(a)+" minutami"},hour:"pred eno uro",hours:function(a){return"pred "+Math.round(a)+" urami"},day:"pred enim dnem",days:function(a){return"pred "+Math.round(a)+" dnevi"},month:"pred enim mesecem",months:function(a){return"pred "+Math.round(a/30)+" meseci"},year:"pred enim letom",years:function(a){return"pred "+Math.round(a)+" leti"}},
49
+ et:{second:"just n\u00fc\u00fcd",minute:"minut tagasi",minutes:function(a){return Math.round(a)+" minutit tagasi"},hour:"tund tagasi",hours:function(a){return Math.round(a)+" tundi tagasi"},day:"p\u00e4ev tagasi",days:function(a){return Math.round(a)+" p\u00e4eva tagasi"},month:"kuu aega tagasi",months:function(a){return Math.round(a/30)+" kuud tagasi"},year:"aasta tagasi",years:function(a){return Math.round(a)+" aastat tagasi"}}};