Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Templates

  • @burkie

    Participant

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @markus-pezold

    Participant

    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' );

    }

    @burkie

    Participant

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

    @_ck_

    Participant

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar