bbPress customization: Can't integrate into existing template (shortcodes OK)
-
Hi there – and sorry upfront for yet another question with regards to bbPress-Themes…
- I have been doing thorough research in the forums, no answers for me…
- Versions: WordPress running 3.4.2, bbPress is 2.1.2
My situation_
I have setup bbPress to work with my custom theme (OptimizePress) and embedded the [bbp-forum-index]-shortcode into a single page (“forum”). Here I could obviously pick a site-template and therefore the forum is nicely embedded into my site-layout.
Since I cannot continue using shortcodes & (slug-)pages for dynamically generated topics, I went ahead and followed the customization instructions. I can ensure that the right (template-)files are called upon (inside my /theme-directory) because I played around with content-single-forum.php f.ex. and also checked for the correct CSS-reference.
I also followed the instructions concerning the functions.php (in /theme):
add_theme_support( 'bbpress' ); remove_action( 'bbp_enqueue_scripts', 'bbp_theme_compat_enqueue_css' );
Now I need to wrap the forum-specific template-files with the page-template used by my custom theme. I already tried integrating the bbPress-code into the exisiting page-template with no positive result (no server-response or strange loop-behaviour).
Either I went down the right road but am weak in skill at modifying PHP-Code or there is a far easier approach I haven’t seen/figured out yet (which again doesn’t compliment me on my skill-level…).
Anyways, maybe someone can help me out / hint me into the right direction.
Thanks so much in advance,
RegardsHenning
- You must be logged in to reply to this topic.