How to show total view count across all posts for an author
A list of posts in the format: Post views by Author: Author Name Post Title (15) Post Title (67) Post Title (4) Total Number of views: 86 $author_id = ”; // do stuff to get user ID $author_posts = get_posts( array( ‘author’ => $author_id ) ); $counter = 0; // needed to collect the total … Read more