Skip to content

Instantly share code, notes, and snippets.

@danielpowney
Last active August 29, 2015 14:13
Show Gist options
  • Save danielpowney/4d0f71f0509ef9570a26 to your computer and use it in GitHub Desktop.
Save danielpowney/4d0f71f0509ef9570a26 to your computer and use it in GitHub Desktop.
<?php
MRP_Multi_Rating_API::display_rating_result_reviews(array(
'post_id' => "", // means all posts are used
'rating_form_id' => 1,
'show_avatar' => true,
'show_date' => true,
'comments_only' => true,
'echo' => true,
'before_name' => 'Name: ',
'before_comment' => 'Comment: ',
'show_name' => true,
'show_comment' => true,
'before_date' => '<i>',
'after_date' => '</i>',
'rating_entry_ids' => '1,2,3,4',
'limit' => 10,
'show_rating_items' => false,
'show_permalink' => true,
'show_overall_rating' => true
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment