Google Reviews Widget - Version 1.9

Version Description

  • Improve: Added Full Installation Guide
  • Improve: Added Slovenian language
  • Improve: Increased refresh reviews timeout
  • Bugfix: Google default avatar quality is 128px
Download this release

Release Info

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

Code changes from version 1.8.9 to 1.9

grw-finder.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="form-group">
2
- <h4><?php echo grw_i('Enter Place ID of your Google location. If you don\'t know this, you can simply find it by <a href="https://www.launch2success.com/guide/find-any-google-id/" target="_blank">this instruction</a>.'); ?></h4>
3
  <input type="text" class="grw-place-id" value="" placeholder="Place ID" />
4
  <small class="grw-error"></small>
5
  </div>
1
  <div class="form-group">
2
+ <h4><?php echo grw_i('Enter Place ID of your Google location. If you don\'t know this, you can simply find it by <a href="' . admin_url('options-general.php?page=grw&grw_tab=fig') . '" target="_blank">this instruction</a>.'); ?></h4>
3
  <input type="text" class="grw-place-id" value="" placeholder="Place ID" />
4
  <small class="grw-error"></small>
5
  </div>
grw-reviews.php CHANGED
@@ -48,7 +48,7 @@ if ($centered) {
48
  }
49
 
50
  if ($refresh_reviews) {
51
- $schedule_step = 60 * 60 * 55;
52
  $args = array($place_id);
53
  if (strlen($reviews_lang) > 0) {
54
  array_push($args, $reviews_lang);
48
  }
49
 
50
  if ($refresh_reviews) {
51
+ $schedule_step = 60 * 60 * 24;
52
  $args = array($place_id);
53
  if (strlen($reviews_lang) > 0) {
54
  array_push($args, $reviews_lang);
grw-setting-fig.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p>To correctly use this plugin you need to find and create two things - <b><u>Google Place ID</u></b> and <b><u>Google Places API key</u></b> respectively. These are two different values, please do not confuse them.</p>
2
+
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>
grw-setting-support.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="rplg-flex-row">
2
+ <div class="rplg-flex-col">
3
+ <div class="rplg-support-question">
4
+ <h3>I can't connect my Google Place.</h3>
5
+ <p>Please check that you correctly found the Place ID of your Google business. It should look like <b>ChIJ</b>3TH9CwFZwokRI... This instruction helps to find any Place ID regardless of whether it has a physical address or it is an area: <a href="<?php echo admin_url('options-general.php?page=grw&grw_tab=fig'); ?>" target="_blank">how to find Place ID of any Google business</a></p>
6
+ </div>
7
+ </div>
8
+ <div class="rplg-flex-col">
9
+ <div class="rplg-support-question">
10
+ <h3>I have some error messages about the Google API key.</h3>
11
+ <p>Please make sure that your correctly created the Google Places API key with <b>Places API library and without any restrictions (IP or Referrer)</b>. It should look like <b>AIzaS</b>yB3k4oWDJPF... On the <b>Settings</b> tab there is a detailed instruction and video tutorial how to create the free and correct Google Places API key.</p>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ <div class="rplg-flex-row">
16
+ <div class="rplg-flex-col">
17
+ <div class="rplg-support-question">
18
+ <h3>Why I see only 5 Google reviews?</h3>
19
+ <p>The plugin uses the Google Places API to get your reviews. The API only returns the 5 most helpful reviews. When Google changes the 5 most helpful the plugin will automatically add the new one to your database. Thus slowly building up a database of reviews. It's a limitation of Google, not specifically the plugin.</p>
20
+ <p>The plugin can only download what Google returns in their Places API. It is usually the 5 Most Helpful (not newest) reviews. You can check what the API returns by entering your Place ID and Goolge API key in this url:</p>
21
+ <code>https://maps.googleapis.com/maps/api/place/details/json?placeid=YOUR_PLACE_ID&key=YOUR_GOOGLE_API_KEY</code>
22
+ <p>However, if you got new reviews for your Google place, but the plugin does not show these, it means that Google didn't include it to 5 most helpful and the plugin just can't get this. It's a limitation of Google, not the plugin.</p>
23
+ <p>Also, please check that the 'Refresh' option is enable in the widget. It will call the Google API once in three days (to avoid a Google Billing and keeps the API key is free) to check the new most helpful reviews.</p>
24
+ </div>
25
+ </div>
26
+ <div class="rplg-flex-col">
27
+ <div class="rplg-support-question">
28
+ <h3>Is the plugin compatible with the latest version of PHP? I saw warnings about the compatibility with PHP 7 in the checker plugin.</h3>
29
+ <p>Yes, the plugin is absolutely compatible with PHP 7 and by the way, we are using PHP 7 on the demo site.</p>
30
+ <p>The warnings come from the code which is needed for compatible with old versions of PHP (&lt; 5.0) which is sometimes found in some users and without this code, the plugin will not work.</p>
31
+ <p>The problem is that the plugin which you’re using to test compatibility with PHP 7 cannot understand that this code is not used under PHP 7 or greater. The compatibility plugin just search some keywords which deprecated in the latest version PHP and show warnings about it (without understanding that this is not used).</p>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div class="rplg-flex-row">
36
+ <div class="rplg-flex-col">
37
+ <div class="rplg-support-question">
38
+ <h3>If you still need support</h3>
39
+ <p>You can contact us directly by email <a href="mailto:support@richplugins.com">support@richplugins.com</a> and would be great and save us a lot of time if each request to the support will contain the following data:</p>
40
+ <ul>
41
+ <li><b>1.</b> Clear and understandable description of the issue;</li>
42
+ <li><b>2.</b> Direct links to your reviews on: Google map;</li>
43
+ <li><b>3.</b> Link to the page of your site where the plugin installed;</li>
44
+ <li><b>4.</b> Better if you attach a screenshot(s) (or screencast) how you determine the issue;</li>
45
+ <li><b>5. The most important:</b> please always copy & paste the DEBUG INFORMATION from the <b>Advance</b> tab.</li>
46
+ </ul>
47
+ </div>
48
+ </div>
49
+ <div class="rplg-flex-col">
50
+ <div class="rplg-support-question">
51
+ </div>
52
+ </div>
53
+ </div>
grw-setting.php CHANGED
@@ -110,18 +110,6 @@ if (isset($_POST['grw_active']) && isset($_GET['grw_active'])) {
110
 
111
  if (isset($_POST['grw_setting'])) {
112
  update_option('grw_google_api_key', trim($_POST['grw_google_api_key']));
113
-
114
- /*$grw_google_api_key = $_POST['grw_google_api_key'];
115
- if (strlen($grw_google_api_key) > 0) {
116
- $test_url = "https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJ3TH9CwFZwokRIvNO1SP0WLg&key=" . $grw_google_api_key;
117
- $test_response = rplg_urlopen($test_url);
118
- $test_response_data = $test_response['data'];
119
- $test_response_json = rplg_json_decode($test_response_data);
120
- if (isset($test_response_json->error_message) && strlen($test_response_json->error_message) > 0) {
121
- $grw_google_api_key_error = $test_response_json->error_message;
122
- }
123
- update_option('grw_google_api_key', $grw_google_api_key);
124
- }*/
125
  }
126
 
127
  if (isset($_POST['create_db'])) {
@@ -162,6 +150,7 @@ $grw_google_api_key = get_option('grw_google_api_key');
162
  <a href="#setting" class="nav-tab<?php if ($tab == 'setting') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Settings'); ?></a>
163
  <a href="#shortcode" class="nav-tab<?php if ($tab == 'shortcode') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Shortcode'); ?></a>
164
  <a href="#reviews" class="nav-tab<?php if ($tab == 'reviews') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Reviews'); ?></a>
 
165
  <a href="#support" class="nav-tab<?php if ($tab == 'support') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Support'); ?></a>
166
  <a href="#advance" class="nav-tab<?php if ($tab == 'advance') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Advance'); ?></a>
167
  </div>
@@ -239,6 +228,7 @@ $grw_google_api_key = get_option('grw_google_api_key');
239
  <label>Instruction: how to create Google Places API key</label>
240
  </div>
241
  <div class="wp-review-field-option">
 
242
  <p>1. Go to your <a href="https://console.developers.google.com/apis/dashboard?pli=1" target="_blank">Google Console</a></p>
243
  <p>2. Click '<b>Create Project</b>' or '<b>Select Project</b>' button</p>
244
  <p>3. Create new project or select existing</p>
@@ -296,61 +286,14 @@ $grw_google_api_key = get_option('grw_google_api_key');
296
  </div>
297
  </div>
298
 
 
 
 
 
 
299
  <div id="support" class="tab-content" style="display:<?php echo $tab == 'support' ? 'block' : 'none'?>;">
300
  <h3>Most Common Questions</h3>
301
- <div class="rplg-flex-row">
302
- <div class="rplg-flex-col">
303
- <div class="rplg-support-question">
304
- <h3>I can't connect my Google Place.</h3>
305
- <p>Please check that you correctly found the Place ID of your Google business. It should look like <b>ChIJ</b>3TH9CwFZwokRI... This instruction helps to find any Place ID regardless of whether it has a physical address or it is an area: <a href="https://www.launch2success.com/guide/find-any-google-id/" target="_blank">how to find Place ID of any Google business</a></p>
306
- </div>
307
- </div>
308
- <div class="rplg-flex-col">
309
- <div class="rplg-support-question">
310
- <h3>I have some error messages about the Google API key.</h3>
311
- <p>Please make sure that your correctly created the Google Places API key with <b>Places API library and without any restrictions (IP or Referrer)</b>. It should look like <b>AIzaS</b>yB3k4oWDJPF... On the <b>Settings</b> tab there is a detailed instruction and video tutorial how to create the free and correct Google Places API key.</p>
312
- </div>
313
- </div>
314
- </div>
315
- <div class="rplg-flex-row">
316
- <div class="rplg-flex-col">
317
- <div class="rplg-support-question">
318
- <h3>Why I see only 5 Google reviews?</h3>
319
- <p>The plugin uses the Google Places API to get your reviews. The API only returns the 5 most helpful reviews. When Google changes the 5 most helpful the plugin will automatically add the new one to your database. Thus slowly building up a database of reviews. It's a limitation of Google, not specifically the plugin.</p>
320
- <p>The plugin can only download what Google returns in their Places API. It is usually the 5 Most Helpful (not newest) reviews. You can check what the API returns by entering your Place ID and Goolge API key in this url:</p>
321
- <code>https://maps.googleapis.com/maps/api/place/details/json?placeid=YOUR_PLACE_ID&key=YOUR_GOOGLE_API_KEY</code>
322
- <p>However, if you got new reviews for your Google place, but the plugin does not show these, it means that Google didn't include it to 5 most helpful and the plugin just can't get this. It's a limitation of Google, not the plugin.</p>
323
- <p>Also, please check that the 'Refresh' option is enable in the widget. It will call the Google API once in three days (to avoid a Google Billing and keeps the API key is free) to check the new most helpful reviews.</p>
324
- </div>
325
- </div>
326
- <div class="rplg-flex-col">
327
- <div class="rplg-support-question">
328
- <h3>Is the plugin compatible with the latest version of PHP? I saw warnings about the compatibility with PHP 7 in the checker plugin.</h3>
329
- <p>Yes, the plugin is absolutely compatible with PHP 7 and by the way, we are using PHP 7 on the demo site.</p>
330
- <p>The warnings come from the code which is needed for compatible with old versions of PHP (&lt; 5.0) which is sometimes found in some users and without this code, the plugin will not work.</p>
331
- <p>The problem is that the plugin which you’re using to test compatibility with PHP 7 cannot understand that this code is not used under PHP 7 or greater. The compatibility plugin just search some keywords which deprecated in the latest version PHP and show warnings about it (without understanding that this is not used).</p>
332
- </div>
333
- </div>
334
- </div>
335
- <div class="rplg-flex-row">
336
- <div class="rplg-flex-col">
337
- <div class="rplg-support-question">
338
- <h3>If you need support</h3>
339
- <p>You can contact us directly by email <a href="mailto:support@richplugins.com">support@richplugins.com</a> and would be great and save us a lot of time if each request to the support will contain the following data:</p>
340
- <ul>
341
- <li><b>1.</b> Clear and understandable description of the issue;</li>
342
- <li><b>2.</b> Direct links to your reviews on: Google map;</li>
343
- <li><b>3.</b> Link to the page of your site where the plugin installed;</li>
344
- <li><b>4.</b> Better if you attach a screenshot(s) (or screencast) how you determine the issue;</li>
345
- <li><b>5. The most important:</b> please always copy & paste the DEBUG INFORMATION from the <b>Advance</b> tab.</li>
346
- </ul>
347
- </div>
348
- </div>
349
- <div class="rplg-flex-col">
350
- <div class="rplg-support-question">
351
- </div>
352
- </div>
353
- </div>
354
  </div>
355
 
356
  <div id="advance" class="tab-content" style="display:<?php echo $tab == 'advance' ? 'block' : 'none'?>;">
110
 
111
  if (isset($_POST['grw_setting'])) {
112
  update_option('grw_google_api_key', trim($_POST['grw_google_api_key']));
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
 
115
  if (isset($_POST['create_db'])) {
150
  <a href="#setting" class="nav-tab<?php if ($tab == 'setting') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Settings'); ?></a>
151
  <a href="#shortcode" class="nav-tab<?php if ($tab == 'shortcode') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Shortcode'); ?></a>
152
  <a href="#reviews" class="nav-tab<?php if ($tab == 'reviews') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Reviews'); ?></a>
153
+ <a href="#fig" class="nav-tab<?php if ($tab == 'fig') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Full Installation Guide'); ?></a>
154
  <a href="#support" class="nav-tab<?php if ($tab == 'support') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Support'); ?></a>
155
  <a href="#advance" class="nav-tab<?php if ($tab == 'advance') { ?> nav-tab-active<?php } ?>"><?php echo grw_i('Advance'); ?></a>
156
  </div>
228
  <label>Instruction: how to create Google Places API key</label>
229
  </div>
230
  <div class="wp-review-field-option">
231
+ <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>
232
  <p>1. Go to your <a href="https://console.developers.google.com/apis/dashboard?pli=1" target="_blank">Google Console</a></p>
233
  <p>2. Click '<b>Create Project</b>' or '<b>Select Project</b>' button</p>
234
  <p>3. Create new project or select existing</p>
286
  </div>
287
  </div>
288
 
289
+ <div id="fig" class="tab-content" style="display:<?php echo $tab == 'fig' ? 'block' : 'none'?>;">
290
+ <h3>Full Installation Guide</h3>
291
+ <?php include_once(dirname(__FILE__) . '/grw-setting-fig.php'); ?>
292
+ </div>
293
+
294
  <div id="support" class="tab-content" style="display:<?php echo $tab == 'support' ? 'block' : 'none'?>;">
295
  <h3>Most Common Questions</h3>
296
+ <?php include_once(dirname(__FILE__) . '/grw-setting-support.php'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
  </div>
298
 
299
  <div id="advance" class="tab-content" style="display:<?php echo $tab == 'advance' ? 'block' : 'none'?>;">
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.8.9
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.8.9');
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__)));
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
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');
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__)));
languages/grw-nl_NL.mo CHANGED
Binary file
languages/grw-sl_SI.mo ADDED
Binary file
languages/grw-sl_SI.po ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Language: sl_SI\n"
4
+ "MIME-Version: 1.0\n"
5
+ "Content-Type: text/plain; charset=UTF-8\n"
6
+ "Content-Transfer-Encoding: 8bit\n"
7
+ "X-Generator: Poedit 2.2\n"
8
+ "Project-Id-Version: \n"
9
+ "POT-Creation-Date: \n"
10
+ "PO-Revision-Date: \n"
11
+ "Last-Translator: \n"
12
+ "Language-Team: \n"
13
+
14
+ msgid "Google Rating"
15
+ msgstr "Google ocena"
16
+
17
+ msgid "See All Reviews"
18
+ msgstr "Oglejte si vsa mnenja"
19
+
20
+ msgid "Google User"
21
+ msgstr "Google uporabnik"
22
+
23
+ msgid "read more"
24
+ msgstr "preberite več"
25
+
26
+ msgid "Next Reviews"
27
+ msgstr "Naslednje mnenje"
28
+
29
+ msgid "Write a review"
30
+ msgstr "Napišite mnenje"
31
+
32
+ msgid "Based on %s reviews"
33
+ msgstr "Na podlagi %s ocen"
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.5
7
- Stable tag: 1.8.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -79,6 +79,12 @@ Why limit your reviews to just Google Reviews? Check out our other free reviews
79
 
80
  == Changelog ==
81
 
 
 
 
 
 
 
82
  = 1.8.9 =
83
  * Improve: Added Swedish language
84
  * Bugfix: Google default avatar quality is 128px
4
  Tags: Google, reviews, widget, testimonials, Google Places reviews
5
  Requires at least: 2.8
6
  Tested up to: 5.5
7
+ Stable tag: 1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
79
 
80
  == Changelog ==
81
 
82
+ = 1.9 =
83
+ * Improve: Added Full Installation Guide
84
+ * Improve: Added Slovenian language
85
+ * Improve: Increased refresh reviews timeout
86
+ * Bugfix: Google default avatar quality is 128px
87
+
88
  = 1.8.9 =
89
  * Improve: Added Swedish language
90
  * Bugfix: Google default avatar quality is 128px
static/css/rplg-setting.css CHANGED
@@ -99,7 +99,8 @@
99
  }
100
 
101
  .rplg-flex-col:first-child,
102
- .rplg-flex-col3:first-child {
 
103
  padding-right: 10px;
104
  }
105
 
@@ -201,4 +202,30 @@
201
  line-height: 26px;
202
  text-decoration: none;
203
  text-transform: uppercase;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  }
99
  }
100
 
101
  .rplg-flex-col:first-child,
102
+ .rplg-flex-col3:first-child,
103
+ .rplg-flex-col3+.rplg-flex-col3 {
104
  padding-right: 10px;
105
  }
106
 
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 {
216
+ border-top: 1px solid #bbb;
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
  }
static/img/google_key_1.png ADDED
Binary file
static/img/google_key_2.png ADDED
Binary file
static/img/google_key_2_1.png ADDED
Binary file
static/img/google_key_3.png ADDED
Binary file
static/img/google_key_4.png ADDED
Binary file
static/img/google_key_4_1.png ADDED
Binary file
static/img/google_key_5.png ADDED
Binary file
static/img/google_key_6.png ADDED
Binary file
static/img/google_key_7.png ADDED
Binary file
static/img/google_key_8.png ADDED
Binary file
static/img/google_placeid_1.png ADDED
Binary file
static/img/google_placeid_2.png ADDED
Binary file
static/img/google_placeid_3.png ADDED
Binary file
static/js/wpac-time.js CHANGED
@@ -45,4 +45,4 @@ 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"}}};
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:"enim dnem",days:function(a){return"pred "+Math.round(a)+" dnevi"},month:"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"}}};