Displays the rating form.
E.g. [mrp_rating_form title="My Rating Form" submit_button_text="Submit Rating"]</p>
Shortcode attributes:
| Attribute | Description | Values |
|---|---|---|
| post_id | The post id. If not set, the current post is used from the WP loop | Number |
| rating_form_id | The rating form id. If not set, default settings are used | Number |
| title | Title to be displayed i.e. Please rate this. If not set, default settings are used. | Text |
| before_title | HTML or text before title. Default is empty. | HTML or text |
| after_title | HTML or text after title. Default is empty. | HTML or text |
| submit_button_text | If not set, default settings are used. | Text |
| update_button_text | If not set, default settings are used. | Text |
| delete_button_text | If not set, default settings are used. | Text |
| show_name_input | Show the name input field. If not set, default settings are used. Only applicable when the name review field has been added to the rating form. | true or false |
| show_email_input | Show the name input field. If not set, default settings are used. Only applicable when the e-mail review name field has been added to the rating form. | true or false |
| show_comment_textarea | Show the comment textarea field. If not set, default settings are used. Only applicable when the comment review field has been added to the rating form. | true or false |
| class | Add CSS classes to the parent div element (add spaces between each class). | Text |
| user_can_update_delete | Set to false to disallow user’s from updating or deleting their existing ratings. | true or false |