Skip to:
Content
Pages
Categories
Search
Top
Bottom

Shortcodes

Codex HomebbPress Features → Shortcodes

Since Version 2.0 bbPress support Shortcodes. They have been introduced for creating macros to be used in the layout of your forum content on WordPress pages. To use any of the shortcodes simply insert the desired shortcode into any WordPress page.

To get the required numerical ID for $forum_id, $topic_id, $reply_id and $tag_id you will need to visit your /wp-admin/ section and either by editing the post or by hovering your mouse over the applicable forum/topic/reply/tag post type you will see a numeric ID for that post eg. /wp-admin/post.php?post=47

Forums

[bbp-forum-index]

This will display your entire forum index.

[bbp-forum-form]

Display the ‘New Forum’ form.

[bbp-single-forum id=$forum_id]

Display a single forums topics.

Topics

[bbp-topic-index]

Display the most recent 15 topics across all your forums with pagination.

[bbp-topic-form]

Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.

[bbp-topic-form forum_id=$forum_id]

Display the ‘New Topic Form’ for a specific forum ID.

[bbp-single-topic id=$topic_id]

Display a single topic.

Replies

[bbp-reply-form]

Display the ‘New Reply’ form.

[bbp-single-reply id=$reply_id]

Display a single reply.

Topic Tags

[bbp-topic-tags]

Display a tag cloud of all topic tags.

[bbp-single-tag id=$tag_id]

Display a list of all topics associated with a specific tag.

Views

[bbp-single-view id=$view_id]

Display topics associated with a specific view. Included ‘views’ are:

Search

[bbp-search]

Display the search input form.

[bbp-search-form]

Display the search form template.

Account

[bbp-login]

Display the login screen.

[bbp-register]

Display the register screen.

[bbp-lost-pass]

Display the lost password screen.

Statistics

[bbp-stats]

Display the forum statistics.

Skip to toolbar