Forums

Join
bbPress Support ForumsTroubleshootingTopic Templates

Info

Topic Templates

  1. I am working on a personal project over at http://noded.org and I was just wondering if there was the possibility of having more control over the topic pages. WordPress allows you to create different templates like category-2.php etc for each category, is there any way to achieve this for topics in bbpress. Guess an if topic 5 use these functions would be the best approach if anyone could help.

  2. Hmmm...

    it may be possible to write a short plugin to overwrite and extand the Template-Function.
    Actually the post_template() loads only the "post.php" - in functions.bb-template.php


    function bb_post_template() {
    bb_load_template( 'post.php' );
    }

  3. Cheers for info. Ah yes forgot about that, although what I would love to achieve could be done around this.

  4. It's easy to control what template loads, just override it at the end of your header.php and include any other template with any other name from there - then just make sure to load the footer manually and exit before bbPress does the rest of it's own routine.

  5. You must log in to post.