Forums
-
- Forum
- Posts
-
- Installation
- 28,486
- Troubleshooting
- 62,570
- Themes
- 10,431
- Plugins
- 15,353
- Requests & Feedback
- 14,965
- Showcase
- 3,256
-
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;