Skip to content

Instantly share code, notes, and snippets.

@danielpowney
Created December 18, 2016 01:35
Show Gist options
  • Save danielpowney/be5be7925b8eaaafd80b4ed79b5e427c to your computer and use it in GitHub Desktop.
Save danielpowney/be5be7925b8eaaafd80b4ed79b5e427c to your computer and use it in GitHub Desktop.
<?php
if ( function_exists( 'mrp_rating_result' ) ) {
mrp_rating_result();
// you can also pass in parameters such as the the post id if needed e.g. mrp_rating_result( array( 'post_id' => $post_id ) );
}
@danielpowney
Copy link
Author

Do you have the Free or Pro version of Multi Rating? This is a Pro version specific function. Alternatively, in the free version you can use the do_shortcode WP function <?php echo do_shortcode( "[mr_rating_result]" );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment