Skip to:

bbPress 2.0 – Shortcodes

  • John James Jacoby


    Closed and unstickied. See the codex page for details.

    * 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

Viewing 25 replies - 26 through 50 (of 53 total)

  • hscoder


    if you want to know that how to use bbpress shortcodes, check this link :

    Thanks for the post, it has been a great help!

    I am still struggling to get the topics to work. When I click on the topic it has my description an then it says “Comments are closed.” and there is no way to post anything…

    Have a look here:

    Any help would be GREATLY appreciated :)



    I think I may have figured it out.

    If I add a topic through the WP dashboard it creates this wierd “comments are closed” thing, but if I add them directly through the blog it seems to work…





    I had problems finding this, too.

    Go to Forums on Dashboard.

    Hover the mouse over the title of the forum, and a link comes up at the bottom of the page. (In Opera it does, anyway)


    in this case, $forum_id is 36

    you don’t use the $

    The same principle works with the rest. I know it says “post=36” but I guess that’s just how wordpress stores stuff.



    Hi i tried using the code [bbp-single-forum id=$forum_id] as

    [bbp-single-forum id=$Introduction] where Introduction is the forum id, but it is not working. Please help me. Can you exactly mention what is the forum id here, is it the title what we provide for the forum .

    Calorie Counter



    I think your code should read:

    [bbp-single-forum id=36]

    instead of:

    [bbp-single-forum id=$Introduction]

    I hope this helps…

    Hello. I have some problems with the forum :( (location:

    Some pages are working, and some pages are not visible…

    I’ve tried some shortcodes, but nothing logical….

    @folgerj : i’ve seen your forum. Can you please help me to configure mine too?

    Anybody? :) Suggestion?



    @kamikazeek I think if you change to the twentyeleven theme it works.. maybe

    @bbpress looks like you have been spammed!

    @jumpmuz: it does not….i’ve tried…




    This is the best way to add forums

    pick a theme that supports menus

    1)create a page

    2)add page to menu

    3)select menu as active

    4)add all of the shortcodes from the shortcode sticky thread to your newly created page

    5)take out the shortcodes you do not require

    Thats the way I do it at least.



    Themes Support



    shortcode is good.

    But how can I remove breadcrumbs plz ?

    Because I use two shortcode :



    And I have breadcrumbs for forum and an other for topic. Maybe make a shortcode like this is t possible ?

    [bbp-topic-index breadcrumbs=false]

    And are they way to say number topics to display ?

    thx for help ! :)

    Thanks for this! Really helped me out.

    can i use the reply short code in the place of wordpress comment ? i am running bbpress as plugin.


    Closing. If you have any questions regarding shortcodes feel free to create a new thread.



    I used the login shortcode, but it doesnt let me logout after signing in. Is there a logout shortcode?



    I’m looking for the same customization as @spicynodes 8 years ago !
    I have created a page with 2 shortcodes :

    But the breadcrumb displays twice, above each one.
    Is there a simple way to display it for the [bbp-topic-form] or do I necessarily need to do something in the function page (I’d prefer not too !)

    Thanks for your help !

    Robin W


    so you want it for the topic form, but not the index – yes ?



    That’s right !

    OR maybe it’s as easy to add something for the forum root page : I have recently chosen (in the backoffice) to display the topics instead by publication date (on the root page) instead of the index forum thematics, but now members don’t find how to open a new topic !

    (hope my explanation is clear ! ;-))

    Robin W


    ok, you’ll need to edit a bbpress template using FTP


    transfer this to your pc and edit

    you’ll need to remove the line that says

    <?php bbp_breadcrumb(); ?>

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with

    bbPress will now use this template instead of the original



    Thank you Robin for helping me,

    The procedure is all clear but unfortunately the breadcrumb is still displayed above the [bbp-topic-form].
    Maybe that’s because the site is also using the WOffice plugin (some code there that would pass over the content-archive-forum.php ?)

    I just thought of another solution, more wobbly maybe :
    I can see in the code source that this div is called <div class ="bbp-breadcrumb"> meaning that if I create a .bbp-breadcrumb in my CSS file, I can add a display:none; and could hide it ?



    Oh boy, I just read my message agin and I’m so confused ! Sorry, I didn’t give you the right info… The initial message was supposed to say :

    Is there a simple way to HIDE it for the [bbp-topic-form]

    And answer to you second message is the other way round :

    DISPLAY (the breadcrumb) for the [bbp-topic-index]
    HIDE IT for the [bbp-topic-form] that is called underneath

    so sorry again…

    Robin W


    ok reverse your above changes, and then apply the same process to




    This works perfectly !
    Thank you very much 🙂

Viewing 25 replies - 26 through 50 (of 53 total)
  • You must be logged in to reply to this topic.
Skip to toolbar