Created
February 20, 2012 19:00
-
-
Save jordanandree/1870738 to your computer and use it in GitHub Desktop.
WP Post Count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function postcount_query( $user_id ) { | |
// query user post count | |
return $count; | |
} | |
/* in template */ | |
echo postcount_query( $post->post_author ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment