Forums
-
- Forum
- Posts
-
- Installation
- 27,249
- Troubleshooting
- 59,562
- Themes
- 10,066
- Plugins
- 14,830
- Requests & Feedback
- 14,487
- Showcase
- 3,226
-
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