Linux 软件免费装
Banner图

Rating

开发者 MDevon
更新时间 2012年8月22日 12:06
捐献地址: 去捐款
PHP版本: 2.7 及以上
WordPress版本: 3.4

标签

post widget posts page comments pages ajax shortcode admin widgets comment stars rating star vote rate star rating votes voting rate post rate page

下载

详情介绍:

Allow your users to rate post(s) and pages using a classic five star method. Insert the shortcode: [rating] in any post or page for the rating plugin to be displayed. A few notes: This section describes how to install the plugin and get it working.
  1. Upload the plugin folder rating to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Configure the plugin using the Rating Settings link in the admin Settings menu
  4. Place [rating] in your post to display the Rating system
  5. Edit /rating/assets/css/rating.css if you wish to customize the rating plugin.

常见问题:

This plugin uses jQuery. Do I need to load jQuery in my site?

Although you can load jQuery in the head section of your site, the plug in will try to detect if jQuery is loaded. If it does not detect the jQuery, it will use the default jQuery settings that WordPress is using.

How to display the rating plugin? [rating]?

The plugin requires only that you place the below code in your post(s) or page(s). You can pass the attribute star_type to the shortcode. The two current options for star_type are star,abuse,happy, and thumb. If no attribute is passed, the handler defaults to star. [rating star_type="abuse"] That's it!

I run a website with 2000+ articles. I really don't want to go through and add this to every page. Can I just embed this into my template?

The simple answer is yes. Just add the following code to your template where you want it to appear: <?php echo five_star_rating_func('star'); ?>

Can I have more than one star block per page?

No, not right now. That has been a feature request that we are investigating.

更新日志:

1.2 1.1.1 1.1 1.0