Dreth (983)
224 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,087 Space Comments
| Favorites | RSS Feed
Registered 2007-08-12 15:50:30 Comment Karma: 93 Featured Comments: 0 Member of : |