Version Description
- Improve: Added Swedish language
- Bugfix: Google default avatar quality is 128px
Download this release
Release Info
Developer | widgetpack |
Plugin | Google Reviews Widget |
Version | 1.8.9 |
Comparing to | |
See all releases |
Code changes from version 1.8.8 to 1.8.9
- grw-reviews-helper.php +4 -2
- grw.php +4 -4
- languages/grw-sv_SE.mo +0 -0
- languages/grw-sv_SE.po +33 -0
- readme.txt +7 -3
grw-reviews-helper.php
CHANGED
@@ -40,15 +40,17 @@ function grw_place_reviews($place, $reviews, $place_id, $text_size, $pagination,
|
|
40 |
<div class="wp-google-review<?php if ($hr) { echo ' wp-google-hide'; } if ($is_admin && $review->hide != '') { echo ' wp-review-hidden'; } ?>">
|
41 |
<div class="wp-google-left">
|
42 |
<?php
|
|
|
43 |
if (strlen($review->profile_photo_url) > 0) {
|
44 |
$profile_photo_url = $review->profile_photo_url;
|
45 |
} else {
|
46 |
-
$profile_photo_url =
|
47 |
}
|
48 |
if ($reduce_avatars_size) {
|
49 |
$profile_photo_url = str_replace('s128', 's50', $profile_photo_url);
|
|
|
50 |
}
|
51 |
-
grw_image($profile_photo_url, $review->author_name, $lazy_load_img,
|
52 |
?>
|
53 |
</div>
|
54 |
<div class="wp-google-right">
|
40 |
<div class="wp-google-review<?php if ($hr) { echo ' wp-google-hide'; } if ($is_admin && $review->hide != '') { echo ' wp-review-hidden'; } ?>">
|
41 |
<div class="wp-google-left">
|
42 |
<?php
|
43 |
+
$default_avatar = GRW_GOOGLE_AVATAR;
|
44 |
if (strlen($review->profile_photo_url) > 0) {
|
45 |
$profile_photo_url = $review->profile_photo_url;
|
46 |
} else {
|
47 |
+
$profile_photo_url = $default_avatar;
|
48 |
}
|
49 |
if ($reduce_avatars_size) {
|
50 |
$profile_photo_url = str_replace('s128', 's50', $profile_photo_url);
|
51 |
+
$default_avatar = str_replace('s128', 's50', $default_avatar);
|
52 |
}
|
53 |
+
grw_image($profile_photo_url, $review->author_name, $lazy_load_img, $default_avatar);
|
54 |
?>
|
55 |
</div>
|
56 |
<div class="wp-google-right">
|
grw.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: 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.
|
8 |
Author URI: https://richplugins.com
|
9 |
Text Domain: widget-google-reviews
|
10 |
Domain Path: /languages
|
@@ -15,9 +15,9 @@ 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.
|
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/
|
21 |
define('GRW_PLUGIN_URL', plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
|
22 |
|
23 |
function grw_options() {
|
1 |
<?php
|
2 |
/*
|
3 |
+
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 |
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__)));
|
22 |
|
23 |
function grw_options() {
|
languages/grw-sv_SE.mo
ADDED
Binary file
|
languages/grw-sv_SE.po
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Language: sv_SE\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 recensioner"
|
16 |
+
|
17 |
+
msgid "See All Reviews"
|
18 |
+
msgstr "Se alla recensioner"
|
19 |
+
|
20 |
+
msgid "Google User"
|
21 |
+
msgstr "Google användare"
|
22 |
+
|
23 |
+
msgid "read more"
|
24 |
+
msgstr "läs mer"
|
25 |
+
|
26 |
+
msgid "Next Reviews"
|
27 |
+
msgstr "Nästa recensioner"
|
28 |
+
|
29 |
+
msgid "Write a review"
|
30 |
+
msgstr "Skriv en recension"
|
31 |
+
|
32 |
+
msgid "Based on %s reviews"
|
33 |
+
msgstr "Baserat på %s recensioner"
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
=== 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.5
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -79,6 +79,10 @@ Why limit your reviews to just Google Reviews? Check out our other free reviews
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
82 |
= 1.8.8 =
|
83 |
* Update to WordPress 5.5
|
84 |
* Improve: Added Lao language
|
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.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 |
|
11 |
+
Widget and shortcode for Google reviews! Shows Google reviews on your WordPress website to increase user confidence and SEO.
|
12 |
|
13 |
== Description ==
|
14 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.8.9 =
|
83 |
+
* Improve: Added Swedish language
|
84 |
+
* Bugfix: Google default avatar quality is 128px
|
85 |
+
|
86 |
= 1.8.8 =
|
87 |
* Update to WordPress 5.5
|
88 |
* Improve: Added Lao language
|