Apraksts
A simple plugin for adding review and rating functionality to WordPress comments.
The plugin provides a series of template tags for adding review functionality to your comments
Here’s a few of them:
- csr_get_rating_star_form() – adds the review stars to the comment form. Ratings are automatically saved
- csr_get_rating_star_form_label() – a label for the review star field
- csr_get_rating_stars($comment_id = 0) – a view only view of the rating stars for a comment
- csr_get_comment_rating($comment_id = 0) – the numeric rating for a comment
- csr_get_overall_rating($post_id = 0) – the average rating for a post
- csr_get_overall_rating_stars($post_id = 0) – the stars representing the average rating for a post
- csr_get_rating_count($post_id = 0) – the number of ratings for a post
Uzstādīšana
- Upload the plugin zip file to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Comment Rating Stars” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Comment Rating Stars” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- Initial release