Multi Rating Pro contains an extensive template system which allows anyone with basic PHP, HTML and CSS knowledge to customize the plugin’s presentation. Simply copy & paste the template file from the plugin’s “templates” folder and place it one of the following theme locations:
- wp-content/themes/CHILD_THEME/multi-rating-pro/{filename}
- wp-content/themes/PARENT_THEME/multi-rating-pro/{filename}
- wp-content/plugins/multi-rating-pro/templates/{filename}
The plugin searches the above following file locations in order of priority and will use the new template file if it finds a match.
Note: There are various action hooks and filters also available within the templates which can also be used to customize the presentation.
The plugin contains the following template files:
Template File | Description |
---|---|
comment-text.php | Shows the ratings alongside comment text. WP comments system integration only. |
custom-field-value.php | Shows the value of a rating entry for a custom field. |
rating-form-custom-fields.php | Show custom field input or textarea in a rating form and the WP comment form. |
rating-form-custom-star-images.php | Shows the custom star rating images as a rating item type in the rating form and the WP comment form. |
rating-form-radio.php | Shows the radio buttons as a rating item type in the rating form and the WP comment form. |
rating-form-rating-item.php | Iterates rating items in a rating form and invokes appropriate templates. |
rating-form-select.php | Shows the select dropdown as a rating item type in the rating form and the WP comment form. |
rating-form-star-rating.php | Shows the star ratings as a rating item type in the rating form and the WP comment form. |
rating-form-thumbs.php | Shows the thumbs up/thumbs down as a rating item type in the rating form and the WP comment form. |
rating-form.php | Shows the rating form and invokes appropriate templates. |
rating-item-results.php | Iterates rating items and invokes templates to show results. |
rating-result-custom-star-images.php | Shows custom star rating images rating result. |
rating-result-list.php | Iterates ratings and shows a list of ratings. Invokes appropriate templates. |
rating-result-percentage.php | Shows the percentage rating result. |
rating-entry-details-list.php | Iterates rating entries and shows them in a review format |
notification-rating-details.php | Rating details used in e-mail templates |
rating-result-score.php | Shows the score rating result. |
rating-result-star-rating.php | Shows the star rating result. |
rating-result.php | Invokes templates to show the appropriate rating result. |
thumbs-value.php | Shows the value of a rating entry for the thumbs rating item type. |