Can’t print out returned value
Correct way to get the ratings for individual authors. This is for the author.php page. If you want to display it elsewhere on your site, for example to show the number of likes for the currently logged in user, then use get_current_user_id( ‘ID’ ); in place of get_the_author_meta. <?php function author_rating_total() { $user_id = get_the_author_meta( … Read more