bbPress 2.0 Basics

bbPress 2.0 is out and I’m excited. While there is still room to grow (and JTrip will be the first to tell you this), it is a great improvement over previous versions of the plugin. Thanks John James Jacoby and the bbPress team for all your hard word; it’s greatly appreciated.

It’s easy to get up and running. Just down the plugin and activate (http://bbpress.org). It’s easy and works well. However, if you want to start customizing the layout and styles, that’s where it’s get a bit more technical and less plug-and-play. But here’s a few tips for the less obvious mechanics:

Add Forums to Navigation (2 options):

  • Use Custom Links to add “/forums” to a menu (this link may differ if you change the base for forums in the forum settings)
  • Create a page and use shortcode [bbp-forum-index]; add that page to a menu

Custom Theming

  • Use the default (easiest option)
  • Replace Styles
    • Remove the bbPress styles.css
      remove_action( ‘bbp_enqueue_scripts’, ‘bbp_theme_compat_enqueue_css’ );
    • Copy default styles to your theme’s stylesheet
      /wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/css/bbpress.css
    • Adjust styles to your whimsy
  • Replace template files
    • Copy files from “/bbpress/bbp-themes/bbp-twentyten” folder into the folder of your theme, and make your own edits from there. The files to copy include the single-*, archive-*, page-*, and anything in the subfolders
    • Replace all files, there is no defaulting
    • Add add_theme_support( ‘bbpress’ ); to functions.php

Shortcodes

* Forums
[bbp-forum-index] – Show the forum index/archive
[bbp-single-forum id=$forum_id] – Show a single forums topics

* Topics
[bbp-topic-index] – Show the topics index/archive
[bbp-topic-form] – Show the new topic form
[bbp-single-topic id=$topic_id] – Show a single topic

* Topic Tags
[bbp-topic-tags] – Show a tag cloud of all topic tags
[bbp-single-topic-tag] – Show the topics within a specific tag

* Replies
[bbp-reply-form] – Show the topic reply form

* Views
[bbp-single-view] – Show topics associated with a specific view

* Account
[bbp-login] – Show the login screen
[bbp-register] – Show the register screen
[bbp-lost-pass] – Show the lost password screen

If you have any other questions, check out the bbPress forums. It’s a great resource and John is particularly diligent about answering questions. I don’t know how it does it.

Written by the Team at Pixel Jar

We hope you got something useful out of that post. If you'd like to read more we have an active blog with topics across the spectrum of website development. If you're researching information for a project we'd love to talk to you about it.

WordPress.tv

WordPress.tv

It’s been nine years since WordPress.tv was launched. We originally posted about it back in January of 2009. At the time we didn’t know just how much content was going to make its way onto the website. Now WordPress.tv is an invaluable resource for WordPress users of all interests and experience levels. The reach of…
Read More

Expanding the Twitter Post Loading Concept to WordPress

I read a great tutorial over at NetTuts today that showed how to create a “Twitter-Like ‘load more'” button. It was grounded in WordPress, yet the author David Walsh wanted to keep it general so that anyone could integrate the functionality into their PHP code. He got his hands a bit dirty by accessing the…
Read More

How Can We Help You?

We want to build your next project.

Connect with Pixel Jar

Our Community

Subscribe to learn more about the goings on at Pixel Jar.
  • Note: Your email will be added to our CRM and be used to receive emails from Pixel Jar. You can unsubscribe at any time.

  • This field is for validation purposes and should be left unchanged.