Category forums are already blank. Did you declare them as a category when they were already holding topics?
No…on the front-page, right when you enter the forum, it lists all the boards/forums. I have Parent Categories set up, and in the column of Topics and Posts there are zeros listed. I’d like those to just be blank instead of zero.
Which version of bbPress are you using?
I use 1.0.2 on http://needaproject.com/discussion/
Have a look, I have blanks over there
Have a look here (if you are using 0.9.0.5):
I’m on my way to implement it for my forum and will report later, if the _ck_ proposed “Add Topic” patch does work – just kidding …
I’m using 1.02 and will take a look, ashfame. : )
Yes ashfame…THAT!!! That’s what I want. : )
I’m using the guangzhou theme, as it best matches my WP theme. I’m just trying to find the part of the cod where I can manipulate that. Then if I need helping making sense of the code, I’ll be back, but at least I’ll try it on my own. : )
I have added a Link Category menu from my WP to my bbPress menu if anyone is interested. It’s from the WP template tag system. If anyone is interested in that.
The thing is I did nothing other than making forums as forum category. They are coming up as blank by themself and thats the way they should be. Can we have a link to your forums?
“Forums is category” comes standard in bbPress v. 1.0+… I think you just have to mark them as categories:
Try that, and see if your theme makes the automatic adjustment?
They don’t come up automatic, which is why I’m posting. It’s probably theme related, but there doesn’t seem to be much in my theme dealing with that other than calling functions from a core file.
Right now I have hashes in place of the numbers, just messing around. : )
That theme is missing this:
<?php if (bb_get_forum_is_category()) : ?>
That skips the counts when the forum is a category. Looks like they need to update their theme.
If the creator of that theme is not going to update it, I think I would compare the stock kakumei
front-page.php and the
front-page.php from this theme to see where the differences lie. There are lots of differences, but only a few that apply to your count issue.
Chris, great advice. The key isn’t just adding the statement, but the whole IF Loop. I’m sure you knew that, just being explicit for those like me who need further explanation when they don’t see it right away.
Now I have to match it up theme wise…I’d dig the gray background.