rdeckard (174000)
2,555 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.
?>
645 Space Comments
| Favorites | RSS Feed
Registered 2011-07-01 04:53:26 Comment Karma: 400 Featured Comments: 0 Member of : |