Shortcodes
The addon registers six shortcodes. Five power the sub-views of the PeepSo
profile Forums tab and are designed to run
in that member-profile context, where they read the displayed user through
bbPress (bbp_get_user_id()). The sixth lists a specific forum’s topics and is
used by the group forum template.
Each shortcode renders a bbPress list and, when there are more results than one
page, an AJAX Load More control (nonce wbpbi_ajax_security).
[wbpbi_topics]
Section titled “[wbpbi_topics]”Lists the topics belonging to one forum.
- Attribute:
forum_id(required for meaningful output) - the bbPress forum id whose topics to list. - Used by the group forum template as
[wbpbi_topics forum_id=ID].
Example:
[wbpbi_topics forum_id="123"][wbpbi_profile_topics]
Section titled “[wbpbi_profile_topics]”Lists topics started by the profile member. Context-driven; no attributes are required.
[wbpbi_profile_replies]
Section titled “[wbpbi_profile_replies]”Lists replies created by the profile member.
[wbpbi_profile_topic_favorite]
Section titled “[wbpbi_profile_topic_favorite]”Lists topics the profile member marked as favorite (bbPress _bbp_favorite
meta).
[wbpbi_profile_forum_subscription]
Section titled “[wbpbi_profile_forum_subscription]”Lists forums the profile member is subscribed to (bbPress _bbp_subscription
meta), under a “Subscribed Forums” heading.
[wbpbi_profile_topic_subscription]
Section titled “[wbpbi_profile_topic_subscription]”Lists topics the profile member is subscribed to, under a “Subscribed Topics” heading.
Usage notes
Section titled “Usage notes”- The five
wbpbi_profile_*shortcodes rely on the PeepSo profile page context to resolve which member to display. Placing them on an arbitrary page may not produce user-specific output. - All shortcodes accept a
forum_idattribute for markup purposes, but thewbpbi_profile_*shortcodes select rows by the current user, not byforum_id.
Note: the AJAX “Load More” handlers for favorites and subscriptions query by a fixed meta value rather than the member id. See Troubleshooting for the impact on paginated favorite and subscription lists.

