이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Better WooCommerce Stars Shortcode

설명

Creates a shortcode, [woocommerce_rating id="n"], that displays the rating, in stars, of any WooCommerce product. [woocommerce_rating] will show the star rating of the current product. This plugin requires WooCommerce.

설치

  1. Log in to your WordPress dashboard, then click Plugins->add new.
  2. Search for the Woocommerce Stars Shortcode plugin in the plugin repository.
  3. Click the “install now” link under the name of the plugin.
  4. Activate the plugin.

Or, if you prefer:
1. Upload woocommerce_stars_shortcode.php to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Installation Instructions
  1. Log in to your WordPress dashboard, then click Plugins->add new.
  2. Search for the Woocommerce Stars Shortcode plugin in the plugin repository.
  3. Click the “install now” link under the name of the plugin.
  4. Activate the plugin.

Or, if you prefer:
1. Upload woocommerce_stars_shortcode.php to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

How about some instructions?

Instructions are here: http://clicknathan.com/web-design/better-woocommerce-star-ratings-shortcode-plugin/

What are the short code options?

[woocommerce_rating id=”n”] is the default. Replace “n” with the ID of the product you want to show the ratings for.

[woocommerce_rating id=”n” link=”false”] Add this if you don’t want the star rating to be a link.

[woocommerce_rating id=”n” newwindow=”true”] Add this if you want the link to open in a new window.

[woocommerce_rating id=”n” alttext=”Some alternative text”] This allows you to customize the text shown when a product has not yet been rated.

[woocommerce_rating id=”n” displayaverage=”true”] This will add a number, the average of all ratings for this product, after the stars, like ( 3.25 )

[woocommerce_rating id=”n” displaycount=”true”] This will add a number, the total number of ratings for this product, after the stars, like ( 420 )

후기

2017년 10월 9일
This is perfect plugin! Simple and easy to use. I really love it, thanks mate! If anyone can not use in theme files use do_shortcode function like that; <?php echo do_shortcode( '[woocommerce_rating]' ); ?>
2016년 11월 26일
So this is the first time I am reviewing a plugin. So why this one? Because I am using a highly customized theme and several plugins with it, I couldn't figure out a simple way of how to show the Star Count on a Product Page using Visual Composer. This plugin solved this problem. It couldn't be easier. Thank you very much! P.S.: I made a small enhancement to the code of the plugin, so that when you click on the stars, it will take you down the site to the reviews (the 'one-pager' style), and not just refresh the page. When you want to do the same, in your Visual Composer (or similar) specify an ID to a row/section you want a click on the stars to move to (Reviews in this case), then edit the plugins file by appending the id to the link: $link = get_permalink( $id ) . "#theIDyouChose"; This will append the ID to the link of the stars.
모든 3 평가 읽기

기여자 & 개발자

“Better WooCommerce Stars Shortcode”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Better WooCommerce Stars Shortcode”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Updated the shortcode options to allow displaying an average count and total count after the star display
  • Made the newwindow option “false” by default.
  • Plugin now injects necessary CSS via wp_footer

0.5

  • Release