| 开发者 | ideag |
|---|---|
| 更新时间 | 2018年6月13日 05:14 |
| 捐献地址: | 去捐款 |
| PHP版本: | 4.6 及以上 |
| WordPress版本: | 4.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
cache attribute to it./wp-content/plugins/tinyratings directory, or install the plugin through the WordPress plugins screen directly.Settings -> tinyRatings screen to configure the plugin[tinyrating] shortcodeUse [tinyrating] shortcode, or <?php do_shortcode( '[tinyrating]' ); ?> if you want to insert it directly into a template.
Use [taxrating] shortcode, or <?php do_shortcode( '[taxrating]' ); ?> if you want to insert it directly into a template.
Use [listrating] shortcode, or <?php do_shortcode( '[listrating]' ); ?> if you want to insert it directly into a template.
Sure, just use a custom type attribute for [tinyrating] shortcode. For example, the plugin settings page uses [tinyrating type="demo"] to display a demo rating.
[tinyrating] shortcode have?Here is the list of available attributes:
style - allows to choose rating appearance. Available styles currently include star (default), like, likedislike and updown.id - object id.type - object type, for example 'post', 'tax', 'list', 'demo', etc.subtype - object subtype, for example 'page', 'category', post ID for lists, etc.inline - changes the container div to display:inline-block.float - floats the container div to the left or to the right.active - pass false to disable new votes.[tinyrating_top] shortcode or using "tinyRatings Top List" widget.
[tinyrating_top] shortcode have?Here is the list of available attributes:
style - allows to choose rating appearance. Available styles currently include star (default), like, likedislike and updown.type - object type, for example 'post', 'tax', 'list', 'demo', etc.subtype - object subtype, for example 'page', 'category', post ID for lists, etc.limit - How many top objects should be displayed.list_type - Which type of list elements (<ul> or <ol>) should be used for the top list. By default, shortcode uses <ol> and widget - <ul>.rating - pass false to disable display of ratings next to object names in the list.float - gets passed down to [tinyrating] shortcode.active - gets passed down to [tinyrating] shortcode.