Title: Rate
Author: Scott Taylor
Published: <strong>30 ພະຈິກ 2010</strong>
Last modified: 30 ກໍລະກົດ 2015

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/rate.svg)

# Rate

 ໂດຍ [Scott Taylor](https://profiles.wordpress.org/wonderboymusic/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/rate.0.4.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/rate/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/rate/#reviews)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/rate/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/rate/)

## ຄຳອະທິບາຍ

Most ratings plugins contain too much code: inline JavaScript, messy markup, weird
CSS. Rate is simple, hardly intrusive, and completely overridable.

A Post/Page/Custom Post Type’s rating is the average of all comment ratings. A user
can leave a rating when commenting, and change that rating inline after leaving 
a comment (if logged-in or Cookie’d).

Don’t be afraid to play around and extend the code: drop a `rate.css` file in your
theme directory and mine won’t even load (by default, Rate stars are transparent
with a white border, so you can use `background-color` to set your stars’ colors)!

    ```
    <?php 
    // in this version, you need to insert these functions into your theme for ratings to appear
    // you don't have to use the_rating(), the comment_rating() will work by itself, but the_rating() will not

    // for a Post, Page, or Custom Post Type (average of all comment ratings)
    the_rating();

    // for a comment
    the_comment_rating();
    ?>
    ```

Read More: http://scottctaylor.wordpress.com/2010/11/30/new-plugin-rate/

## ພາບໜ້າຈໍ

 * [[
 * The top rating is an average of all of the comment ratings
 * [[
 * You can add the_rating() anywhere that has comments attached to it using the 
   Theme editor
 * [[
 * You can add ratings to comments in the Twenty Ten or any other Theme by adding
   the_comment_rating() to the custom comment callback located in functions.php 
   using the Theme Editor
 * [[
 * You can edit the CSS for Rate right in the Plugin Editor. Choose “Rate” from 
   the dropdown, then select rate/css/rate.css to edit the styles right in the Editor

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/316bfa470982300b84ab6dab6c64af3be2485eb7c06d58609bd9b1ec095235b2?
s=60&d=retro&r=g)

### 󠀁[great plugin](https://wordpress.org/support/topic/great-plugin-13762/)󠁿

 [yangma20](https://profiles.wordpress.org/yangma20/) 5 ພຶດສະພາ 2017

Pretty simple

![](https://secure.gravatar.com/avatar/f33517661e3ec9666a00789e98e3f831d0339d7e035fa2ee79936c71a49af233?
s=60&d=retro&r=g)

### 󠀁[Simple but nice.](https://wordpress.org/support/topic/simple-but-nice-4/)󠁿

 [Jan](https://profiles.wordpress.org/jannetto96/) 11 ກຸມພາ 2017

Very Very nice! Thanks.

 [ ອ່ານການຣີວິວທັງໝົດ 6 ລາຍການ ](https://wordpress.org/support/plugin/rate/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Rate” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາ
ປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)

[ແປ “Rate” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/rate)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/rate/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/rate/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/rate/) ຜ່ານ
[RSS](https://plugins.trac.wordpress.org/log/rate/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 0.3

 * Added jQuery as a required script – Whoops!

#### 0.2.1.1

 * Whoops, adds second argument to `rate_calculate($id = 0, $is_comment = false)`
   for internal purposes

#### 0.2.1

 * `the_rating()` now excludes ratings from comments that are awaiting moderation.`
   the_rating($id = 0)` will not take an argument of ID. Use it to show a rating
   anywhere.

#### 0.2

 * User can leave a rating while commenting now, can still edit rating inline after
   comment is posted

#### 0.1.4

 * I broke the rate.css path, oops!

#### 0.1.2

 * Got rid of Divide by Zero warning that PHP was throwing
 * Does not count ratings of Zero or non-ratings in the Average Rating displayed
   by the_rating()
 * Added screenshots to the Plugin page at WordPress.org

#### 0.1

 * Initial release

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.4**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **11 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **40+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.0.5**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/rate/)
 * ແທັກ
 * [comments](https://lo.wordpress.org/plugins/tags/comments/)[pages](https://lo.wordpress.org/plugins/tags/pages/)
   [posts](https://lo.wordpress.org/plugins/tags/posts/)[rate](https://lo.wordpress.org/plugins/tags/rate/)
   [ratings](https://lo.wordpress.org/plugins/tags/ratings/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/rate/advanced/)

## ການໃຫ້ຄະແນນ

 4.3 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 5 ລາຍການ     ](https://wordpress.org/support/plugin/rate/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/rate/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/rate/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/rate/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/rate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rate/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/rate/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/rate/)