get_var("SELECT post_author FROM $wpdb->posts WHERE ID = '".$id."'"); $authorTotal = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author ='".$authorID."'"); //$numcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'"); echo "Author ID:".$authorID."
total:".$authorTotal; // -- Start the Widgets -- // ?>

:

Nothing here

Search