For developers, and themes which do not make use of the WordPress wp_list_comments() function, the below code can be added to output the dropdown options for sorting comments by rating.
| Parameter | Accepted Value | Description |
|---|---|---|
| $post_id | integer | The Post ID the Comments belongs to. |
| $output_style | string | Output style. This should match the output style of your comments (ol,ul,div) |