ColdWarBatman (178791)
140 SFW Posts |
$getAuthorPosts = new WP_Query(
array(
"post_type" => "space_comment", // Replace "post" with your custom post type. e.g. "book" OR "WHATEVER"
"author" => $curauth->ID,
)
);
//echo $getAuthorPosts->found_posts; // Number of posts published by the author.
?>
276 Space Comments
| Favorites | RSS Feed
Registered 2012-05-14 00:57:24 Comment Karma: 484 Featured Comments: 0 Member of : |