bbPress Shortcodes Directory

Posted by & filed under bbPress Tutorials, Developing for WordPress, How To's, Page Templates, Plugins, Shortcodes.

If you are working with bbPress or are thinking about using bbPress as your website’s support forum, I would highly recommend becoming familiar with the following shortcodes for displaying your forum content. We created this directory as a result of our own difficulties in trying to work with what bbPress documentation there is available. Unfortunately, it seems there is not a lot of effort being put into the current bbPress site. bbPress 2.0 has a lot of potential and we wanted to offer some guidance to get you started, because we love the WordPress community.

Note: These shortcodes are for bbPress 2.0.

Forum Shortcodes:

  • [bbp-forum-index]- Displays an index/archive of all forums. See Example
  • [bbp-single-forum id=$forum_id]- Displays topics for a single forum. Replace $forum_id with the forum ID that you want to display. See Example

Topic Shortcodes:

  • [bbp-topic-index]- Displays an index/archive of all topics. See Example
  • [bbp-topic-form]- Displays a Create New Topic form. See Example
  • [bbp-single-topic id=$topic_id]- Displays posts for a single topic. Replace $topic_id with the post ID that you want to display. See Example

Topic Tags:

  • [bbp-topic-tags]- Displays a tag cloud of all topic tags. See Example
  • [bbp-single-topic-tag]- Displays specific topics within a given single tag.

Topic Reply Form:

  • [bbp-reply-form]- Displays a topic reply form. Note: To work correctly this needs to displayed on a specific top id. See Example

Single Topic View:

  • [bbp-single-view]- Displays topics associated with a specific view.

Account:

  • [bbp-login]- Displays the login screen. Note: Only required if users have to register to access forums. See Example
  • [bbp-register]- Displays site registration form. Note: Only needed if users have to register to access forums. Submit button needs to be added manually. See Example
  • [bbp-lost-pass]- Displays fields to retrieve lost password. Note: Only required if user have to register to access forums. See Example

This directory is a collection gathered from the bbPress.org site. If you have any issues or errors when using them, be sure to take a look at bbPress Support Forum or let us know below.

Tags: , , ,

Brady Nord

I am the co-founder of Mojoness Inc. and a handful of other good times. I thoroughly enjoy most things with my wife, friends and WordPress.

