Forums
-
- Forum
- Posts
-
- Installation
- 27,757
- Troubleshooting
- 60,837
- Themes
- 10,202
- Plugins
- 15,012
- Requests & Feedback
- 14,661
- Showcase
- 3,238
-
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