storminator (2681)
(MCS+)
30,258 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.
?>
5,031 Space Comments
| Favorites | RSS Feed
I live to ride my motorcycle long distance. Registered 2008-03-09 20:43:52 Comment Karma: 5942 Featured Comments: 11 Member of : |