Version Description
Download this release
Release Info
Developer | codeinwp |
Plugin | WP Product Review Lite |
Version | 2.9.7 |
Comparing to | |
See all releases |
Code changes from version 2.9.6 to 2.9.7
- CHANGELOG.md +4 -2
- admin/inc/config.php +3 -1
- admin/inc/loader.php +1 -1
- admin/layout/css/main_page.css +174 -13
- admin/layout/img/wppr-logo.png +0 -0
- admin/layout/pro.php +28 -31
- css/frontpage.css +1 -1
- images/wppr-amazon-integration-and-support.jpg +0 -0
- images/wppr-import.jpg +0 -0
- images/wppr-review-comparison.jpg +0 -0
- images/wppr-shortcodes.jpg +0 -0
- inc/cwp_metabox.php +1 -1
- wp-product-review.php +2 -2
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
2 |
-
|
3 |
|
4 |
|
5 |
|
6 |
-
Release 2.9.6
|
1 |
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
|
7 |
|
8 |
|
|
admin/inc/config.php
CHANGED
@@ -49,7 +49,9 @@ class cwpposConfig {
|
|
49 |
self::$all_categories_array = array();
|
50 |
self::$all_review_categories_array = array();
|
51 |
self::$categories_array = array();
|
52 |
-
self::$pro_page_menu_name = 'Premium Features
|
|
|
|
|
53 |
self::$pro_page_title = 'Go Premium';
|
54 |
self::$structure = array(
|
55 |
array(
|
49 |
self::$all_categories_array = array();
|
50 |
self::$all_review_categories_array = array();
|
51 |
self::$categories_array = array();
|
52 |
+
self::$pro_page_menu_name = 'Premium Features <span class="dashicons
|
53 |
+
dashicons-star-filled"
|
54 |
+
style="vertical-align:-5px; padding-left:2px; color:#FFCA54;"></span>';
|
55 |
self::$pro_page_title = 'Go Premium';
|
56 |
self::$structure = array(
|
57 |
array(
|
admin/inc/loader.php
CHANGED
@@ -9,7 +9,7 @@ function cwppos_options_add_page() {
|
|
9 |
$render = new cwpposRenderView();
|
10 |
add_menu_page( __( cwppos_config( 'admin_page_title' ), 'cwppos' ), __( cwppos_config( 'admin_page_menu_name' ), 'cwppos' ), 'manage_options', cwppos_config( 'menu_slug' ), array( $render, 'show' ), 'dashicons-star-half' ,'99.87414' );
|
11 |
if ( ! class_exists( 'CWP_PR_PRO_Core' ) ) {
|
12 |
-
|
13 |
}
|
14 |
}
|
15 |
|
9 |
$render = new cwpposRenderView();
|
10 |
add_menu_page( __( cwppos_config( 'admin_page_title' ), 'cwppos' ), __( cwppos_config( 'admin_page_menu_name' ), 'cwppos' ), 'manage_options', cwppos_config( 'menu_slug' ), array( $render, 'show' ), 'dashicons-star-half' ,'99.87414' );
|
11 |
if ( ! class_exists( 'CWP_PR_PRO_Core' ) ) {
|
12 |
+
add_submenu_page( cwppos_config("menu_slug"), __( cwppos_config("pro_page_title"), 'cwppos' ), __( cwppos_config("pro_page_menu_name"), 'cwppos' ), 'manage_options', "cwppos_pro", array($render, 'pro'));
|
13 |
}
|
14 |
}
|
15 |
|
admin/layout/css/main_page.css
CHANGED
@@ -1000,25 +1000,186 @@ border-radius: 3px;
|
|
1000 |
}
|
1001 |
|
1002 |
.adminLink {
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
}
|
1007 |
|
1008 |
.cwpred {
|
1009 |
-
color:red;
|
1010 |
}
|
1011 |
#wpfooter {
|
1012 |
-
display:none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1013 |
}
|
1014 |
-
@media screen and (max-width: 782px) {
|
1015 |
-
#cwp_form #header .button {
|
1016 |
|
1017 |
-
|
1018 |
-
font-size:
|
|
|
1019 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1020 |
}
|
1021 |
-
#cwp_form #header .logo h2{
|
1022 |
-
padding:0 !important;
|
1023 |
-
margin:0 !important;
|
1024 |
-
}
|
1000 |
}
|
1001 |
|
1002 |
.adminLink {
|
1003 |
+
float: left;
|
1004 |
+
margin-right: 15px;
|
1005 |
+
padding-top: 25px;
|
1006 |
}
|
1007 |
|
1008 |
.cwpred {
|
1009 |
+
color:red;
|
1010 |
}
|
1011 |
#wpfooter {
|
1012 |
+
display:none;
|
1013 |
+
}
|
1014 |
+
|
1015 |
+
#pro-features .pro-features-header {
|
1016 |
+
background: #fff;
|
1017 |
+
border-top: 5px solid #252b37;
|
1018 |
+
padding: 20px 10px;
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
#pro-features .logo {
|
1022 |
+
display: inline-block;
|
1023 |
+
margin: 0 0 0 20px;
|
1024 |
+
padding: 0 0 0 70px;
|
1025 |
+
color: #3c3c3c;
|
1026 |
+
background: url(../img/wppr-logo.png) no-repeat left center;
|
1027 |
+
font-family: "Open Sans", sans-serif;
|
1028 |
+
font-size: 2em;
|
1029 |
+
font-weight: 700;
|
1030 |
+
line-height: 60px;
|
1031 |
+
letter-spacing: -1px;
|
1032 |
+
}
|
1033 |
+
|
1034 |
+
#pro-features .slogan {
|
1035 |
+
display: inline-block;
|
1036 |
+
margin: 0 0 0 5px;
|
1037 |
+
padding: 0;
|
1038 |
+
color: #858585;
|
1039 |
+
font-family: "Open Sans", sans-serif;
|
1040 |
+
font-size: 17px;
|
1041 |
+
line-height: 3.5;
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
#pro-features .slogan a {
|
1045 |
+
color: #858585;
|
1046 |
+
font-weight: 600;
|
1047 |
+
font-style: italic;
|
1048 |
+
text-decoration: none;
|
1049 |
+
-webkit-transition: all 0.250s ease-in-out;
|
1050 |
+
transition: all 0.250s ease-in-out;
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
#pro-features .slogan a:hover {
|
1054 |
+
color: #ff6160;
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
#pro-features .slogan a:focus {
|
1058 |
+
outline: none;
|
1059 |
+
-webkit-box-shadow: none;
|
1060 |
+
box-shadow: none;
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
#pro-features .header-btns {
|
1064 |
+
float: right;
|
1065 |
+
margin: 7px 20px;
|
1066 |
+
text-align: right;
|
1067 |
+
}
|
1068 |
+
|
1069 |
+
#pro-features .header-btns .buy-now {
|
1070 |
+
background: #e33b3f;
|
1071 |
+
border-radius: 3px;
|
1072 |
+
border-radius: 3px;
|
1073 |
+
color: #fff;
|
1074 |
+
display: inline-block;
|
1075 |
+
font-family: "Open Sans", sans-serif;
|
1076 |
+
font-size: 18px;
|
1077 |
+
font-weight: bold;
|
1078 |
+
margin-right: 5px;
|
1079 |
+
margin-top: 2px;
|
1080 |
+
padding: 15px 25px;
|
1081 |
+
text-decoration: none;
|
1082 |
+
text-transform: uppercase;
|
1083 |
+
-webkit-transition: all 0.250s ease-in-out;
|
1084 |
+
transition: all 0.250s ease-in-out;
|
1085 |
+
}
|
1086 |
+
|
1087 |
+
#pro-features .header-btns .buy-now:hover {
|
1088 |
+
background: #252b37;
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
#pro-features .header-btns .buy-now .dashicons {
|
1092 |
+
padding-right: 3px;
|
1093 |
+
}
|
1094 |
+
|
1095 |
+
#pro-features .pro-features-header,
|
1096 |
+
#pro-features .pro-feature{
|
1097 |
+
background-color: #fff;
|
1098 |
+
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
1099 |
+
display: block;
|
1100 |
+
margin: 30px 15px 0;
|
1101 |
+
}
|
1102 |
+
|
1103 |
+
#pro-features .pro-feature .pro-feature-features,
|
1104 |
+
#pro-features .pro-feature .pro-feature-image{
|
1105 |
+
display: table-cell;
|
1106 |
+
margin: 0;
|
1107 |
+
vertical-align: middle;
|
1108 |
+
}
|
1109 |
+
|
1110 |
+
#pro-features .pro-feature .pro-feature-features {
|
1111 |
+
box-sizing: border-box;
|
1112 |
+
padding: 30px;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
#pro-features .pro-feature .pro-feature-image {
|
1116 |
+
width: 470px;
|
1117 |
}
|
|
|
|
|
1118 |
|
1119 |
+
#pro-features .pro-feature .pro-feature-features h2 {
|
1120 |
+
font-size: 28px;
|
1121 |
+
margin: 0 0 20px;
|
1122 |
}
|
1123 |
+
|
1124 |
+
#pro-features .pro-feature .pro-feature-features h4 {
|
1125 |
+
font-size: 20px;
|
1126 |
+
margin: 0 0 10px;
|
1127 |
+
}
|
1128 |
+
|
1129 |
+
#pro-features .pro-feature .pro-feature-features p {
|
1130 |
+
font-size: 16px;
|
1131 |
+
line-height: 1.5;
|
1132 |
+
margin: 0 0 15px;
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
#pro-features .pro-feature .pro-feature-image img {
|
1136 |
+
height: auto;
|
1137 |
+
width: 100%;
|
1138 |
+
}
|
1139 |
+
|
1140 |
+
@media screen and (max-width: 1200px) {
|
1141 |
+
#pro-features .pro-feature .pro-feature-features,
|
1142 |
+
#pro-features .pro-feature .pro-feature-image{
|
1143 |
+
display: block;
|
1144 |
+
}
|
1145 |
+
#pro-features .pro-feature .pro-feature-image {
|
1146 |
+
margin: 0 auto 20px;
|
1147 |
+
text-align: center;
|
1148 |
+
width: 470px;
|
1149 |
+
}
|
1150 |
+
#pro-features .slogan {
|
1151 |
+
display: none;
|
1152 |
+
}
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
@media screen and (max-width: 1100px) {
|
1156 |
+
#pro-features {
|
1157 |
+
text-align: center;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
#pro-features .logo {
|
1161 |
+
margin-left: 0;
|
1162 |
+
}
|
1163 |
+
|
1164 |
+
#pro-features .header-btns {
|
1165 |
+
display: block;
|
1166 |
+
float: none;
|
1167 |
+
margin|: 0 0 10px 0;
|
1168 |
+
text-align: center;
|
1169 |
+
}
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
@media screen and (max-width: 782px) {
|
1173 |
+
#cwp_form #header .button {
|
1174 |
+
font-size: 11px !important;
|
1175 |
+
padding: 0 4px 1px !important;
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
#cwp_form #header .logo h2 {
|
1179 |
+
margin: 0 !important;
|
1180 |
+
padding: 0 !important;
|
1181 |
+
}
|
1182 |
+
#pro-features .pro-feature .pro-feature-image {
|
1183 |
+
width: 100%;
|
1184 |
+
}
|
1185 |
}
|
|
|
|
|
|
|
|
admin/layout/img/wppr-logo.png
ADDED
Binary file
|
admin/layout/pro.php
CHANGED
@@ -1,61 +1,58 @@
|
|
1 |
-
<h1>Features</h1>
|
2 |
<div id="pro-features">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
<div class="pro-feature">
|
4 |
-
|
5 |
-
<div class="pro-feature-features"><div>
|
6 |
<h2>Amazon Integration</h2>
|
7 |
<h4>Connects your site with Amazon in just a click</h4>
|
8 |
<p>If you want the Amazon data to be imported to your site, you don't have to do it manually. Add the product ID and, by just clicking a button, the name, image, affiliate link, and price will be transferred. Saves a lot of time.</p>
|
9 |
<h4>Synchronizes the prices with Amazon</h4>
|
10 |
<p>The add-on automatically synchronizes the prices with the ones from Amazon, so you won't have to do it manually everytime they change. Because prices vary all the time and you probably have better stuff to do instead of tracking them.</p>
|
11 |
</div>
|
12 |
-
|
13 |
<div class="clear"></div>
|
14 |
</div>
|
15 |
<div class="clear"></div>
|
16 |
-
<div class="pro-feature">
|
17 |
-
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/customize-icons.gif"></div>
|
18 |
-
<div class="pro-feature-features"><div>
|
19 |
-
<h2>Customize your icons</h2>
|
20 |
|
21 |
-
<p>WP Product Review PRO is a plugin designed to enhance your existing website with awesome review functions, please note that the PRO version is just an add-on, which means that the free version is also required.</p>
|
22 |
-
<p>With WP Product Review PRO you can easily choose the default icons to something that suit your audience.</p>
|
23 |
-
</div>
|
24 |
-
</div>
|
25 |
-
<div class="clear"></div>
|
26 |
-
</div>
|
27 |
-
<div class="clear"></div>
|
28 |
<div class="pro-feature">
|
29 |
-
<div class="pro-feature-
|
30 |
-
|
31 |
-
<
|
32 |
-
|
33 |
-
</div>
|
34 |
</div>
|
|
|
35 |
<div class="clear"></div>
|
36 |
</div>
|
37 |
<div class="clear"></div>
|
|
|
38 |
<div class="pro-feature">
|
39 |
-
<div class="pro-feature-
|
40 |
-
<div class="pro-feature-features"><div>
|
41 |
<h2>Comparison Table</h2>
|
42 |
-
|
43 |
<p>Our powerful ranking table add-on is also included in the bundle and by using it you can automatically generate comparison landing pages or enhance your review articles even more</p>
|
44 |
</div>
|
45 |
-
|
46 |
<div class="clear"></div>
|
47 |
</div>
|
48 |
<div class="clear"></div>
|
49 |
-
<div class="pro-feature">
|
50 |
-
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/single.png"></div>
|
51 |
-
<div class="pro-feature-features"><div>
|
52 |
-
<h2>Single Review Shortcode</h2>
|
53 |
|
54 |
-
|
|
|
|
|
|
|
55 |
|
56 |
-
<p>Use shortcodes to insert reviews anywhere into your article.</p>
|
57 |
-
</div>
|
58 |
</div>
|
|
|
59 |
<div class="clear"></div>
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
1 |
<div id="pro-features">
|
2 |
+
|
3 |
+
<div class="pro-features-header">
|
4 |
+
<p class="logo">WP Product Reviews</p>
|
5 |
+
<span class="slogan">by <a
|
6 |
+
href="https://themeisle.com/">ThemeIsle</a></span>
|
7 |
+
<div class="header-btns">
|
8 |
+
|
9 |
+
<a target="_blank" href="https://themeisle.com/plugins/wp-product-review/" class="buy-now"><span class="dashicons dashicons-cart"></span> Buy now</a>
|
10 |
+
</div>
|
11 |
+
<div class="clear"></div>
|
12 |
+
</div>
|
13 |
+
|
14 |
<div class="pro-feature">
|
15 |
+
<div class="pro-feature-features">
|
|
|
16 |
<h2>Amazon Integration</h2>
|
17 |
<h4>Connects your site with Amazon in just a click</h4>
|
18 |
<p>If you want the Amazon data to be imported to your site, you don't have to do it manually. Add the product ID and, by just clicking a button, the name, image, affiliate link, and price will be transferred. Saves a lot of time.</p>
|
19 |
<h4>Synchronizes the prices with Amazon</h4>
|
20 |
<p>The add-on automatically synchronizes the prices with the ones from Amazon, so you won't have to do it manually everytime they change. Because prices vary all the time and you probably have better stuff to do instead of tracking them.</p>
|
21 |
</div>
|
22 |
+
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/wppr-amazon-integration-and-support.jpg"></div>
|
23 |
<div class="clear"></div>
|
24 |
</div>
|
25 |
<div class="clear"></div>
|
|
|
|
|
|
|
|
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
<div class="pro-feature">
|
28 |
+
<div class="pro-feature-features">
|
29 |
+
<h2>Shortcodes</h2>
|
30 |
+
<p>Position the review box anywhere in the post with the help of shortcodes. Add as many reviews as you want in the same page.</p>
|
31 |
+
|
|
|
32 |
</div>
|
33 |
+
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/wppr-shortcodes.jpg"></div>
|
34 |
<div class="clear"></div>
|
35 |
</div>
|
36 |
<div class="clear"></div>
|
37 |
+
|
38 |
<div class="pro-feature">
|
39 |
+
<div class="pro-feature-features">
|
|
|
40 |
<h2>Comparison Table</h2>
|
|
|
41 |
<p>Our powerful ranking table add-on is also included in the bundle and by using it you can automatically generate comparison landing pages or enhance your review articles even more</p>
|
42 |
</div>
|
43 |
+
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/wppr-review-comparison.jpg"></div>
|
44 |
<div class="clear"></div>
|
45 |
</div>
|
46 |
<div class="clear"></div>
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
<div class="pro-feature">
|
49 |
+
<div class="pro-feature-features">
|
50 |
+
<h2>Import</h2>
|
51 |
+
<p>No need to set up each product review separately. You can import options from other reviews you’ve previously built</p>
|
52 |
|
|
|
|
|
53 |
</div>
|
54 |
+
<div class="pro-feature-image"><img src="<?php echo WPPR_URL; ?>/images/wppr-import.jpg"></div>
|
55 |
<div class="clear"></div>
|
56 |
</div>
|
57 |
+
<div class="clear"></div>
|
58 |
</div>
|
css/frontpage.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
Version: 2.9.
|
3 |
*/
|
4 |
#review-statistics {
|
5 |
|
1 |
/*
|
2 |
+
Version: 2.9.7
|
3 |
*/
|
4 |
#review-statistics {
|
5 |
|
images/wppr-amazon-integration-and-support.jpg
ADDED
Binary file
|
images/wppr-import.jpg
ADDED
Binary file
|
images/wppr-review-comparison.jpg
ADDED
Binary file
|
images/wppr-shortcodes.jpg
ADDED
Binary file
|
inc/cwp_metabox.php
CHANGED
@@ -352,7 +352,7 @@ function cwp_review_plugin_activation() {
|
|
352 |
update_option( 'cwp_review_activate', 'yes' );
|
353 |
$html = '<div class="updated">';
|
354 |
$html .= '<p>';
|
355 |
-
$html .= __( 'In order to use the WP Product Review plugin, go on
|
356 |
$html .= '</p>';
|
357 |
$html .= '</div><!-- /.updated -->';
|
358 |
echo $html;
|
352 |
update_option( 'cwp_review_activate', 'yes' );
|
353 |
$html = '<div class="updated">';
|
354 |
$html .= '<p>';
|
355 |
+
$html .= __( 'In order to use the WP Product Review plugin, go on and edit a post and set : <strong>Is this a review to yes</strong>.', 'cwppos' );
|
356 |
$html .= '</p>';
|
357 |
$html .= '</div><!-- /.updated -->';
|
358 |
echo $html;
|
wp-product-review.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
*
|
10 |
* Plugin Name: WP Product Review Lite
|
11 |
* Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
|
12 |
-
* Version: 2.9.
|
13 |
* Author: Themeisle
|
14 |
* Author URI: http://themeisle.com/
|
15 |
* Plugin URI: http://themeisle.com/plugins/wp-product-review-lite/
|
@@ -22,7 +22,7 @@
|
|
22 |
* Domain Path: /languages
|
23 |
*/
|
24 |
|
25 |
-
define( 'WPPR_LITE_VERSION', '2.9.
|
26 |
define( 'WPPR_PATH',dirname( __FILE__ ) );
|
27 |
define( 'WPPR_SLUG', 'wppr' );
|
28 |
define( 'WPPR_URL',plugins_url( 'wp-product-review' ) );
|
9 |
*
|
10 |
* Plugin Name: WP Product Review Lite
|
11 |
* Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
|
12 |
+
* Version: 2.9.7
|
13 |
* Author: Themeisle
|
14 |
* Author URI: http://themeisle.com/
|
15 |
* Plugin URI: http://themeisle.com/plugins/wp-product-review-lite/
|
22 |
* Domain Path: /languages
|
23 |
*/
|
24 |
|
25 |
+
define( 'WPPR_LITE_VERSION', '2.9.7' );
|
26 |
define( 'WPPR_PATH',dirname( __FILE__ ) );
|
27 |
define( 'WPPR_SLUG', 'wppr' );
|
28 |
define( 'WPPR_URL',plugins_url( 'wp-product-review' ) );
|