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.

Best Practices for Protecting Your WordPress Site

Best Practices for Protecting Your WordPress Site

If the events surrounding industry giants such as Facebook and Equifax have taught us anything, it’s that protecting your website is no joke. Not only do you expose your customers to all sorts of risks, but your own organization can face tough issues. From cleaning your site of infections to restoring brand integrity to your…
Read More
custom web design surety

A Custom Web Design with Surety

We had the pleasure of providing a custom web design for a wonderful, family-owned business, Coats Surety. Coats has been providing surety services for over 20 years. They came to us with a website that needed a major overhaul. We always enjoy working with local businesses and they were great collaborators. Instead of a stock,…
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.