Forums not showing up?
-
I’ve been trying to install bbPress on a clean installation of WP. The installation seems to go fine, but when I visit the forum page, only the title shows up. Is there something I’m missing?
-
Try saving your permalinks settings, then saving bbPress settings and see if it works.
Tried it. No change. The page itself loads, so the issue isn’t likely with the permalinks. It just doesn’t show the forums (title shows though)
Are you associating it with a page? Try deleting this page permanently.
No, I’m not associating it with a page. If I disable bbPress, the url becomes invalid.
Here’s what I’m getting at the moment… http://ghost1227.com/support/
Your forum seems to be working correctly. Have added some forums and topics?
Yes… there are two forums and a test topic. That’s the problem. It only loads the page title, no other content is loaded…
Ok.
In the forum page you created, try adding this shortcode: [bbp-forum-index]
It’s not the natural thing to do, but will force WordPress to display bbPress.
Try changing theme to TwentyEleven and see if bbPress still doesn’t work.
If I switch to TwentyEleven, it works fine.
Ok, so your theme is doing something wonky.
Kinda what I figured… but I don’t know enough about how bbPress works to even begin troubleshooting what would be weird on the theme level.
As OC2PS said, it’s definitely you there.
Unfortunately many themes out there filter the_content and do other weird (and not so correct) things that bbPress doesn’t/can’t take into account.
My recommendation would be to contact the theme author and alert him of the issues you are having.
Already did, theme author isn’t supporting bbPress. I’m more than willing to do the work myself, if I knew what bbPress needed, problem is there doesn’t seem to be any documentation on what it actually does at that point in the codebase.
That sucks. If theme was done properly to begin with it wouldn’t have these issues – instead theme authors junk them up with function that change how the WordPress output is expected.
Depending on what theme you are using, sadly the best way is going to be to start going through you theme and temporarily commenting out functions that filter and/or change how the content outputs.
it’s not ideal but its just the way it goes when you are dealing with themes like this.
I had the exact same problem, and have found a solution that worked for my case:
I have a custom theme running and the site.com/forums/ page was not listing the forums, even though I had created a couple sample forums and topics to make sure there was dummy data.Thanks to Jared, it became quite apparent that the “the_content()” WordPress function was not properly generating the forum.
At first I tried disabling all the plugins, except bbpress, to see if perhaps a plugin was conflicting with the “the_content()” function; but no luck.
I then installed the TwentyTwelve theme, and switched to that, and voila, the forums were showing! Something was different in the TwentyTwelve theme that I didn’t have in my custom theme… and I narrowed it down:
SOLUTION: Make sure you have the “the_post()” function call BEFORE the “the_content()” function, in your page.php template file in your theme folder. Something in bbPress must be getting triggered by the “the_post()” function which ties into the “the_content()” function displaying the forums content properly. All subsequent pages also display properly.
Simply, ensure “the_post()” is called before “the_content()”. Did the trick for me! Good luck!
- You must be logged in to reply to this topic.