54 Responses

  1. Melinda McCaw January 19, 2012 at 10:16 pm

    I am trying to set my forum up so that instead of the reply form being on the same page as the topic it is on a separate page and there is just a “post reply” button on the topic page. I have been able to add the button and link it to a page that has only the reply form on it but when I try to submit a reply I get the following errors:
    ERROR: Topic ID is missing.
    ERROR: Forum ID is missing.

    Is it possible to do what I am trying to do? If so how do I do it? Seems like I need to be able to tell the reply form page the Topic ID and Forum ID but I don’t know how to go about it. Can you help me? I have been searching all over but no luck. The bbpress site seems about useless, there isn’t hardly any documentation.

    Any help you can give would be greatly appreciated.
    Thanks!

    Reply
  2. glrwork March 9, 2012 at 11:21 pm

    I really, really wish there was an answer to this. I’ve been searching for this as well. It’s pretty easy to find the short codes that you need to use, however nobody seems to want to tell us how to use them.

    Everything I’ve seen on the topic seems to be wrtten for people who already know how to do it!

    Reply
    • JR Farr July 20, 2012 at 10:30 pm

      Hey there, all you have to do is go to the post or page you want to display these shortcodes on and paste the shortcode inside the editor. Then hit publish or update on that page and you’ll see the content on the front-end.

      Maybe we’re not following what you’re asking though. Does that answer your question?

  3. Zeaks June 9, 2012 at 4:30 pm

    I really don’t see the reason to use BBpress over a third party forum for WordPress such as Vanilla. It lacks documentation and it’s so much work to do the simplest things with BBpress. For a forum plugin supposed to be FOR WordPress, just getting it to fit into your theme is complicated and the amount of template files needed is ridiculous.
    I use it for one site but It’s not user friendly at all.

    Reply
  4. Rick July 3, 2012 at 7:47 pm

    If you use shortcodes for bbpress, then do you still have to follow the setup procedures they outline? I have buddypress on my site for my community. And I want to use bbpress for may classifieds section. I don’t want my topic posts to flow into the activity stream in buddypress. I want the community and classifieds to be separate. Would using shortcodes to set up bbpress prevent this? If so, then what is the best method for setting up bbpress with shortcodes?

    Reply
  5. Chris July 27, 2012 at 7:54 am

    How would you go about customising the output of the shortcodes. In the [bbp-login] example above how would you add the “Whoa there Cowboy . . .” title of the output? In my set up there is no title, just a plain login box. I can style it with css but how to deal with the wording?

    Reply
  6. Samuel August 9, 2012 at 7:10 am

    I have a problem… I installed bbpress Version 2.1.2 into the latest wordpress version… when I visited the forums page (mywebsite.com/forums/) the forum i created showed up… browsed through and on clicking the user profiles, I didn’t quite understand how the profile links worked so i went ahead to install this plugin “Disable bbPress Profile Override” and activated it… Now, when i visit “mywebsite.com/forums/” it shows a blank page… the forum doesn’t show up… all I see now is just blank pages… I have disable the plugin “Disable bbPress Profile Override” even deleted it, I have changed the them to 2010 and yet same, I have disabled the bbpress plugin, enabled, deleted, re-installed and yet nothing’s showing up on my forums page…. I’ve looked around and tried everything I could and yet my forums page is still showing me a blank page…

    I don’t really know what to do and also what caused this…

    Please kindly help me.

    Thanks

    Samuel

    Reply
  7. Regis October 4, 2012 at 9:06 am

    my problem is to display the many sub-forums I have under the main forum page buddypress page.
    they do not show with shortcode [bbp-forum-index]
    I got them by doing custom links on the menu, but not form this main single page who only display topic so far.

    Reply
  8. Elliot November 23, 2012 at 10:16 am

    Anyone know best practice for getting breadcrumbs correct.

    I have the main forum setup at /forums/ and the topics etc.. all display correct breadcrumbs.

    However, when I setup a custom page (for instance to post a topic), the breadcrumbs don’t display the forums as parent. Now, I imagine if I created a custom page for the forums and used a shortcode, then made that the parent for new topic, I would have correct breadcrumbs.

    But that shouldn’t be required as I have the forums setup correctly already. Any thoughts?

    Thanks

    Reply
  9. Virgie December 16, 2012 at 4:02 pm

    Today, while I was at work, my cousin stole my iphone and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed and she has 83 views. I know this is totally off topic but I had to share it with someone!

    Reply
  10. Leroy January 1, 2013 at 12:58 am

    Wonderful blog! Do you have any tips for aspiring writers? I’m hoping to start my own site soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m completely confused .. Any recommendations? Thanks a lot!

    Reply
  11. Lindsey January 11, 2013 at 6:51 am

    May I simply just say what a comfort to uncover somebody that actually understands what they are talking about on the internet. You actually understand how to bring an issue to light and make it important. More and more people should look at this and understand this side of the story. It’s surprising you’re not more popular because you certainly have the gift.

    Reply
  12. Van January 14, 2013 at 6:51 am

    Thanks , I’ve recently been looking for info approximately this subject for a long time and yours is the greatest I’ve discovered so far. However, what about the conclusion? Are you sure concerning the source?

    Reply
  13. white shag rug January 14, 2013 at 8:24 am

    I almost never leave remarks, however i did some
    searching and wound up here bbPress Shortcodes – bbPress Forum 2.
    0. And I do have a couple of questions for you if it’s allright. Is it just me or does it give the impression like a few of the remarks come across like written by brain dead individuals? :-P And, if you are posting at additional sites, I’d like to keep up with anything fresh you have to post.
    Could you make a list of all of all your social sites like your linkedin profile, Facebook page or twitter feed?

    Reply
  14. Dave January 16, 2013 at 7:04 pm

    Remarkable things here. I’m very satisfied to look your article. Thank you a lot and I’m looking ahead to contact you. Will you please drop me a e-mail?

    Reply
  15. Gracie January 25, 2013 at 2:47 pm

    I’m now not sure where you are getting your info, but good topic. I must spend some time studying much more or figuring out more. Thanks for great information I was in search of this information for my mission.

    Reply
  16. www.sabrn.org January 26, 2013 at 5:12 pm

    One of the most prime appearances of usage an advert cash
    progress for the short official could be that the
    cash that’s forward can be usage anyway the commercial holder looks suitable. A preplanned expense, for getting something that’s out of your respective
    budget constraints, is usually managed via a bank loan.

    Reply
  17. chicago best restaurants oprah February 15, 2013 at 12:52 am

    While many chicago restaurants are closed on Grace Day, In that respect are a handful of affordable and should be
    able to fit to nigh budgets. On their Fare you can find everything
    from appetizers and salads you indulge in the Thanksgiving Day
    buffet wealthy with all of the traditional favorites.
    Of line, if you’d sooner not classic melting hot umber souffl? delivers utter go.

    Reply
  18. NextTrak February 24, 2013 at 12:47 pm

    Hi, dear I used code for registration while creating the page for registration. It is working but it leads the user at this

    mysite/ ….. /wp-login.php?checkemail=registered

    I want that it should be on the same page and just show that “Please check your email to find out the password”

    How this can be accomplished?
    Please help me.

    Reply
  19. Tim March 13, 2013 at 9:55 am

    Hi Thx for these, I am trying to use [bbp-topic-index] which works fine but how do I limit the number it shows? I have tried adding number=”3″ but didn’t work.

    Any ideas?

    Have a great day to you all :)

    Reply
  20. Learn More April 2, 2013 at 9:03 am

    Whoa, just what web hosting provider are you using?
    Website showed up extremely quickly and there wasn’t any lag at all. I only ask simply because my web host stinks in a big way. Ok, thx! Impressive post by the way!

    Reply
  21. clicksia April 7, 2013 at 7:30 pm

    great points altogether, you just gained a brand new reader.
    What could you suggest about your post that you just made a few days in the past?
    Any positive?

    Reply
  22. blindhiker.com April 10, 2013 at 3:41 am

    My partner and I absolutely love your blog and find a lot of your post’s to be exactly what I’m looking for.
    Does one offer guest writers to write content for yourself?
    I wouldn’t mind publishing a post or elaborating on many of the subjects you write with regards to here. Again, awesome website!

    Reply
  23. Santiago April 13, 2013 at 10:42 pm

    It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I want to suggest you some interesting things or suggestions. Maybe you can write next articles referring to this article. I want to read even more things about it!

    Reply
  24. weeklyvolcano.com April 15, 2013 at 3:38 pm

    Hey! I just wanted to ask if you ever have any
    issues with hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no backup.
    Do you have any methods to stop hackers?

    Reply
  25. anti cellulite slimming April 17, 2013 at 6:13 am

    I was pretty pleased to uncover this site. I want to to thank
    you for ones time for this particularly wonderful read!
    ! I definitely loved every bit of it and I have you saved as a favorite to look at
    new stuff in your blog.

    Reply
  26. Hold em April 19, 2013 at 11:22 am

    It’s truly a great and helpful piece of information. I am satisfied that you shared this useful info with us. Please stay us up to date like this. Thanks for sharing.

    Reply
  27. Shenna April 24, 2013 at 1:32 am

    Do you have a spam problem on this site; I also am a blogger, and I was wondering your situation; many of us have developed some nice practices and we are looking to trade techniques with other folks, please shoot me an email if interested.

    Reply
  28. Brigitte April 30, 2013 at 11:03 pm

    Fantastic site. Plenty of useful info here. I’m sending it to several friends ans additionally sharing in delicious. And naturally, thanks in your sweat!

    Reply

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>