Deleted_User (2733)
1,020 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.
?>
4 Space Comments
| Favorites | RSS Feed
Registered 2008-03-12 22:25:57 Comment Karma: -3 Featured Comments: 0 Member of : |