dr.house (15314)
465 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.
?>
1,322 Space Comments
| Favorites | RSS Feed
Registered 2009-09-16 20:05:05 Comment Karma: 815 Featured Comments: 0 Member of : |