Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can't get bbPress to work with custom WordPress theme


  • erobertwald
    Member

    @erobertwald

    I am pulling my hair out on this. I have tried getting bbPress to work with a WordPress site using a custom theme and evidently I’m missing something because it just isn’t happening. Here’s what I’ve done based on what I could find for instructions so far:

    • I installed and activated the plugin through the wordpress admin.
    • I created a test forum and a test topic through the wordpress admin.
    • I created a child theme folder, named the same as the primary theme appended with ‘-child’.
    • I copied the contents of the wp-content/plugins/bbpress/bbp-twentyten into the child theme folder.
    • I updated the style.css file ‘Template:’ line to refer to the parent theme.
    • I added ‘add_theme_support( ‘bbpress’ );’ to the main theme’s functions.php.

    When I go to the forum via http://www.carolina-business.org/forums/, I get a page that spits out a section titled with the most recent post title and a huge amount of blank space with the forum list at the bottom of the section. This is followed by a section for every other post on the site, each of these containing the forum list.

    When I go to the forum via http://www.carolina-business.org/forums/forum/test-forum-1, I get another page that shows all of the posts in the site. I get the same result via http://www.carolina-business.org/forums/topic/test-topic-1/.

    What I’m trying to achieve is for the forum to appear in the content area of the site, within one of the content frames (the white box with the green header and gray border.)

    Can anyone tell me what I am doing incorrectly/not doing? Thanks!

    • This topic was modified 11 years, 8 months ago by erobertwald.
    • This topic was modified 11 years, 8 months ago by erobertwald.
Viewing 4 replies - 1 through 4 (of 4 total)
  • bbPress 2.1 now has built-in theme support, try using the steps outlined here:
    https://codex.bbpress.org/theme-compatibility/


    erobertwald
    Member

    @erobertwald

    Thanks, natweb. This already looks a lot better, though I’ll be styling for a bit. At least now it’s coming up only as one list of forums instead of over 200! Hopefully this will make things less painful!


    erobertwald
    Member

    @erobertwald

    A quick follow-up question. I’ve already found that the clear: both; rule in the bbpress.css file conflicts with my theme. I’ll need to override that. If I make changes in that file, will they be overwritten in an update? Is there a place to override styles elsewhere from within my theme?


    erobertwald
    Member

    @erobertwald

    Answering my follow-up question: I was able to override the bbpress.css styles by adding a css folder to my theme and copying the bbpress.css file into that for editing.

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