Hello,
I want to show it in the “contents.php” the number of reviews,
I have written a code like this,
<? php
global $ wpdb;
$ row = $ wpdb-> get_results ("SELECT COUNT (*) AS 'total' FROM 'wp_wpcreviews' WHERE 'page_id' = $ post-> ID AND 'status' = 1");
$ the_content = $ row [0] -> total 'Reviews';
?>
</ code>
It appears simply as “Array” then.
How can you do that “contents.php” How do I reflect the number of good reviews?`