Info
- 16 posts
- 7 voices
- Started 1 year ago by zeaks
- Latest reply from John James Jacoby
- This topic is not resolved
Bbpress plugin on single page
-
- Posted 1 year ago #
I'm trying out the latest version of the BBpress plugin using a basic Twenty Ten child theme. Is there any way to have the forum display using the one column template?
-
- Posted 1 year ago #
you have to remove <?php get_sidebar(); ?> from the folowing files:
* single-forum.php
* single-topic.php
* single-reply.phpthey are located at your bbpress plugin directory under "bbp-themes\bbp-twentyten\"
-
- Posted 1 year ago #
Great, thanks
-
- Posted 1 year ago #
I want to do the same thing. We could do with a filter here, so that we can over-ride the functionality without editing core bbPress files. That, together with the existing filter on get_body_class would allow us to emulate onecolumn-page.php without the need for the additional files.
Could this simple filter be considered for beta 2?
-
- Posted 1 year ago #
those are not core-bbpress files, those are bbpress child-theme files for twebtyten-theme.
mark, i like your idea, fillers are better. but in this case we are talking about front-end display, it depends on how your theme displayes sidebars.
-
- Posted 1 year ago #
those are not core-bbpress files, those are bbpress child-theme files for twebtyten-theme.
They're core in the sense that they'll get overwritten when I update the bbPress plugin. That's why I don't want to edit them.
Because bbPress works best using its own child theme, it's really important we have filters and actions in that theme, because we can't use our own child theme to override it (because WordPress doesn't support children of children).
I'll add a ticket to trac about it.
-
- Posted 1 year ago #
You could just as easily put some code in the sidebar.php of your theme to show/hide whenever you want it to. Contextual sidebars are an oft requested WordPress core feature too.
-
- Posted 1 year ago #
is this for bbpress 1.0 or 2.0?
-
- Posted 1 year ago #
2.0 - the OP was talking about the latest version of the plugin. 1.0 is a standalone, not a plugin.
-
- Posted 12 months ago #
I wasn't able to get this to work. I removed the <?php get_sidebar(); ?> from the 3 files, which are the bbpress twenty ten theme, doesn't seem to have any effect when I'm using a Twenty Ten child theme though.
I'll have to read up on it more.
-
- Posted 11 months ago #
This worked for me while using a Twenty Ten child theme.
.forum #primary, .forum #secondary {display:none;}
.forum #content {margin-left:50px; width: 800px;} -
- Posted 11 months ago #
Not really an optimal fix, since it's still loading the sidebar. Ultimately if you want a custom theme, you need a custom theme. :)
-
- Posted 8 months ago #
I just feel like this should be a much simpler task being that this is a forum plugin made for wordpress by wordpress. Why do I have to make a theme for a plugin for my theme that I already made for it's parent.
I am sorry, but I refuse to make 2 themes for all of the future sites I make just to support a plugin.
-
- Posted 8 months ago #
Then don't. :)
Use the theme compatibility that it comes with.
If you're not happy with the vanilla configuration, you're on your own to customize it. If you're able to make a WordPress theme, you're able to make it bbPress enabled. You just need to learn how like you did with WordPress.
-
- Posted 8 months ago #
The "vanilla" configuration doesn't show the forum until my sidebar is finished... so the page becomes extremely long and appears to have no information aside from a title and the sidebar content. I'm sorry to seem frustrated, but this is the only plugin I have used that required me to completely redesign my site or the plugin in order for it to function properly.
-
- Posted 8 months ago #
bbPress 2.0 is a plugin with 40,000 lines of code, adding huge amounts of capability equal to WordPress posts and pages themselves. Sadly, it won't work out-of-the-box with 100% of all themes, and it sounds like you're one of those cases. It's one of the first plugins to mix custom post types with theme compatibility, so you're literally one of the first few people to use it.
-
You must log in to post.