HoChunk (5604)
2,303 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,931 Space Comments
| Favorites | RSS Feed
CONFUCIUS SAY: "better to be wise ass than dumb shit" Registered 2008-12-12 15:09:11 Comment Karma: 4242 Featured Comments: 0 Member of : |