Check if a post has been rated.
-
Is there a way to check if a post has been rated yet? I want to display the result only if the post has been rated. If the post hasn’t been rated yet, then show form (instead of “No ratings yet” text). Something like this:
if ( *if_post_has_been_rated* ) { echo do_shortcode('[mr_rating_result]'); } else { echo do_shortcode('[mr_rating_form]'); }Is this possible?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Check if a post has been rated.’ is closed to new replies.