Version Description
Download this release
Release Info
Developer | Dudo |
Plugin | Yasr – Yet Another Stars Rating |
Version | 3.1.3 |
Comparing to | |
See all releases |
Code changes from version 3.1.2 to 3.1.3
readme.txt → README.md
RENAMED
@@ -1,43 +1,50 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
|
11 |
|
12 |
-
|
|
|
13 |
Improving the user experience with your website is a top priority for everyone who cares about their online activity,
|
14 |
as it promotes familiarity and loyalty with your brand, and enhances visibility of your activity.
|
15 |
|
16 |
Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your
|
17 |
website posts, pages and CPT, without affecting its speed.
|
18 |
|
19 |
-
|
|
|
|
|
20 |
|
21 |
-
== Reviewer Vote ==
|
22 |
With the classic editor, when you create or update a page or a post, a box (metabox) will be available in the upper right corner where you'll
|
23 |
be able to insert the overall rating.
|
24 |
With the new Guteneberg editor, just click on the "+" icon to add a block and search for Yasr Overall Rating.
|
25 |
You can either place the overall rating automatically at the beginning or the end of a post (look in "Settings"
|
26 |
-> "Yet Another Stars Rating: Settings"), or wherever you want in the page using the shortcode [yasr_overall_rating] (easily added through the visual editor).
|
27 |
|
28 |
-
|
|
|
29 |
You can give your users the ability to vote, pasting the shortcode [yasr_visitor_votes] where you want the stars to appear.
|
30 |
If you're using the new Gutenberg editor, just click on the "+" icon to add a block and search for Yasr Visitor Votes
|
31 |
Again, this can be placed automatically at the beginning or the end of each post; the option is in "Settings" -> "Yet Another Stars Rating: Settings".
|
32 |
|
33 |
-
|
|
|
34 |
Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc.
|
35 |
|
36 |
-
|
|
|
37 |
You can easily migrate from *WP-PostRatings*, *kk Star Ratings*, *Rate My Post* and *Multi Rating*
|
38 |
A tab will appear in the settings if one of these plugin is detected.
|
39 |
|
40 |
-
|
|
|
41 |
YASR supports the following schema.org itemtypes:
|
42 |
|
43 |
BlogPosting ✝,
|
@@ -107,73 +114,85 @@ More info [here](https://wordpress.org/plugins/yet-another-stars-rating/faq/)
|
|
107 |
* Availability
|
108 |
* Url
|
109 |
|
110 |
-
|
|
|
|
|
111 |
|
112 |
-
= Old video, but still valid. =
|
113 |
[youtube https://www.youtube.com/watch?v=M47xsJMQJ1E]
|
114 |
|
115 |
-
|
|
|
116 |
[Tutorial's playlist](https://www.youtube.com/playlist?list=PLFErQFOLUVMcx8Qb9--KKme3bQ_KGri71)
|
117 |
|
118 |
-
|
|
|
119 |
While YASR - Yet Another Stars Rating does not require any coding, it is developer friendly!
|
120 |
It is the first (and for now only) rating plugin that uses REST API.
|
121 |
[Here](https://documenter.getpostman.com/view/12873985/TzJycbVz) you can find the documentation.
|
122 |
Further, it comes with a lot of hooks, you can find more info [here](https://yetanotherstarsrating.com/docs/developers/) .
|
123 |
|
124 |
-
|
125 |
-
* [Follow development on GitHub](https://github.com/Dudo1985/yet-another-stars-rating)
|
126 |
|
127 |
-
== Related Link ==
|
128 |
* [All available shortcodes in free version](https://yetanotherstarsrating.com/yasr-shortcodes/)
|
129 |
* Documentation at [Yasr Official Site](https://yetanotherstarsrating.com/docs/)
|
130 |
|
131 |
Do you want more feature? [Check out Yasr Pro!](https://yetanotherstarsrating.com/#yasr-pro)
|
132 |
|
133 |
-
|
|
|
134 |
[Tutorial by Qode Magazine](https://qodeinteractive.com/magazine/how-to-add-post-rating-to-your-wordpress-website/)
|
135 |
[Tutorial by Greengeeks](https://www.greengeeks.com/tutorials/star-rating-system-yasr-wordpress/)
|
136 |
|
137 |
-
|
|
|
138 |
1. Navigate to Dashboard -> Plugins -> Add New and search for YASR
|
139 |
2. Click on "Installa Now" and than "Activate"
|
140 |
|
141 |
-
|
|
|
|
|
142 |
|
143 |
-
= What is "Overall Rating"? =
|
144 |
It is the vote given by who writes the review: readers are able to see this vote in read-only mode. Reviewer can vote using the box on the top right in the editor screen. Remember to insert this shortcode **[yasr_overall_rating]** to make it appear where you like.
|
145 |
|
146 |
-
|
|
|
147 |
It is the vote that allows your visitors to vote: just paste this shortcode **[yasr_visitor_votes]** where you want the stars to appear.
|
148 |
|
149 |
[Demo page for Overall Rating and Vistor Rating](https://yetanotherstarsrating.com/yasr-shortcodes/)
|
150 |
|
151 |
-
|
|
|
152 |
It is the feature that makes YASR awesome. Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc. and give a vote for each one. To create a set, just go in "Settings" -> "Yet Another Stars Rating: Settings" and click on the "Multi Sets" tab. To insert it into a post, just paste the shortcode that YASR will create for you.
|
153 |
|
154 |
[Demo page for Multi Sets](https://yetanotherstarsrating.com/yasr-shortcodes/#yasr-multiset-shortcodes)
|
155 |
|
156 |
-
|
|
|
157 |
It is the 10 highest rated item ranking by reviewer. In order to insert it into a post or page, just paste this shortcode **[yasr_ov_ranking]**
|
158 |
|
159 |
-
|
|
|
160 |
This is 2 charts in 1. Infact, this chart shows both the most rated posts/pages or the highest rated posts/pages.
|
161 |
For an item to appear in this chart, it has to be rated twice at least.
|
162 |
Paste this shortcode to make it appear where you want **[yasr_most_or_highest_rated_posts]**
|
163 |
|
164 |
-
|
|
|
165 |
If in your site there are more than 1 person writing reviews, this chart will show the 5 most active reviewers. Shortcode is **[yasr_top_reviewers]**
|
166 |
|
167 |
-
|
|
|
168 |
When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_most_active_users]**
|
169 |
|
170 |
[Demo page for Rankings](https://yetanotherstarsrating.com/yasr-shortcodes/#yasr-rankings-shortcodes)
|
171 |
|
172 |
-
|
|
|
173 |
If you're using the new Gutenberg editor, you don't need at all: just use the blocks.
|
174 |
If, instead, you're using the classic editor, in the visual tab just click the "Yasr Shortcode" button above the editor
|
175 |
|
176 |
-
|
|
|
177 |
Since version 2.3.0 YASR works with *every caching plugin available out there*.
|
178 |
In the settings, just select "yes" to "Load results with AJAX".
|
179 |
YASR has been tested with:
|
@@ -185,51 +204,74 @@ YASR has been tested with:
|
|
185 |
* Hyper Cache
|
186 |
* Wp Rocket
|
187 |
|
188 |
-
|
|
|
189 |
[Read here](https://yetanotherstarsrating.com/yasr-rich-snippets/) and find out how to set up rich snippets.
|
190 |
You can use the [Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool/u/0/) to validate your pages.
|
191 |
Also [read this](https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html) google announcement.
|
192 |
If you set up everything fine, in 99% of cases your stars will appear in a week.
|
193 |
If doesn't, you should work on your seo reputation.
|
194 |
|
195 |
-
|
|
|
196 |
Yes, YASR is 100% fully compatible with PHP 8
|
197 |
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
The full changelog can be found in the plugin's directory. Recent entries:
|
208 |
|
209 |
-
|
|
|
|
|
|
|
|
|
210 |
* TWEAKED: added new filters yasr_custom_loader and yasr_custom_loader_url to customize loader
|
211 |
* FIXED: better ajax response when data is imported from another plugin
|
212 |
|
213 |
-
|
214 |
* FIXED: Rich snippets fix for "Product itemType". See [#1](https://github.com/Dudo1985/Yet-Another-Stars-Rating/issues/1).
|
215 |
* TWEAKED: updated Freemius sdk to version 2.4.5
|
216 |
|
217 |
-
|
218 |
* TWEAKED: A lot of under the hood changes
|
219 |
* TWEAKED: Updated Freemius sdk to version 2.4.4
|
220 |
|
221 |
-
|
222 |
* TWEAKED: code cleanup in gutenberg blocks
|
223 |
|
224 |
-
|
225 |
* FIXED: YASR gutenberg panel didn't shop up once hidden
|
226 |
* TWEAKED: minor changes
|
227 |
|
228 |
-
|
|
|
229 |
* FIXED: when the value 0 is entered for the Price the ‘Offers’ field is not displayed in the Schema markup.
|
230 |
* TWEAKED: minor changes
|
231 |
|
232 |
-
|
233 |
* FIX: translation for rankings shortcodes
|
234 |
* FIX: in the classic editor, if Multi Set is used, a duplicate query were run
|
235 |
* FIX: "Insert Multiset" button in shortcode creator didn't work
|
@@ -238,17 +280,21 @@ The full changelog can be found in the plugin's directory. Recent entries:
|
|
238 |
* TWEAKED: added new actions
|
239 |
* TWEAKED: under the hood changes.
|
240 |
|
241 |
-
|
242 |
* FIX: set_id parameter didn't work in shortcodes yasr_multi_set_ranking and yasr_visitor_multi_set_ranking
|
243 |
* FIX: rankings didn't show up when post title contains quotation marks ( " )
|
244 |
* TWEAKED: In the setting page, section "Custom texts" is now renamed in "Customize strings", and it works on two columns
|
245 |
-
(more strings will come soon)
|
246 |
* TWEAKED: under the hood changes.
|
|
|
|
|
|
|
|
|
247 |
|
248 |
-
|
249 |
-
= 3.0.4 =
|
250 |
* FIX: Author multiset didn't get saved
|
251 |
* TWEAKED: better error handling
|
252 |
|
253 |
-
|
|
|
254 |
See credits.txt file
|
1 |
+
# Yasr - Yet Another Stars Rating
|
2 |
+
|
3 |
+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC
|
4 |
+
Tags: rating, rate post, star rating, google rating, block
|
5 |
+
Requires at least: 4.7
|
6 |
+
Contributors: Dudo
|
7 |
+
Tested up to: 6.1
|
8 |
+
Stable tag: 3.1.3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
|
12 |
|
13 |
+
## Description
|
14 |
+
|
15 |
Improving the user experience with your website is a top priority for everyone who cares about their online activity,
|
16 |
as it promotes familiarity and loyalty with your brand, and enhances visibility of your activity.
|
17 |
|
18 |
Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your
|
19 |
website posts, pages and CPT, without affecting its speed.
|
20 |
|
21 |
+
## How To use
|
22 |
+
|
23 |
+
## Reviewer Vote
|
24 |
|
|
|
25 |
With the classic editor, when you create or update a page or a post, a box (metabox) will be available in the upper right corner where you'll
|
26 |
be able to insert the overall rating.
|
27 |
With the new Guteneberg editor, just click on the "+" icon to add a block and search for Yasr Overall Rating.
|
28 |
You can either place the overall rating automatically at the beginning or the end of a post (look in "Settings"
|
29 |
-> "Yet Another Stars Rating: Settings"), or wherever you want in the page using the shortcode [yasr_overall_rating] (easily added through the visual editor).
|
30 |
|
31 |
+
## Visitor Votes
|
32 |
+
|
33 |
You can give your users the ability to vote, pasting the shortcode [yasr_visitor_votes] where you want the stars to appear.
|
34 |
If you're using the new Gutenberg editor, just click on the "+" icon to add a block and search for Yasr Visitor Votes
|
35 |
Again, this can be placed automatically at the beginning or the end of each post; the option is in "Settings" -> "Yet Another Stars Rating: Settings".
|
36 |
|
37 |
+
## Multi Set
|
38 |
+
|
39 |
Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc.
|
40 |
|
41 |
+
## Migration tools
|
42 |
+
|
43 |
You can easily migrate from *WP-PostRatings*, *kk Star Ratings*, *Rate My Post* and *Multi Rating*
|
44 |
A tab will appear in the settings if one of these plugin is detected.
|
45 |
|
46 |
+
## Supported itemtypes
|
47 |
+
|
48 |
YASR supports the following schema.org itemtypes:
|
49 |
|
50 |
BlogPosting ✝,
|
114 |
* Availability
|
115 |
* Url
|
116 |
|
117 |
+
## Video Tutorial
|
118 |
+
|
119 |
+
### Old video, but still valid.
|
120 |
|
|
|
121 |
[youtube https://www.youtube.com/watch?v=M47xsJMQJ1E]
|
122 |
|
123 |
+
### New videos, talked in Italian but easily to understand (eng subs will comes)
|
124 |
+
|
125 |
[Tutorial's playlist](https://www.youtube.com/playlist?list=PLFErQFOLUVMcx8Qb9--KKme3bQ_KGri71)
|
126 |
|
127 |
+
## Developers
|
128 |
+
|
129 |
While YASR - Yet Another Stars Rating does not require any coding, it is developer friendly!
|
130 |
It is the first (and for now only) rating plugin that uses REST API.
|
131 |
[Here](https://documenter.getpostman.com/view/12873985/TzJycbVz) you can find the documentation.
|
132 |
Further, it comes with a lot of hooks, you can find more info [here](https://yetanotherstarsrating.com/docs/developers/) .
|
133 |
|
134 |
+
## Related Link
|
|
|
135 |
|
|
|
136 |
* [All available shortcodes in free version](https://yetanotherstarsrating.com/yasr-shortcodes/)
|
137 |
* Documentation at [Yasr Official Site](https://yetanotherstarsrating.com/docs/)
|
138 |
|
139 |
Do you want more feature? [Check out Yasr Pro!](https://yetanotherstarsrating.com/#yasr-pro)
|
140 |
|
141 |
+
## Press
|
142 |
+
|
143 |
[Tutorial by Qode Magazine](https://qodeinteractive.com/magazine/how-to-add-post-rating-to-your-wordpress-website/)
|
144 |
[Tutorial by Greengeeks](https://www.greengeeks.com/tutorials/star-rating-system-yasr-wordpress/)
|
145 |
|
146 |
+
## Installation
|
147 |
+
|
148 |
1. Navigate to Dashboard -> Plugins -> Add New and search for YASR
|
149 |
2. Click on "Installa Now" and than "Activate"
|
150 |
|
151 |
+
## Frequently Asked Questions
|
152 |
+
|
153 |
+
### What is "Overall Rating"?
|
154 |
|
|
|
155 |
It is the vote given by who writes the review: readers are able to see this vote in read-only mode. Reviewer can vote using the box on the top right in the editor screen. Remember to insert this shortcode **[yasr_overall_rating]** to make it appear where you like.
|
156 |
|
157 |
+
### What is "Visitor Rating"?
|
158 |
+
|
159 |
It is the vote that allows your visitors to vote: just paste this shortcode **[yasr_visitor_votes]** where you want the stars to appear.
|
160 |
|
161 |
[Demo page for Overall Rating and Vistor Rating](https://yetanotherstarsrating.com/yasr-shortcodes/)
|
162 |
|
163 |
+
### What is "Multi Set"?
|
164 |
+
|
165 |
It is the feature that makes YASR awesome. Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc. and give a vote for each one. To create a set, just go in "Settings" -> "Yet Another Stars Rating: Settings" and click on the "Multi Sets" tab. To insert it into a post, just paste the shortcode that YASR will create for you.
|
166 |
|
167 |
[Demo page for Multi Sets](https://yetanotherstarsrating.com/yasr-shortcodes/#yasr-multiset-shortcodes)
|
168 |
|
169 |
+
### What is "Ranking reviews" ?
|
170 |
+
|
171 |
It is the 10 highest rated item ranking by reviewer. In order to insert it into a post or page, just paste this shortcode **[yasr_ov_ranking]**
|
172 |
|
173 |
+
### Wht is "Users' ranking" ?
|
174 |
+
|
175 |
This is 2 charts in 1. Infact, this chart shows both the most rated posts/pages or the highest rated posts/pages.
|
176 |
For an item to appear in this chart, it has to be rated twice at least.
|
177 |
Paste this shortcode to make it appear where you want **[yasr_most_or_highest_rated_posts]**
|
178 |
|
179 |
+
### What is "Most active reviewers" ?
|
180 |
+
|
181 |
If in your site there are more than 1 person writing reviews, this chart will show the 5 most active reviewers. Shortcode is **[yasr_top_reviewers]**
|
182 |
|
183 |
+
### What is "Most active users" ?
|
184 |
+
|
185 |
When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_most_active_users]**
|
186 |
|
187 |
[Demo page for Rankings](https://yetanotherstarsrating.com/yasr-shortcodes/#yasr-rankings-shortcodes)
|
188 |
|
189 |
+
### Wait, wait! Do I need to keep in mind all this shortcode?
|
190 |
+
|
191 |
If you're using the new Gutenberg editor, you don't need at all: just use the blocks.
|
192 |
If, instead, you're using the classic editor, in the visual tab just click the "Yasr Shortcode" button above the editor
|
193 |
|
194 |
+
### Does it work with caching plugins?
|
195 |
+
|
196 |
Since version 2.3.0 YASR works with *every caching plugin available out there*.
|
197 |
In the settings, just select "yes" to "Load results with AJAX".
|
198 |
YASR has been tested with:
|
204 |
* Hyper Cache
|
205 |
* Wp Rocket
|
206 |
|
207 |
+
### Why I don't see stars in google?
|
208 |
+
|
209 |
[Read here](https://yetanotherstarsrating.com/yasr-rich-snippets/) and find out how to set up rich snippets.
|
210 |
You can use the [Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool/u/0/) to validate your pages.
|
211 |
Also [read this](https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html) google announcement.
|
212 |
If you set up everything fine, in 99% of cases your stars will appear in a week.
|
213 |
If doesn't, you should work on your seo reputation.
|
214 |
|
215 |
+
### Does it work with PHP 8?
|
216 |
+
|
217 |
Yes, YASR is 100% fully compatible with PHP 8
|
218 |
|
219 |
+
## Screenshots
|
220 |
+
|
221 |
+
### 1. Example of Yasr Overall Rating and Yasr Visitor Votes shortcodes
|
222 |
+
|
223 |
+
![Example of Yasr Overall Rating and Yasr Visitor Votes shortcodes.](https://ps.w.org/yet-another-stars-rating/assets/screenshot-1.png?rev=2147238)
|
224 |
+
|
225 |
+
### 2. Yasr Multi Criteria Rating
|
226 |
+
|
227 |
+
![Yasr Multi Criteria Rating](https://ps.w.org/yet-another-stars-rating/assets/screenshot-2.png?rev=2147238)
|
228 |
+
|
229 |
+
### 3. User's ranking showing most rated posts
|
230 |
+
|
231 |
+
![User's ranking showing most rated posts](https://ps.w.org/yet-another-stars-rating/assets/screenshot-3.png?rev=2147238)
|
232 |
|
233 |
+
### 4. User's ranking showing highest rated posts
|
234 |
+
|
235 |
+
![User's ranking showing highest rated posts](https://ps.w.org/yet-another-stars-rating/assets/screenshot-4.png?rev=2147238)
|
236 |
+
|
237 |
+
### 5. Ranking reviews
|
238 |
+
|
239 |
+
![Ranking reviews](https://ps.w.org/yet-another-stars-rating/assets/screenshot-5.png?rev=2147238)
|
240 |
+
|
241 |
+
|
242 |
+
## Changelog
|
243 |
|
244 |
The full changelog can be found in the plugin's directory. Recent entries:
|
245 |
|
246 |
+
### 3.1.3
|
247 |
+
* FIXED: security fix
|
248 |
+
* FIXED: in the settings page, last div didn't float good
|
249 |
+
|
250 |
+
### 3.1.2
|
251 |
* TWEAKED: added new filters yasr_custom_loader and yasr_custom_loader_url to customize loader
|
252 |
* FIXED: better ajax response when data is imported from another plugin
|
253 |
|
254 |
+
### 3.1.1
|
255 |
* FIXED: Rich snippets fix for "Product itemType". See [#1](https://github.com/Dudo1985/Yet-Another-Stars-Rating/issues/1).
|
256 |
* TWEAKED: updated Freemius sdk to version 2.4.5
|
257 |
|
258 |
+
### 3.1.0
|
259 |
* TWEAKED: A lot of under the hood changes
|
260 |
* TWEAKED: Updated Freemius sdk to version 2.4.4
|
261 |
|
262 |
+
### 3.0.9
|
263 |
* TWEAKED: code cleanup in gutenberg blocks
|
264 |
|
265 |
+
### 3.0.8
|
266 |
* FIXED: YASR gutenberg panel didn't shop up once hidden
|
267 |
* TWEAKED: minor changes
|
268 |
|
269 |
+
|
270 |
+
### 3.0.7
|
271 |
* FIXED: when the value 0 is entered for the Price the ‘Offers’ field is not displayed in the Schema markup.
|
272 |
* TWEAKED: minor changes
|
273 |
|
274 |
+
### 3.0.6
|
275 |
* FIX: translation for rankings shortcodes
|
276 |
* FIX: in the classic editor, if Multi Set is used, a duplicate query were run
|
277 |
* FIX: "Insert Multiset" button in shortcode creator didn't work
|
280 |
* TWEAKED: added new actions
|
281 |
* TWEAKED: under the hood changes.
|
282 |
|
283 |
+
### 3.0.5
|
284 |
* FIX: set_id parameter didn't work in shortcodes yasr_multi_set_ranking and yasr_visitor_multi_set_ranking
|
285 |
* FIX: rankings didn't show up when post title contains quotation marks ( " )
|
286 |
* TWEAKED: In the setting page, section "Custom texts" is now renamed in "Customize strings", and it works on two columns
|
287 |
+
(more strings will come soon)
|
288 |
* TWEAKED: under the hood changes.
|
289 |
+
[//]: # fs_premium_only_begin
|
290 |
+
PREMIUM ONLY:
|
291 |
+
* FIX: in admin dashboard, stars in "edit-comments.php" page didn't show up
|
292 |
+
[//]: # fs_premium_only_end
|
293 |
|
294 |
+
### 3.0.4
|
|
|
295 |
* FIX: Author multiset didn't get saved
|
296 |
* TWEAKED: better error handling
|
297 |
|
298 |
+
### Additional Info
|
299 |
+
|
300 |
See credits.txt file
|
admin/css/yasr-admin.css
CHANGED
@@ -441,6 +441,12 @@
|
|
441 |
text-align: left;
|
442 |
}
|
443 |
|
|
|
|
|
|
|
|
|
|
|
|
|
444 |
@media (min-width: 1177px) {
|
445 |
|
446 |
.yasr-settingsdiv {
|
@@ -459,15 +465,13 @@
|
|
459 |
border-top: 3px solid #ddd;
|
460 |
}
|
461 |
|
462 |
-
|
463 |
-
|
|
|
464 |
min-width: 250px;
|
465 |
width: 15%;
|
466 |
margin-bottom: 10px;
|
467 |
-
background-color: #FFF;
|
468 |
-
border: 1px solid #DDD;
|
469 |
padding: 20px;
|
470 |
-
font-size: 14px;
|
471 |
box-shadow: 0 0 5px 0 rgba(0,0,0,0.15);
|
472 |
}
|
473 |
|
@@ -488,13 +492,10 @@
|
|
488 |
padding-bottom: 5px;
|
489 |
}
|
490 |
|
491 |
-
|
492 |
width: 95%;
|
493 |
-
background-color: #FFF;
|
494 |
margin-top: 10px;
|
495 |
-
border: 1px solid #DDD;
|
496 |
padding: 10px;
|
497 |
-
font-size: 14px;
|
498 |
}
|
499 |
|
500 |
.yasr-clear-both-dynamic {
|
441 |
text-align: left;
|
442 |
}
|
443 |
|
444 |
+
#yasr-settings-panel-right > div {
|
445 |
+
background-color: #FFF;
|
446 |
+
border: 1px solid #DDD;
|
447 |
+
font-size: 14px;
|
448 |
+
}
|
449 |
+
|
450 |
@media (min-width: 1177px) {
|
451 |
|
452 |
.yasr-settingsdiv {
|
465 |
border-top: 3px solid #ddd;
|
466 |
}
|
467 |
|
468 |
+
#yasr-settings-panel-right > div {
|
469 |
+
margin-left: auto;
|
470 |
+
margin-right: 0;
|
471 |
min-width: 250px;
|
472 |
width: 15%;
|
473 |
margin-bottom: 10px;
|
|
|
|
|
474 |
padding: 20px;
|
|
|
475 |
box-shadow: 0 0 5px 0 rgba(0,0,0,0.15);
|
476 |
}
|
477 |
|
492 |
padding-bottom: 5px;
|
493 |
}
|
494 |
|
495 |
+
#yasr-settings-panel-right > div {
|
496 |
width: 95%;
|
|
|
497 |
margin-top: 10px;
|
|
|
498 |
padding: 10px;
|
|
|
499 |
}
|
500 |
|
501 |
.yasr-clear-both-dynamic {
|
admin/settings/yasr-settings-functions-misc.php
CHANGED
@@ -451,12 +451,18 @@ function yasr_ask_rating()
|
|
451 |
*/
|
452 |
function yasr_right_settings_panel()
|
453 |
{
|
|
|
|
|
|
|
454 |
do_action( 'yasr_right_settings_panel_box' );
|
455 |
yasr_upgrade_pro_box();
|
456 |
yasr_resources_box();
|
457 |
yasr_buy_cofee();
|
458 |
yasr_related_plugins();
|
459 |
yasr_ask_rating();
|
|
|
|
|
|
|
460 |
}
|
461 |
|
462 |
/** Change default admin footer on yasr settings pages
|
451 |
*/
|
452 |
function yasr_right_settings_panel()
|
453 |
{
|
454 |
+
?>
|
455 |
+
<div id="yasr-settings-panel-right">
|
456 |
+
<?php
|
457 |
do_action( 'yasr_right_settings_panel_box' );
|
458 |
yasr_upgrade_pro_box();
|
459 |
yasr_resources_box();
|
460 |
yasr_buy_cofee();
|
461 |
yasr_related_plugins();
|
462 |
yasr_ask_rating();
|
463 |
+
?>
|
464 |
+
</div>
|
465 |
+
<?php
|
466 |
}
|
467 |
|
468 |
/** Change default admin footer on yasr settings pages
|
admin/yasr-admin-actions-ajax.php
CHANGED
@@ -49,6 +49,11 @@ function yasr_rankings_preview_shortcode() {
|
|
49 |
die();
|
50 |
}
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
$shortcode = $_GET['shortcode'];
|
53 |
|
54 |
if(!shortcode_exists($shortcode)) {
|
@@ -57,7 +62,7 @@ function yasr_rankings_preview_shortcode() {
|
|
57 |
|
58 |
$full_shortcode = stripslashes($_GET['full_shortcode']);
|
59 |
|
60 |
-
echo json_encode(do_shortcode($full_shortcode));
|
61 |
|
62 |
die();
|
63 |
}
|
49 |
die();
|
50 |
}
|
51 |
|
52 |
+
if (!current_user_can('manage_options')) {
|
53 |
+
die();
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
$shortcode = $_GET['shortcode'];
|
58 |
|
59 |
if(!shortcode_exists($shortcode)) {
|
62 |
|
63 |
$full_shortcode = stripslashes($_GET['full_shortcode']);
|
64 |
|
65 |
+
echo json_encode(do_shortcode(wp_kses_post($full_shortcode)));
|
66 |
|
67 |
die();
|
68 |
}
|
yet-another-stars-rating.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Yet Another Stars Rating
|
5 |
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
|
6 |
* Description: Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
|
7 |
-
* Version: 3.1.
|
8 |
* Requires at least: 4.7
|
9 |
* Requires PHP: 5.4
|
10 |
* Author: Dario Curvino
|
@@ -78,7 +78,7 @@ if ( !function_exists( 'yasr_fs' ) ) {
|
|
78 |
yasr_fs();
|
79 |
// Signal that SDK was initiated.
|
80 |
do_action( 'yasr_fs_loaded' );
|
81 |
-
define( 'YASR_VERSION_NUM', '3.1.
|
82 |
//Plugin absolute path
|
83 |
//e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
|
84 |
define( 'YASR_ABSOLUTE_PATH', __DIR__ );
|
4 |
* Plugin Name: Yet Another Stars Rating
|
5 |
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
|
6 |
* Description: Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
|
7 |
+
* Version: 3.1.3
|
8 |
* Requires at least: 4.7
|
9 |
* Requires PHP: 5.4
|
10 |
* Author: Dario Curvino
|
78 |
yasr_fs();
|
79 |
// Signal that SDK was initiated.
|
80 |
do_action( 'yasr_fs_loaded' );
|
81 |
+
define( 'YASR_VERSION_NUM', '3.1.3' );
|
82 |
//Plugin absolute path
|
83 |
//e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
|
84 |
define( 'YASR_ABSOLUTE_PATH', __DIR__ );
|