Comment_form and GD Star Rating

Got it! The key was a custom callback on wp_list_comments. Here’s the snippet of code I used within my comments: <?php if (defined(“STARRATING_INSTALLED”)) : ?> <div class=”rating” style=”float: right”> <?php wp_gdsr_comment_integrate_standard_result(get_comment_ID()); ?> </div> <?php endif; ?>

Fetching review value using wpdb class

You need to add the global $wpdb reference and also add the second parameter required for prepare(): global $wpdb; $post_id = $post->ID; $reviewScore = $wpdb->query( $wpdb->prepare( “SELECT review FROM {$wpdb->prefix}gdsr_data_article WHERE post_id = %d”, $post_id ) );

techhipbettruvabetnorabahisbahis forumutaraftarium24edusedusedusedueduseduseduseduseduedus