Shortcodes

Codex Home → bbPress Features → Shortcodes

Since Version 2.0 bbPress support so called 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

This will display your entire forum index.

[bbp-forum-index] –

Display the ‘New Forum’ form.

[bbp-forum-form] –

Topics

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

[bbp-topic-index]

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]

Replies

Display the ‘New Reply’ form.

[bbp-reply-form]

Topic Tags

Display a tag cloud of all topic tags.

[bbp-topic-tags]

Display the search input form.

[bbp-search]

– Display the search form template.

[bbp-search-form]

Account

– Display the login screen.

[bbp-login]

– Display the register screen.

[bbp-register]

– Display the lost password screen.

[bbp-lost-pass]

Statistics

Display the forum statistics.

[bbp-stats]