The plugin works better than similar ones, other than i cannot get the average rating to work in the post content or excerpt.
The site has two posts, i have added the shortcode listed in other support threads into one of the post contents (hence two sets of stars), but this does still not work. I have tried to deactive all other plugins. I have also wiped the database clean and reinstalled wordpress to my server just incase any of the previously tried review plugins were causing issues. Any help on this issue would be greatly appreciated, as i really do like the plugin compared to other ones available.
Plugin version 1.2.4, wordpress version 4.9.4.
Also, is there args or similar i could add to “comment_form()” that would enable me to remove the rating?
Thanks for your time.
Adrian
Здравствуйте. Средний рейтинг выводится на записях выводится а на страницах нет. Пробовал все способы [reviews] и <?php echo do_shortcode(‘[reviews]’); ?>. Ничего не меняет.
]]>Unfortunately I am unable to echo the average review score and get:
Call to undefined function mage_get_review_average()
Is this still working?
Thanks
]]>I want the average reviews for the page to show on the page using the short code. It isn’t showing me the average review rating for the page I’m on, but for all of the pages with that Custom Post Type.
Is there any way I can edit this? I am creating a directory of locations. Each location has its own star rating.
]]>Hello, i dont know how to show average ratings on my blog page (where all my posts displayed). The only thing – plugin adds to the end of post content “1 review” and no stars.
And on post page plugin shows “1 review” even if there is more of them
I just updated to 1.6 pro version an now the [reviews] shortcode doesn’t retreive any comment data. I’ve tried echo mage_get_review_average();
, do_shortcode('[reviews'])
as well with no luck. <div '.$class.$style.' itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"></div>
shows when I inspect but there’s just no comment data. Has this been an issue or is it perhaps something to do with my theme?
We had this working fine on our development environment, however once we moved it, the review stars only show on the comment form for users who are logged into WP.
Also if you leave a review as an admin user, the [reviews] function also no longer works either.
Any ideas what might be going on here?
https://www.dinealittle.com/restaurants/masalawahala/
Is possible to shortcode or php code the most positive and/or negative reviewed pages? I mean a list of the top and the worst pages reviewed by the users
Thanks and great plugin!
]]>When I first install, I got this message :
Fatal error: Call to a member function mage_setdefaults() on a non-object in wp-content\plugins\mage-reviews\cast\attributes.php on line 84
Please help me
]]>Error appears repeatedly after install, at “settings”:
Warning: preg_replace(): Compilation failed: invalid range in character class at offset 14 in [website]/wp-content/plugins/mage-reviews/core/mage-cast.php on line 195
]]>Hi There,
First of all I would like to say that I really like the plugin. It was exactly what I needed. The only thing is that the stars won’t display properly: it seems the stars are not at the same row. The first one is displayed lower than the others. Also the most right star is set as 1-star rating and the most left as 5-stars. I would like to have that the other way round. Could you help me with that? Check here
Thank you in advance!
]]>I have a custom post type ‘recipes’ and <?php do_shortcode('[reviews]'); ?>
works great in the single posts but does not work in my posts index loop. I see the elements are there and I have a count in the number of reviews but the background images for .author-rating are not showing up. Is this typical behavior or am I missing something?
When I activate the plugin, I get the following error:
Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in C:\xampp\apps\test\htdocs\wp-content\plugins\mage-reviews\cast\mage-reviews.php on line 433
]]>Hi As per help section i can use Auto-Display or shortcode, but i am not able to find the Auto-Display option. please help.
]]>I’m using on a template the shortcode [reviews].
Turns out that, when a post is displayed for a site member (some $user_id) the average ratings reset to no reviews despite the number of reviews the post has.
]]>[reviews]
shortcode defined by the function mage_reviews_average()
, returns the word “review” or “reviews” depending on the count of the number of reviews made.
It must be translatable and it’s not.
]]>W3C validator returns this error:
The for attribute of the label element must refer to a form control.
This origins at mage_rating_fields()
function at mage-reviews.php line 347, admittedly you’ll have to set an id for the input with the same name as for label for attribute.
W3c validation returns error for the lack of image alt attribute at icons.
For example at image-reviews.php within cast directory, at line 356 <img src="'.$icon.'" alt="stars" width="16" height="16" /></label>';
Sorry, it’s me again:
Somehow the stars don’t appear in the recent reviews, neither if they’re generated by shortcode, nor in the widget – just a blank space left there.
The markup then looks like this:
<div class="author-rating" itemtype="https://schema.org/Rating" itemscope="" itemprop="reviewRating">
<span style="width:40%;"></span>
<meta content="1" itemprop="worstRating">
<meta content="2" itemprop="ratingValue">
<meta content="5" itemprop="bestRating">
</div>
<div class="review-summary" itemprop="description">This is a test review.</div>
</div>
Another question: is it normal that they don’t appear anywhere but on the reviewed post single.php
?
Hi Maximilian,
thanks for your great work!
However, I have an issue: the rating option only shows when I use the comment_form();
in my template, but it does not display when I use the default comments_template();
Why is that? How can I fix this?
]]>Hi.
After activating this plugin, review form doesn’t display if Jetpack Comments is activated.
Could you give support for this issue?
]]>I installed and activated the plugin and it throws this error –
Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in C:\wamp\www\mysite\wp-content\plugins\mage-reviews\cast\mage-reviews.php on line 433
I am using WordPress (4.0) with Genesis Framework and BuddyPress plus BBPress.
]]>I installed and activated the plugin and it throws this error –
Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in C:\wamp\www\mysite\wp-content\plugins\mage-reviews\cast\mage-reviews.php on line 433
I am using WordPress (4.0) with Genesis Framework and BuddyPress plus BBPress.
]]>Is it possible to limit the categories of posts where a star rating can be given. I publish recipes on my website along with other general posts and I only want the recipes to be rated.
I’m trying to set up a custom post type for the recipe, but it’s proving a lot of trouble at the moment so I was wondering if there’s another way.
Thanks
]]>Hi – this plugin is pretty cool however i found two things that keep it from being put to use -> first is a bug in that if i allow only one rating per user and that user rates a post 5 stars, but then edits his rating to 3 stars, the total ratings still show the original 5 star … thus editing ratings is broken … the second issue is bit of nitpick but the stars currently go right to left and i was unable to change this to left to right via css – e.g., this did not work -> .btn-group, .rating-options { direction: ltr !important; } … anyhow, if you do get the edits to recalc and have option to go from left to right then count me in as this plugin has promise … cordially, chuck scott
]]>Everything in this plugin has been working well except for the comments area. When I click the 0-5 star rating and type out the comment text and submit, only the comment text appears. Strangely, the average rating on the page does update with the additional star rating, but the stars next to each user comment does not appear.
I’ve tried changing the theme and also tested it using “posts”. I’ve also tried putting different comments.php files into my child theme from other theme folders to see if it was fix it…no luck so far.
Anyone been encounter this as well and haven’t figured out how to fix it? Any help would be appreciated!
The page I have been testing on (this is a “page” and not a “post”):
https://weaveagent.com/testvendor/
Thanks.
]]>I’ve just installed the plugin and the average review appears at the top of the post, but nothing is appearing in the comment form to allow people to rate the post. I’ve tried switching themes and it appears fine using the twenty-thirteen theme so I assume it’s a problem with the theme I’m using (Tempera).
My website is https://www.myrecipebook.co.uk
I’m new to this and so don’t have a clue what I need to look at to try and work out why it’s incompatible with my theme so any help you can offer would be appreciated.
Thanks
]]>I’m selling an item on my wordpress site. It’s not a blog, just a site that is pretty much an ad.
Using WooCommerce for sales.
I want a page where customers can leave feedback on the product.
Of course I want to be able to restrict it to weed out spam.
Is this possible to do with this plugin?
]]>Hi,
I want to show the rating only in some posts by using shortcodes. How to use shortcode in a post to show its rating.
]]>Hi,
I can not select a “ATTACH TO POST TYPES”. I click but there is no action. No post type is selected.
]]>