bbPress 2.0 Basics

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.

WordCamp Riverside

WordCamp Riverside Coming Through in the Clutch

In November of 2017, we attended the very first WordCamp Riverside. At the camp we had the opportunity to see Mikel Bruce’s talk on attracting and closing good deals. It was a great talk full of valuable ideas. One of which was a lead service called Clutch. We were happy to support the Riverside WordPress…
Read More
translation and localization in WordPress

Translation & Localization in WordPress

Last night I gave a talk about preparing your code for the global community by making it translation ready at the WordPress Orange County developer meetup. I also showed two tools to create translations, Poedit and GlotPress. Someone also mentioned an online tool called POEditor which is free to use up to a certain number of strings.
Read More

Learn how to understand your website's strengths and weaknesses, and how to make changes for the best possible chance at success.

Download Now

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.