Rating In Latest Comment
-
I want To Show latest comment with rating..
Iam Using The code below.. But Its don’t Shown Any Rating…<?php $comments = get_comments('status=approve&number=3'); foreach($comments as $comment) :?> <?php $my_id = $comment->comment_post_ID ; $post_id_comms = get_post($my_id); $title = $post_id_comms->post_title;?> Who: <?php echo($comment->comment_author);?><br /> Rating: <?php wp_gdsr_comment_integrate_standard_result(get_comment_ID(), '', 16); ?> About: <a href="<?php get_permalink($comment->ID)?>#comment-<?php echo $comment->comment_post_ID?>" title="on <?php echo $title ?>"><?php echo $title ?></a><br /> What they said: <?php echo($comment->comment_content);?><br /> When they said it: <?php echo($comment->comment_date);?><br /> <?php endforeach;?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Rating In Latest Comment’ is closed to new replies.