Shortcodes

IN BBPress Codex

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

home Forums

– This will display your entire forum index.

You must be logged in to create new forums.

– Display the ‘New Forum’ form.
– Display a single forums topics. eg.

Topics

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

home Forums Shortcodes

You must be logged in to create new topics.

– Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
– Display the ‘New Topic Form’ for a specific forum ID.
– Display a single topic. eg.

Replies

You must be logged in to reply to this topic.

– Display the ‘New Reply’ form.
– Display a single reply eg.

Topic Tags

bbPress blog clients documentation install logic plugin semantics space structure technology theme Wordpress – Display a tag cloud of all topic tags.
– Display a list of all topics associated with a specific tag. eg.

home Forums Shortcodes

Viewing topic 1 (of 1 total)
Viewing topic 1 (of 1 total)

Views

– Single view – Display topics associated with a specific view. Current included ‘views’ with bbPress are “popular”

home Forums

Oh bother! No topics were found here!

and “No Replies”

home Forums

Oh bother! No topics were found here!

Search

home Forums Search

– Display the search input form.
– Display the search form template.

Account

– Display the login screen.
– Display the register screen.
– Display the lost password screen.

Statistics

Registered Users
2
Forums
7
Topics
7
Replies
0
Topic Tags
13
– Display the forum statistics.

Leave a Reply

Your email address will not be published. Required fields are marked *

I'm happy to announce our new theme: Centurion - #WordPress Blog Theme https://t.co/wl7FwS0WTu #bootstrap #html5 #css3 #webdesign
h J R
@zesky