I saw the article's voting scoring plug-in on cool shell. I felt very good, so I tried to install such a voting scoring plug-in on my blog. I learned about cool shell (based on wordpress) the voting scoring plug-in on uses WP-PostRatings. The following describes how to install and use the plug-in: WP-PostRatings is specialized in WordPr.
I saw the article's voting scoring plug-in on cool shell. I felt very good, so I tried to install such a voting scoring plug-in on my blog. I learned about cool shell (based on wordpress) the voting scoring plug-in on uses WP-PostRatings. The following describes how to install and use the plug-in:
WP-PostRatings:
WP-PostRatings is a plug-in dedicated to the WordPress gantry system. it supports various styles of icons, except for traditional styles, you can also change it to multiple styles, such as love, numbers, and buttons with thumbs up/down. you can select the corresponding icon style as you like.
In addition, the review of each article has a detailed record on the website background. we can refer to the account name (if there is an open registration), Article ID, article title, and so on, through simple and complete evaluation statistics, we can carefully observe the websites that are of interest to everyone or are not welcome to those articles, this allows us to focus on the release of the article.
WP-PostRatings installation and use:
1. download the WP-PostRatings plug-in, and then upload the plug-in to a folder under/wp-content/plugins/(or search for WP-PostRatings and install it in the background installation plug-in ).
2. go to the wp management background plug-in page and click "WP-PostRatings" and "WP-PostRatings Widget". after the plug-in is enabled, an icon will appear on the left side of the page:
When you move the mouse over Ratings, four options are displayed:
Manage Ratings -- Manage and view all voting Ratings
Ratings Options -- this page is mainly used to set Options, such as the UI of the voting pendant, display of related prompt text, and permission settings.
Ratings Templates -- mainly used to set the display of template text
Uninstall WP-PostRatings -- Uninstall WP-PostRatings
3. click Ratings Options and select a favorite image style from the page, for example:
After you select an image, you can also set the Text and Value (Rating Value) displayed when you hover your mouse over a star ):
After setting, click "Update 'individual Rating Text/value' Display" to Update
You can add the comment permission and record method (based on Cookie or IP) to a specific user, for example:
After modification, do not forget to click the Saving Changes at the bottom to save the Changes.
4. after the WP-PostRatings plug-in is enabled and set according to the above method, we need to put the relevant code in the topic file so that the voting function can be correctly displayed, in the template file index. in php, find:
< ?php while (have_posts()) : the_post(); ?>
Under it, add:
Or Add the code above. comments_template is the message function. after the code is added, the voting function takes effect.
As follows:
Before voting
After voting
If you want to modify the template text like me, you can modify the template text in the Ratings Templates option. if you have any questions, please reply to me below, or ask a question in the wordpress section of the Forum to be improved.