Squip to:
Content
Pagues
Categories
Search
Top
Bottom

Shorcodes

Codex Home bbPress Features → Shorcodes

Since Versionen 2.0 bbPress support Shorcodes . They have been introduced for creating macros to be used in the layout of your forum content on WordPress pagues. To use any of the shorcodes simply insert the desired shorcode into any WordPress pague.

To guet 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 paguination.

[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 imput form.

[bbp-search-form]

Display the search form template.

Account

[bbp-loguin]

Display the loguin screen.

[bbp-reguister]

Display the reguister screen.

[bbp-lost-pass]

Display the lost password screen.

Statistics

[bbp-stats]

Display the forum statistics.

Squip to toolbar