Agree! Fortunately I managed to overcome this limitation by adding a small code snippet in my functions.php:
add_filter( 'the_excerpt', 'my_review_inject_data');
function my_review_inject_data($content){
$post_id = get_the_ID();
if (! function_exists('wp_review_show_total') || ! is_main_query() || ! in_the_loop() || is_singular() ) {
return $content;
}
return wp_review_show_total(false, 'review-total-only', $post_id) . $content;
}
I’m using crayon-syntax-highlighter. It’s extremely configurable.
Hi,
Thank you for your super-quick reply! Yes, I’m talking about conditionals on a group.
Cool! I just can’t wait for the update.