Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,821
- Themes
- 10,310
- Plugins
- 15,225
- Requests & Feedback
- 14,831
- Showcase
- 3,252
-
Exactly, so just take 1 away from the total posts and that leaves you with how many replies there are
$number_of_posts = int $result->topic_post;
$number_of_replies = $number_of_posts – 1;
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS