Home › Forums › Themes Support › Claue › reviews
Tagged: reviews
- This topic has 13 replies, 2 voices, and was last updated 6 years, 5 months ago by Harry.
-
AuthorPosts
-
-
July 4, 2018 at 5:41 am #22236
hi
1.how can I add 10px space between reviews stars and wording (2 customer reviews)
also how can i change wording (2 customer reviews) to 2 reviews
2. installed Yith Advanced reviews plugin, and on your there it doesn’t show average stars on top rating, please see pic attached, how it should show yellow stars, they are grey your can see this product on my site or add any other review yourself
Attachments:
You must be logged in to view attached files. -
July 4, 2018 at 8:04 pm #22268
Hi,
1. Please add below code
.woocommerce-review-link { margin-left: 10px; }
2. Please use plugin Loco Translate http://support.janstudio.net/forums/topic/theme-translation/ and go to Loco Translate > Plugins > WooCommerce > when create new language Choose English-US
after that search string “Customer review” to change the text
3. Please add below code
.woocommerce-product-rating {margin-bottom: 15px;} #ywar_reviews .star-rating {float: left; margin-right: 10px;} #ywar_reviews .star-rating > span {position: relative;display: inline-block;z-index: 99;height: 15px;}
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 5, 2018 at 6:15 am #22288
hello all the code works thank you!
but with the loco translate I don’t see the changes, I have installed the plugin and translated file at plugins/woocommerce/i18n/languages/woocommerce-en_US.po I can not choose other folders as don’t know my ftp login, I use SFTP with SSH key.
translated %s customer review to %s reviews but don’t see this changed on the page?
do I need to copy this file somewhere maybe?
tried to copy file to /wp-content/languages/plugins but nothing happens
-
July 5, 2018 at 1:56 pm #22293
Hi,
You have to change in Other tab too http://take.ms/Y2ntd
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 5, 2018 at 5:21 pm #22298
hi, I put plural form in other but still nothing changes.
-
July 5, 2018 at 7:04 pm #22311
Hi,
Please try translate in plugins > YITH Advanced Reviews
It override content of WooCommerce
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 5, 2018 at 8:09 pm #22314
thank you all works now!
-
July 6, 2018 at 3:21 am #22325
hi I also trying to find how to remove the brackets from product review rating around the words (2 reviews),
I think it is in file woocommerce\templates\single-product\rating.php
line 37
<?php if ( comments_open() ) : ?>(<?php printf( _n( ‘%s customer review’, ‘%s customer reviews’, $review_count, ‘woocommerce’ ), ‘<span class=”count”>’ . esc_html( $review_count ) . ‘</span>’ ); ?>)<?php endif ?>
but when I edit the file to remove it, it doesn’t work. am I wrong or is is overwritten by some other file?
thank you
-
July 6, 2018 at 1:19 pm #22332
Hi, it now this overrided by plugin Yith advanced review so when you edit it not update.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 6, 2018 at 6:21 pm #22339
OK I see, but it is possible to make this changes through your child theme rather then editing original plugin ?
original file is at wp-content/plugins/yith-woocommerce-advanced-reviews-premium/templates/ywar-rating.php and if I change it works
but then I place it to /wp-content/themes/claue-child/yith-woocommerce-advanced-reviews-premium/templates/ywar-rating.php it doesn’t work
thank you
-
July 6, 2018 at 7:24 pm #22344
Hi,
Please try this path
wp-content/plugins/yith-woocommerce-advanced-reviews-premium/ywar-rating.php
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
July 6, 2018 at 7:34 pm #22345
hi not desn’t work and it is the almost the same as original path
wp-content/plugins/yith-woocommerce-advanced-reviews-premium/templates/ywar-rating.php and if I change it works
I would like to locate in in you child theme, so if I update the plugin the change will stay /wp-content/themes/claue-child/yith-woocommerce-advanced-reviews-premium/templates/ywar-rating.php
or /wp-content/themes/claue-child/yith-woocommerce-advanced-reviews-premium/ywar-rating.php
or wp-content/themes/claue-child/plugins/yith-woocommerce-advanced-reviews-premium/ywar-rating.php
all above don’t work, but it work for /wp-content/themes/claue-child/woocommerce/checkout/form-coupon.php (original path was /wp-content/plugins/woocommerce/templates/checkout/form-coupon.phpso it should be possible to do overwtire for other plugins in child theme?
-
-
July 6, 2018 at 7:42 pm #22346
Hi sorry found it for yith plugins, it should go to /wp-content/themes/claue-child/woocommerce/ywar-rating.php a bit wierd but it works!
-
July 6, 2018 at 8:15 pm #22350
Yes, i’m sorry for wrong path.
The correct path is /wp-content/themes/claue-child/yith-woocommerce-advanced-reviews-premium/ywar-rating.php
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.