Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,849
- How-to & Troubleshooting
- 128,861
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
Why wouldn’t this work?:
$blog_post_count = result of whatever function you created to count blog posts. Then:
if ($blog_post_count > 0) echo “Blog posts: ” . $blog_post_count;
So if it’s 0, nothing gets displayed.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS