I collect reviews from different websites and I would like to be able to add them manually to my products in woocommerce, how can I add the star rating from the back office over the text? in the comment there is no metabox of the choice. I searched for this information and the only document found is this woocommerce report in the issue sections: https://github.com/woocommerce/woocommerce/issues/25656 can you help me understand how to add the rating change from the backoffice on …
By default posting a review in WooCommerce Product will add 'comment' record to Database with poster as author name. I'd like to hook Review Author Name because some customers don't want to login and leave a review, so an Admin will do for them. It's okay if the comment's user ID belongs to Admin, but what I want is the author name could be modified. I know a review can be edited by some plugins, but would be great if …
I think that everything is in the title. I would like to find a way to change the status of a post to "pending" when the post is updated when the user is an "author". I already tried with differents plugin but none of them worked. I'm new to wordpress so i don't really understand how am i suppose to modify the code to get this feature. Thx for your help ! (Sorry for my english)
Hey i would like to be able to add a review count from google reviews or trustpilot of someone else website that i am writing about them in my blog. i would like it to be accurate and therefore update every time it is changed on trustpilot so for expample if the review count is 4.8 now and then it changes to 4.9 - i would like this to reflect on my website where the 4.8 currently is. What code …
I'd like to send an automated review email to the site admin whenever a post has been published for more than 12 months. I've tried using the following code but can't seem to get it to work, or perhaps it's that I'm not entirely sure where I would put it or how I would call it??? Any help would be greatly appreciated. //send review email to admin function post_review_notification() { $old_post = 60*60*24*365; $site_title = get_bloginfo( 'name' ); $to = …
On my WooCommerce site I am trying to output the star rating for a product that is reviewed. Instead, it outputs this: Rated 3.38 out of 5 based on 8 customer ratings What am I missing with the following code? $rating_count = $product->get_rating_count(); $review_count = $product->get_review_count(); $average = $product->get_average_rating(); echo wc_get_rating_html( $average, $rating_count ); When I switch from my custom theme to default WordPress theme, the ratings then show.
I don't know if this is an issue with the module https://wordpress.org/plugins/user-role-editor/, or this is an internal behavior of WordPress, but for some reason, every time a user with "Author" role makes an update in some page content, this page goes to "pending review" and I have (as Admin), to approve it. How can I avoid this and let "Author" have its changes auto-approved?
I am searching for a solution for the following problem: I am using WP User Frontend, so that users can create posts in the frontend. After saving, the admin needs to review the post, and the publish (if approved), or reject (if not approved). If the post is approved, an email is automatically sent to the user, that his post has been approved (this I already found out how to do). But if the admin does not approve, how to …
I have a site with reviews. I am reviewing companies and not products. So instead of products, I have companies create in Woocommerce. The problem is my users can review a company unlimited times. Only option in wordpress is to limit reviews by verified customers but since there is no puchace, I cannot use that function. How do I limit a user to only review a company (product) 1 time. (Can review other products but again only 1 time)
I have installed WordPress on my linode vps and it was running without a problem till today. Today I realized I dont have admin rights to post a page in wp-admin. It doesn't show me submit button, it shows me "submit for review" button instead. It is very odd because I am logged in with admin account and for example I can use theme editor, edit styles etc. I googled it and found something about "auto increment on primary keys …
Can someone suggest how can I make a top specsheet and benchmarks for a product like laptops and mobiles in WordPress as done in top review sites. What are the relevant tools, plugins, resources and websites.
I have write a code on functions.php so when customers click a button on order detail page, redirected to product page and review tab of the product they bought. But as a novice coder, I can't get the full link to the product page and the review tab. The code below if clicked is only going to http://mywebsite.com/shop/ add_action('woocommerce_order_details_after_order_table', 'tl_review_for_order'); function tl_review_for_order() { ?> <a class="button-3" href="<?php echo get_permalink( wc_get_page_id( 'shop' ) ) ; ?>"><?php _e( 'REVIEW', 'woocommerce' ) ?></a> …
So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it comes to editing an already published post, it publishes straight away and doesnt get submitted for revision. The problem i'm having is that a user can write a post and i can review it and make sure its something aceptable …
I want to have a rating and review system for custom post type. This is the method i am thinking of ->Create a custom post type ->Create meta fields ->Create a form to post reviews front end. But how can i link the custom post type page and review together? Another method i am thinking of is to tweak comments . But all the reviews will get added up in the WordPress comment menu in backend Looking to best method …
The functionality I'm trying to achieve is a user role that allows the user to submit drafts of edits but not publish edits. Their edits must be published by an Editor or higher role user. I've searched around this Stack Exchange a bit and I haven't found any solutions that seem to work for my needs. I would prefer to avoid plugins and build this functionality directly into my functions.php file. I'm working in a non-live sandbox environment so I …
I want to get the rating value for a single review comment to create a custom reviews display, for example if a user rates a product with 4 stars, i want to get just the number 4, without any html. I know this value is stored in a variable like below. But i don't know how to get it for each comment. $rating = $product->get_average_rating() Edit: With Maxin's answer i've created a function to show the custom comment, all works …
WP Customer Reviews Plugin Looking for some shortcodes for displaying the review form only / reviews only. On the plugin page there is an info about shortcode (Shortcodes available for inserting reviews and review form on any page or widget), but I cannot find theme anywhere. http://wordpress.org/extend/plugins/wp-customer-reviews/ Have you got any experiences with the plugin? Any suggestions much appreciated.
I have a mult-author site where the author page gets high traffic. People want to know more about them. I have modified the author page to show more info, some custom fields, etc. but what I'd really like to do is turn on Comments for the author.php page (so that OTHER logged in users can leave review-like messages for the Author), and ultimately offer a star-ratings type of effect so that Users can "rate" the author. I have searched for …
i have a rating system in comments, for each comment user can rate 1-5 Stars. Now , i want the average of all ratings in comments of that post to show. How can i do that. Here is the link to the code file related to My rating System. Current Users can rate and comment. But i want the average of all comment ratings in that post. And this is a custom Post type. check this link for the code …
I have a theme on WordPress theme review queue and I'm using the below code to change excerpt length. function theme_slug_excerpt_length( $length ) { return 50; } add_filter( 'excerpt_length', 'theme_slug_excerpt_length', 999 ); Now theme reviewer ask to apply that limit on only front end, which is it should not impact on admin side. So will this below code work? function theme_slug_excerpt_length( $length ) { if ( is_admin() ) { return $length; } return 50; } add_filter( 'excerpt_length', 'theme_slug_excerpt_length', 999 ); …