Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,198
- How-to & Troubleshooting
- 126,975
- Creating & Extending
- 25,539
- Requests & Feedback
- 9,260
- Third Party Plugins
- 9,659
- Showcase
- 3,317
- Ideas
- 1,295
- Miscellaneous
- 8,710
-
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