Is this plugin supported anymore? There is no way to contact the developer directly.
There are issues with the plugin taking updates. I’m going to remove it from my site if there is no support.
]]>Is this compatible with PHP 8.2 or 8.3?
]]>Hello,
it was reported by our hoster that there were spam attacks via the rating function. The site also went offline for a short time because the load was heavy.
You can also make requests via the CURL function, which is not particularly optimal and only leads to spam attacks. Are there any ways to prevent spam attacks? So at plugin level?
Version: 1.91.2
Best regards
]]>How can I display the most rated from a list of post from a specific period, Example I posted about 20 post this month on my website, how do I display the most voted post out of those posted within that month and not in general. using the rating widget.
]]>For the past few weeks whenever a user tries to vote by clicking on the stars, the message “You do not have sufficient permissions to access this page.” appears.
Has anyone else encountered this issue? Is there a way to fix it?
Thanks in advance for your help!
]]>Hi there,
using your plugin for many years now, thanks for it and the support!
Some time ago a person started spamming our reviews with 1-star-ratings. Sadly it does seem, there’s only a way to get rid of the rating, as long as nobody else has rated, since there’s only an option to delete ratings for an entire post (id). Is that correct or is there a way to get rid of singular ratings (there is an id colomn for it, so this might be possible)? Or could we even block their ip or something?
Hello,
I am encountering an issue with the WP-PostRatings plugin on my WordPress site. Whenever I activate the plugin, I receive the following error:
Uncaught TypeError: jq.cookie is not a function in https://****/wp-includes/js/jquery/jquery.js?ver=3.7.1 on line 3793 column 3 at https://***
This error appears to be related to jQuery. Here are the details of my setup:
Could you please provide guidance on how to fix this error? Any help would be greatly appreciated.
]]>Hi Lester,
I hope this message finds you well.
I am writing to bring to your attention some accessibility issues I have encountered with the WP-PostRatings Plugin.
For instance, elements in the plugin that function as buttons are often built using tags such as <span>
, <div>
, or <a>
without the appropriate “role” attribute set to “button”. This can create challenges for users who rely on assistive technologies.
Could you please let us know if there are any plans to address these accessibility issues? Additionally, I would like to inquire about the future updates for the plugin. If no updates are planned, I might consider modifying the plugin files myself. It would be helpful to know whether such changes are likely to be overwritten by future updates.
Thank you for your time and for the great work on the plugin. Looking forward to your response.
Best regards,
Roman Trushanov
]]>Hello Team,
In WP Post Ratings plugin I want that data should be logged using IP Address, but user should be allowed to rate multiple times for the same post, but one time per day, For example I am having a Post, I rated it my IP address is saved into database. Now I can again rate the same post using the same IP Address but tomorrow. Can you help me write a code for the same, preferably in functions.php file.
Thanks,
Pavas Dave
Hello.
How can we add column “rating” for some simple text rows in 1 table with shortcode ?
I.e.
Row1 rating
Row2 rating2
etc.
]]>Hi,
is it possible to translate the message “Failed To Verify Referrer”?
(It appears if you try to vote a second time for the same post)
Thank you!
]]>Hello.
What would be the php code to prevent the plugin from creating schema data?
Thank you
]]>Good morning, I have the following code for a single file –
<?php
<div id="primary" class="content-area">
<div class="content-container site-container">
<main id="main" class="site-main" role="main">
<?php
/**
* Hook for anything before main content
*/
do_action( 'kadence_before_main_content' );
?>
<div class="content-wrap">
<?php
if ( is_404() ) {
do_action( 'kadence_404_content' );
} elseif ( have_posts() ) {
while ( have_posts() ) {
the_post();
/**
* Hook in content single entry template.
*/
do_action( 'kadence_single_content' );
}
} else {
get_template_part( 'template-parts/content/error' );
}
?>
</div>
<?php
/**
* Hook for anything after main content
*/
do_action( 'kadence_after_main_content' );
?>
When I add the code, the website does not work properly. How to insert the code into the page content so that it is displayed correctly?
]]>Good morning, your plugin is very good. Maybe it would be worth considering having an option in the menu to insert stars automatically into the template. And not by hand.
And to be able to mark whether the ratings should be inserted automatically into the post and comments. And for example, for posts to have star ratings and comments as UP Down.
Many people cannot use this plugin if they do not know how to enter the codes manually. And such menu items would be a great help for everyone.
It would also be nice if you could choose the type of schema for separate entries – one is a recipe, another is a product rating, or another is an article.
]]>Hello
I go to WP-Admin -> Appearance -> Widgets
Add Ratings widget. Then I save it but it doesn’t appear on the frontpage.
When I return to WP-Admin -> Appearance -> Widgets
Rating widget does not appear allocated not there.
thanks
]]>Hello,
How do I put it in all articles instead of writing [ratings] in the articles?
thanks
Here some code to use Postratings with Polylang on differents language posts (one master, many slaves)
// SELECTING MASTER LANGUAGE
if(function_exists('pll_get_post')) {
$post_id_master = pll_get_post($post->ID,pll_default_language());
}
// SHOWING POSTRATINGS WITH CUSTOM ID (MASTER ID POST)
if(function_exists('the_ratings')){
the_ratings("div",$post_id_master);
}
I hope that can help someone.
]]>Getting lots of these in a clients debug.log
file:
PHP Warning: Attempt to read property "ID" on null in .../wp-postratings/wp-postratings.php on line 90
Would suggest a check if $post
is valid before using $post->ID
, thanks.
line 90: $ratings_id = $post->ID;
Bug is triggered in /wp-admin/admin-ajax.php
calls when wp_doing_ajax()
returns true
.
WP-PostRatings 1.91.1 (also reported for 1.90, no response, closed)
]]>hello , can i use this plugin in rest api app ? i want to increase post rating in my ios and android app using rest api.. please help
]]>Hello there,
The rich results testing tool https://search.google.com/test/rich-results flags an issue with the type assigned to the author field in the structured data generated by your plugin. Actually, this issue is flagged even twice, both in the product and review structured data snippets.
The issue is that the type “Thing” assigned to the author field is not valid, since it only features two possible types, namely “Person” and “Organization”.
When I manually edited the type “Thing” and put “Organization” instead in the line 1318 of the file wp-postratings.php, the problem was solved. Hereby you can find the schema.org I am talking of.
$ratings_meta .= '<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"url": "' . get_permalink() . '",
"name": "' . $productName . '",
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"bestRating": "'. $ratings_max .'",
"ratingValue": "' . str_replace( ',', '.', $post_ratings_average ) . '",
"worstRating": "1"
},
"author": {
"@type": "Thing",
"name": '.json_encode(get_bloginfo('name')).'
}
}
}
</script>';
Could you please release a new version of the plugin where the type “Organization” is assigned to the author field instead of “Thing”? Or maybe you could let the user chooose wheter they prefer the “Organization” or “Person” value in the plugin options?
If the above is not possible for some reasons could you provide us with at least some code-snippet to be added to the functions.php of the child theme which overwrites “Thing” with “Organization”?
Looking forward for your reply,
Roman
]]>i want to add ratings button in my app and i am using rest api to fetch data from website , is it possible to increase ratings also when user click on rating button in app using rest api ?
]]>I’m planning to use this for a contest. So I need users to vote just one. How can I do that?
]]>Hello! can you add category name to the template with the highest post rating?
]]>When creating a new site on my network, WP-Ratings doesn’t appear to create the tables that are necessary to be used on the new site. To resolve this I go in and manually deactivate the plugin, then reactive it. During that process the necessary tables are created. Is there a way to automate this creation of tables?
Additionally, on the front page of my network I’m displaying posts from all the spaces, but the ratings seem to try to load only from site 1 when I switch_to_blog to site 2. Any suggestions on how to load the ratings display and making them interactive for a sub site whilst on the main site?
]]>Hi! Can I see which files were changed in the last update to replace only them?
]]>Hi there,
I am using WP-PostRatings for years. Now I am facing a few problems in Google Search Console regarding Schema and rating issues. So I want to exclude a few posts from post ratings.
I am using this code:
<main id="main" class="main-box main-box-single">
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php while ( have_posts() ) : the_post(); ?>
In single.php file of Voice theme. Please remember that I want to exclude only 3 posts from all 600+ posts.
Thank you
]]>I would like to suggest a correction
for matters of percentages, the half star should respect these values:
5,00 until 4,751 must be showing five stars
4,75 until 4,251 must be showing four and a half stars
4,25 until 3,751 must be showing four stars
3,75 until 3,251 must be showing three and a half stars
3,25 until 2,751 must be showing three stars and so on…
normally the stars should also mathematically respect the closest value to them
Thanks, great work!
]]>Hey guys, we’re preparing our new website on Elementor: does WP Post Ratings accept any integration with the Elementor Loops?
]]>Uncaught Error: Undefined constant “RATINGS_IMG_EXT” in …/public_html/wp-content/plugins/wp-postratings/includes/postratings-scripts.php?on line?48
please fix the issue
]]>I want to edit the file wp-content/plugins/wp-postratings/wp-postratings.php just to change this line
<?php add_filter( ‘wp_postratings_schema_itemtype’, ‘wp_postratings_schema_itemtype’ ); function wp_postratings_schema_itemtype( $itemtype ) { return ‘itemscope itemtype=”https://schema.org/XXX”‘; } ?>
But i dont have permission, how can I get the permission to do it?
Thanks in advance.
]]>