Created
June 16, 2011 02:04
-
-
Save epicdaze/1028544 to your computer and use it in GitHub Desktop.
#wordpress - display published post count #postcount #post #count
This file contains 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
<!-- /* This simple one line snippet will display the total wordpress post count. */ --> | |
<?php echo wp_count_posts()->publish; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment