Google Reviews Widget - Version 1.5.7

Version Description

  • Widget options description corrected
  • Bugfix: widget options loop
  • Added Danish language (da_DK)
Download this release

Release Info

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

Code changes from version 1.5.6 to 1.5.7

grw-options.php CHANGED
@@ -78,7 +78,7 @@
78
  </div>
79
  <div class="form-group">
80
  <div class="rplg-pro">
81
- <?php echo grw_i('These features available in Google Reviews Business plugin: '); ?>
82
  <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin" target="_blank">
83
  <?php echo grw_i('Upgrade to Business'); ?>
84
  </a>
@@ -157,7 +157,7 @@
157
  </div>
158
  <div class="form-group">
159
  <div class="rplg-pro">
160
- <?php echo grw_i('<b>Slider</b>, <b>Grid</b>, <b>Badge</b> themes and other features available in Google Reviews Business plugin: '); ?>
161
  <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin" target="_blank">
162
  <?php echo grw_i('Upgrade to Business'); ?>
163
  </a>
@@ -181,6 +181,19 @@
181
  <?php } ?>
182
  </div>
183
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  <!-- Advance Options -->
185
  <h4 class="rplg-options-toggle"><?php echo grw_i('Advance Options'); ?></h4>
186
  <div class="rplg-options" style="display:none">
78
  </div>
79
  <div class="form-group">
80
  <div class="rplg-pro">
81
+ <?php echo grw_i('These features are available in Google Reviews Business plugin: '); ?>
82
  <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin" target="_blank">
83
  <?php echo grw_i('Upgrade to Business'); ?>
84
  </a>
157
  </div>
158
  <div class="form-group">
159
  <div class="rplg-pro">
160
+ <?php echo grw_i('<b>Slider</b>, <b>Grid</b>, <b>Badge</b> themes and other features are available in Google Reviews Business plugin: '); ?>
161
  <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin" target="_blank">
162
  <?php echo grw_i('Upgrade to Business'); ?>
163
  </a>
181
  <?php } ?>
182
  </div>
183
 
184
+ <!-- Slider Options -->
185
+ <h4 class="rplg-options-toggle"><?php echo grw_i('Slider Options'); ?></h4>
186
+ <div class="rplg-options" style="display:none">
187
+ <div class="form-group">
188
+ <div class="rplg-pro">
189
+ <?php echo grw_i('<b>Slider</b> is available in Google Reviews Business plugin: '); ?>
190
+ <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin" target="_blank">
191
+ <?php echo grw_i('Upgrade to Business'); ?>
192
+ </a>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
  <!-- Advance Options -->
198
  <h4 class="rplg-options-toggle"><?php echo grw_i('Advance Options'); ?></h4>
199
  <div class="rplg-options" style="display:none">
