• 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;?>

    http://wordpress.org/extend/plugins/gd-star-rating/

Viewing 1 replies (of 1 total)
  • Thread Starter sreerajr

    (@sreerajr)

    <?php wp_gdsr_comment_integrate_standard_result(get_comment_ID(), ”, 16); ?>

    This Function is working Only In Single.php

Viewing 1 replies (of 1 total)
  • The topic ‘Rating In Latest Comment’ is closed to new replies.