Where are the BBPress templates stored when using Buddypress?
WPMU DEV Community
Where are the BBPress templates stored when using Buddypress?
Inactive
36 pointsStarting to get into this DEV thingI'm new here
danoman
Member
—
22nd December 2011 (5 months ago)
I need to change the markup in the forum part of a network based on Multisites, Buddypress, and BBPress sitewide forums. Strangely I can not find the template files.
I thought they would be in wp-content/plugins/bbpress/bbp-themes/bbp-twentyten, but no luck. Maybe because I'm using a childtheme to bp default.
I need to change the markup in the forum part of a network based on Multisites, Buddypress, and BBPress sitewide forums. Strangely I can not find the template files.
I thought they would be in wp-content/plugins/bbpress/bbp-themes/bbp-twentyten, but no luck. Maybe because I'm using a childtheme to bp default.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
22nd December 2011 (5 months ago)
#
Hi danoman,
I believe that, as with regular theme templates, single.php should be used by default, but you can create single-forum.php and utilize customizations there. I imagine you could copy over the existing code from single.php in the BP Default theme folder into a newly create single-forum.php file and add your changes there.
There's also single-topic.php, which would be done similarly, and I think that might actually be the template file you'd be looking to use.
I've not delved into bbPress templating myself as yet but it seems you'd want to copy over the files from bbPress Twenty Ten, except for functions.php and style.css.
1. Copied all files and subfolders, except functions.php and style.css, from bbp-twentyten to the folder of my child theme.
2. Copied the contents from bbp-twentyten/functions.php and pasted it in the functions.php of my child theme (i.e. merged the functions.php).
The predicted result would be no change at all, since I've not yet changed any code/css, right?
But what actually happens is: my layout gets messed up.
Makes no sense.
7259 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Support Chimp
—
23rd January 2012 (4 months ago)
#
Hey there! :-)
Just checking in to see how things are going with this one and if you need any further help. :-)
We haven't heard from you on this thread for a while. So I'm going to presume your all fixed up now and don't need any further assistance.
However if you have more questions or need some more help then please feel free to respond in this thread or create a new one and we will be more than happy to offer assistance. :-)
Responses (3)
WPMU DEV Fanatic — 22nd December 2011 (5 months ago) #
Hi danoman,
I believe that, as with regular theme templates, single.php should be used by default, but you can create single-forum.php and utilize customizations there. I imagine you could copy over the existing code from single.php in the BP Default theme folder into a newly create single-forum.php file and add your changes there.
There's also single-topic.php, which would be done similarly, and I think that might actually be the template file you'd be looking to use.
Also good to mention here though, the following 2 threads over at the bbPress forums seem to go through this specifically:
http://bbpress.org/forums/topic/bbpress-20-theme-compatibility
http://bbpress.org/forums/topic/child-theme-not-playing-nice-with-bbpress-20-rc-4
I've not delved into bbPress templating myself as yet but it seems you'd want to copy over the files from bbPress Twenty Ten, except for functions.php and style.css.
I'll see what else I can find on this myself too.
-David
Member — 23rd December 2011 (5 months ago) #
Thanks for helping, I've tried this:
1. Copied all files and subfolders, except functions.php and style.css, from bbp-twentyten to the folder of my child theme.
2. Copied the contents from bbp-twentyten/functions.php and pasted it in the functions.php of my child theme (i.e. merged the functions.php).
The predicted result would be no change at all, since I've not yet changed any code/css, right?
But what actually happens is: my layout gets messed up.
Makes no sense.
Support Chimp — 23rd January 2012 (4 months ago) #
Hey there! :-)
Just checking in to see how things are going with this one and if you need any further help. :-)
We haven't heard from you on this thread for a while. So I'm going to presume your all fixed up now and don't need any further assistance.
However if you have more questions or need some more help then please feel free to respond in this thread or create a new one and we will be more than happy to offer assistance. :-)
Take care.
Become a member