Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
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.