grw-widget.php CHANGED
@@ -74,10 +74,8 @@ class Goog_Reviews_Widget extends WP_Widget {
74
 
75
  if (grw_enabled()) {
76
  extract($args);
77
- foreach ($instance as $variable => $value) {
78
- if (array_key_exists($variable, $this->widget_fields)) {
79
- ${$variable} = !isset($instance[$variable]) ? $this->widget_fields[$variable] : esc_attr($instance[$variable]);
80
- }
81
  }
82
 
83
  echo $before_widget;
74
 
75
  if (grw_enabled()) {
76
  extract($args);
77
+ foreach ($this->widget_fields as $variable => $value) {
78
+ ${$variable} = !isset($instance[$variable]) ? $this->widget_fields[$variable] : esc_attr($instance[$variable]);
 
 
79
  }
80
 
81
  echo $before_widget;
grw.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Reviews Widget
4
  Plugin URI: https://richplugins.com/google-reviews-pro-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.5.6
8
  Author URI: https://richplugins.com
9
  */
10
 
@@ -13,7 +13,7 @@ require(ABSPATH . 'wp-includes/version.php');
13
  include_once(dirname(__FILE__) . '/api/urlopen.php');
14
  include_once(dirname(__FILE__) . '/helper/debug.php');
15
 
16
- define('GRW_VERSION', '1.5.6');
17
  define('GRW_GOOGLE_PLACE_API', 'https://maps.googleapis.com/maps/api/place/');
18
  define('GRW_GOOGLE_AVATAR', 'https://lh3.googleusercontent.com/-8hepWJzFXpE/AAAAAAAAAAI/AAAAAAAAAAA/I80WzYfIxCQ/s64-c/114307615494839964028.jpg');
19
  define('GRW_PLUGIN_URL', plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
4
  Plugin URI: https://richplugins.com/google-reviews-pro-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.5.7
8
  Author URI: https://richplugins.com
9
  */
10
 
13
  include_once(dirname(__FILE__) . '/api/urlopen.php');
14
  include_once(dirname(__FILE__) . '/helper/debug.php');
15
 
16
+ define('GRW_VERSION', '1.5.7');
17
  define('GRW_GOOGLE_PLACE_API', 'https://maps.googleapis.com/maps/api/place/');
18
  define('GRW_GOOGLE_AVATAR', 'https://lh3.googleusercontent.com/-8hepWJzFXpE/AAAAAAAAAAI/AAAAAAAAAAA/I80WzYfIxCQ/s64-c/114307615494839964028.jpg');
19
  define('GRW_PLUGIN_URL', plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
languages/grw-da_DK.mo ADDED
Binary file
languages/grw-da_DK.po ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Language: da_DK\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 1.8.11\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 anmeldelser"
16
+
17
+ msgid "See All Reviews"
18
+ msgstr "Se alle anmeldelser"
19
+
20
+ msgid "Google User"
21
+ msgstr "Google bruger"
22
+
23
+ msgid "read more"
24
+ msgstr "læs mere"
25
+
26
+ msgid "Next Reviews"
27
+ msgstr "Næste anmeldelse"
28
+
29
+ msgid "Write a review"
30
+ msgstr "Skriv en anmeldelse"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://richplugins.com/google-reviews-pro-wordpress-plugin
4
  Tags: google, reviews, google reviews, google places, google places reviews, testimonials, google review widget, google business reviews, slider, google review, review, google place review, google map reviews, google reviews pro, facebook reviews, facebook page reviews, yelp reviews, yelp business reviews
5
  Requires at least: 2.8
6
  Tested up to: 4.8
7
- Stable tag: 1.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,7 +14,7 @@ Google Reviews Widget show Google Places Reviews on your WordPress website to in
14
 
15
  `To get more features we have <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin">Business version</a> of plugin`
16
 
17
- This plugin display Google Business Reviews on your websites in sidebar widget. A unique feature of the plugin is that it saves all reviews in WordPress database and have no depend on any services like Google to show reviews in the widget.
18
 
19
  [youtube https://www.youtube.com/watch?v=YccWFCkz6H4]
20
 
@@ -41,7 +41,7 @@ This plugin display Google Business Reviews on your websites in sidebar widget.
41
  * Trying to get more than 5 Google reviews
42
  * Google Rich Snippets (schema.org)
43
  * Support shortcode, powerful <b>Shortcode Builder</b>
44
- * Slider/Grid themes to show G+ reviews in testimonials section
45
  * Google Trust Badge (right/left fixed or embed)
46
  * 'Write a review' button to available leave Google review directly on your website
47
  * Trim long reviews with "read more" link
@@ -73,6 +73,11 @@ Why limit your reviews to just Google Reviews? Check out our other free business
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
76
  = 1.5.6 =
77
  * Tested up to WordPress 4.8
78
  * Improve: change permission from activate_plugins to manage_options for the plugin's settings
4
  Tags: google, reviews, google reviews, google places, google places reviews, testimonials, google review widget, google business reviews, slider, google review, review, google place review, google map reviews, google reviews pro, facebook reviews, facebook page reviews, yelp reviews, yelp business reviews
5
  Requires at least: 2.8
6
  Tested up to: 4.8
7
+ Stable tag: 1.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  `To get more features we have <a href="https://richplugins.com/google-reviews-pro-wordpress-plugin">Business version</a> of plugin`
16
 
17
+ This plugin display Google Business Reviews on your websites in sidebar widget. A unique feature of the plugin is that it saves reviews in WordPress database and have no depend on any services like Google to show reviews in the widget.
18
 
19
  [youtube https://www.youtube.com/watch?v=YccWFCkz6H4]
20
 
41
  * Trying to get more than 5 Google reviews
42
  * Google Rich Snippets (schema.org)
43
  * Support shortcode, powerful <b>Shortcode Builder</b>
44
+ * Slider/Grid themes to show G+ reviews like testimonials
45
  * Google Trust Badge (right/left fixed or embed)
46
  * 'Write a review' button to available leave Google review directly on your website
47
  * Trim long reviews with "read more" link
73
 
74
  == Changelog ==
75
 
76
+ = 1.5.7 =
77
+ * Widget options description corrected
78
+ * Bugfix: widget options loop
79
+ * Added Danish language (da_DK)
80
+
81
  = 1.5.6 =
82
  * Tested up to WordPress 4.8
83
  * Improve: change permission from activate_plugins to manage_options for the plugin's settings
static/js/wpac-time.js CHANGED
@@ -32,6 +32,6 @@ Math.round(a/30)+" Monaten"},year:"vor einem Jahr",years:function(a){return"vor
32
  years:function(a){return WPacTime.declineNum(Math.round(a),"\u0433\u043e\u0434 \u0442\u0430\u043c\u0443","\u0433\u0430\u0434\u044b \u0442\u0430\u043c\u0443","\u0433\u043e\u0434 \u0442\u0430\u043c\u0443")}},it:{second:"proprio ora",minute:"un minuto fa",minutes:function(a){return WPacTime.declineNum(Math.round(a),"un minuto fa","minuti fa","minuti fa")},hour:"un'ora fa",hours:function(a){return WPacTime.declineNum(Math.round(a),"un'ora fa","ore fa","ore fa")},day:"un giorno fa",days:function(a){return WPacTime.declineNum(Math.round(a),
33
  "un giorno fa","giorni fa","giorni fa")},month:"un mese fa",months:function(a){return WPacTime.declineNum(Math.round(a/30),"un mese fa","mesi fa","mesi fa")},year:"un anno fa",years:function(a){return WPacTime.declineNum(Math.round(a),"un anno fa","anni fa","anni fa")}},tr:{second:"az \u00f6nce",minute:"dakika \u00f6nce",minutes:function(a){return Math.round(a)+" dakika \u00f6nce"},hour:"saat \u00f6nce",hours:function(a){return Math.round(a)+" saat \u00f6nce"},day:"g\u00fcn \u00f6nce",days:function(a){return Math.round(a)+
34
  " g\u00fcn \u00f6nce"},month:"ay \u00f6nce",months:function(a){return Math.round(a/30)+" ay \u00f6nce"},year:"y\u0131l \u00f6nce",years:function(a){return Math.round(a)+" y\u0131l \u00f6nce"}},nb:{second:"n\u00e5 nettopp",minute:"ett minutt siden",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"en time siden",hours:function(a){return Math.round(a)+" timer siden"},day:"en dag siden",days:function(a){return Math.round(a)+" dager siden"},month:"en m\u00e5ned siden",months:function(a){return Math.round(a/
35
- 30)+" m\u00e5neder siden"},year:"ett \u00e5r siden",years:function(a){return Math.round(a)+" \u00e5r siden"}},da:{second:"just now",minute:"minute ago",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"hour ago",hours:function(a){return Math.round(a)+" timer siden"},day:"day ago",days:function(a){return Math.round(a)+" dage siden"},month:"month ago",months:function(a){return Math.round(a/30)+" m\u00e5neder siden"},year:"year ago",years:function(a){return Math.round(a)+" \u00e5r siden"}},
36
- nl:{second:"zojuist",minute:"minuten geleden",minutes:function(a){return Math.round(a)+" minuten geleden"},hour:"uur geleden",hours:function(a){return Math.round(a)+" uur geleden"},day:"dagen geleden",days:function(a){return Math.round(a)+" dagen geleden"},month:"maand geleden",months:function(a){return Math.round(a/30)+" maanden geleden"},year:"jaar geleden",years:function(a){return Math.round(a)+" jaar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(a){return"fa "+Math.round(a)+
37
- " minuts"},hour:"fa una hora",hours:function(a){return"fa "+Math.round(a)+" hores"},day:"fa un dia",days:function(a){return"fa "+Math.round(a)+" dies"},month:"fa un mes",months:function(a){return"fa "+Math.round(a/30)+" mesos"},year:"fa un any",years:function(a){return"fa "+Math.round(a)+" anys"}}};
32
  years:function(a){return WPacTime.declineNum(Math.round(a),"\u0433\u043e\u0434 \u0442\u0430\u043c\u0443","\u0433\u0430\u0434\u044b \u0442\u0430\u043c\u0443","\u0433\u043e\u0434 \u0442\u0430\u043c\u0443")}},it:{second:"proprio ora",minute:"un minuto fa",minutes:function(a){return WPacTime.declineNum(Math.round(a),"un minuto fa","minuti fa","minuti fa")},hour:"un'ora fa",hours:function(a){return WPacTime.declineNum(Math.round(a),"un'ora fa","ore fa","ore fa")},day:"un giorno fa",days:function(a){return WPacTime.declineNum(Math.round(a),
33
  "un giorno fa","giorni fa","giorni fa")},month:"un mese fa",months:function(a){return WPacTime.declineNum(Math.round(a/30),"un mese fa","mesi fa","mesi fa")},year:"un anno fa",years:function(a){return WPacTime.declineNum(Math.round(a),"un anno fa","anni fa","anni fa")}},tr:{second:"az \u00f6nce",minute:"dakika \u00f6nce",minutes:function(a){return Math.round(a)+" dakika \u00f6nce"},hour:"saat \u00f6nce",hours:function(a){return Math.round(a)+" saat \u00f6nce"},day:"g\u00fcn \u00f6nce",days:function(a){return Math.round(a)+
34
  " g\u00fcn \u00f6nce"},month:"ay \u00f6nce",months:function(a){return Math.round(a/30)+" ay \u00f6nce"},year:"y\u0131l \u00f6nce",years:function(a){return Math.round(a)+" y\u0131l \u00f6nce"}},nb:{second:"n\u00e5 nettopp",minute:"ett minutt siden",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"en time siden",hours:function(a){return Math.round(a)+" timer siden"},day:"en dag siden",days:function(a){return Math.round(a)+" dager siden"},month:"en m\u00e5ned siden",months:function(a){return Math.round(a/
35
+ 30)+" m\u00e5neder siden"},year:"ett \u00e5r siden",years:function(a){return Math.round(a)+" \u00e5r siden"}},da:{second:"lige nu",minute:"et minut siden",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"en time siden",hours:function(a){return Math.round(a)+" timer siden"},day:"en dag siden",days:function(a){return Math.round(a)+" dage siden"},month:"en m\u00e5ned siden",months:function(a){return Math.round(a/30)+" m\u00e5neder siden"},year:"et \u00e5r siden",years:function(a){return Math.round(a)+
36
+ " \u00e5r siden"}},nl:{second:"zojuist",minute:"minuten geleden",minutes:function(a){return Math.round(a)+" minuten geleden"},hour:"uur geleden",hours:function(a){return Math.round(a)+" uur geleden"},day:"dagen geleden",days:function(a){return Math.round(a)+" dagen geleden"},month:"maand geleden",months:function(a){return Math.round(a/30)+" maanden geleden"},year:"jaar geleden",years:function(a){return Math.round(a)+" jaar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(a){return"fa "+
37
+ Math.round(a)+" minuts"},hour:"fa una hora",hours:function(a){return"fa "+Math.round(a)+" hores"},day:"fa un dia",days:function(a){return"fa "+Math.round(a)+" dies"},month:"fa un mes",months:function(a){return"fa "+Math.round(a/30)+" mesos"},year:"fa un any",years:function(a){return"fa "+Math.round(a)+" anys"}}};