the review box is great. Thank you for this feature.
Two questions about this:
1: How can I give the review points a weight for the summary (total review points). For example. I have 3 points (all 1/3 weight) and want the third to bring double weight (2/4 instead of 1/3 and the other two 1/4 each).
2: Is there a way to post the review box automatically without a shortcode inside the post? Maybe by acf or a php script (if - then)?
1/ Generally, you can assign a separate percentage for each point, ranging from 1 to 10.
2/ Add this code to the functions.php file of your child theme or use the Code Snippets plugin, available here: https://wordpress.org/plugins/code-snippets/.
1. No, I don't mean the scala of the points. I want to give one of the review points (f. e. price or fun or material) a higher share of average value. Every single value have one equal share in the average value. I want to give one of them a "double weight" for the average value. For example buying a car: one part colour (maybe 6), one part motor (maybe 5) one part price (mabe 10) results in 1/3 each point (average 7). Weighten the price twice would mean an average of 6+6+(2x10)=8. Is this possibele, maybe by a additional script in a template?
2. Code works, thank you very much. I still have to find a way to show the box only if there is content in it.
Unfortunately, the current version of Soledad and Penci Review does not support this workflow. We will research and consider adding this feature in a future theme update.
Hi PenciDesign-Team,
the review box is great. Thank you for this feature.
Two questions about this:
1:
How can I give the review points a weight for the summary (total review points). For example. I have 3 points (all 1/3 weight) and want the third to bring double weight (2/4 instead of 1/3 and the other two 1/4 each).
2:
Is there a way to post the review box automatically without a shortcode inside the post? Maybe by acf or a php script (if - then)?
Hi,
1/ Generally, you can assign a separate percentage for each point, ranging from 1 to 10.
2/ Add this code to the functions.php file of your child theme or use the Code Snippets plugin, available here: https://wordpress.org/plugins/code-snippets/.
Regards,
PenciDesign.
1. No, I don't mean the scala of the points. I want to give one of the review points (f. e. price or fun or material) a higher share of average value. Every single value have one equal share in the average value. I want to give one of them a "double weight" for the average value. For example buying a car: one part colour (maybe 6), one part motor (maybe 5) one part price (mabe 10) results in 1/3 each point (average 7). Weighten the price twice would mean an average of 6+6+(2x10)=8.
Is this possibele, maybe by a additional script in a template?
2. Code works, thank you very much. I still have to find a way to show the box only if there is content in it.
Hi,
Regards,
PenciDesign.