Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_topic_author_link

Published on January 4th, 2014 by Stephen Edgar

Description The ‘bbp_topic_author_link’ function is used to display the current topic author’s user role, avatar and username linked to their profile Where is it used Templates: content-single-topic-lead.php How to use it $args (optional) – Accepts an array of arguments to configure display ( post_id, link_title, type, size, sep, show_role ) Uses bbp_get_topic_author_link() Sample code example […]

bbp_reply_author_link

Published on January 4th, 2014 by Stephen Edgar

Description The ‘bbp_reply_author_link’ function is used to display the current reply author’s user role, avatar and username linked to their profile Where is it used Templates: loop-single-reply.php loop-search-reply.php How to use it $args (optional) – Accepts an array of arguments to configure display ( post_id, link_title, type, size, sep, show_role ) Uses bbp_get_reply_author_link() Sample code […]

bbp_get_user_profile_url

Published on December 13th, 2013 by jwarren

Description The ‘bbp_get_user_profile_url’ function returns the URL of the supplied user’s profile. How to use it $user_id – The specified user to return the profile link for. Sample code example Creates a link to the current user’s profile.

bbPress Conditional Tags

Published on December 13th, 2013 by Stephen Edgar

See WordPress Codex http://codex.wordpress.org/Conditional_Tags is_bbpress() /** Archive ***************************************************************/ bbp_is_forum_archive() bbp_is_topic_archive() /** Topic Tags ************************************************************/ bbp_is_topic_tag() bbp_is_topic_tag_edit() /** Components ************************************************************/ bbp_is_single_forum() bbp_is_single_topic() bbp_is_single_reply() bbp_is_topic_edit() bbp_is_topic_merge() bbp_is_topic_split() bbp_is_reply_edit() bbp_is_reply_move() bbp_is_single_view() /** User ******************************************************************/ bbp_is_single_user_edit() bbp_is_single_user() bbp_is_user_home() bbp_is_user_home_edit() bbp_is_topics_created() bbp_is_replies_created() bbp_is_favorites() bbp_is_subscriptions() /** Search ****************************************************************/ bbp_is_search() bbp_is_search_results()

bbp_get_forum_last_active_id

Published on June 26th, 2012 by JarretC

Description The ‘bbp_get_forum_last_active_id’ function returns the ID of the most recent reply within a forum How to use it $forum_id (optional) – Returns the ID of the most recent reply within the specified forum Used in bbp_forum_last_active_id() Sample code example Returns the ID of the most recent reply within a forum Returns the ID of […]

bbp_forum_last_active_id

Published on June 26th, 2012 by JarretC

Description The ‘bbp_forum_last_active_id’ function displays the ID of the most recently active forum How to use it $forum_id (optional) – Displays the ID of the most recently active forum Uses bbp_get_forum_last_active_id() Sample code example Displays the ID of the most recently active forum Displays the ID of the most recent reply within the specified forum

bbp_author_link

Published on June 26th, 2012 by JarretC

Description The ‘bbp_author_link’ function is used to display the most recently active author’s avatar and username linked to their profile How to use it $args (optional) – Accepts an array of arguments to configure display ( post_id, link_title, type, size ) Uses bbp_get_author_link() Sample code example Displays the linked avatar and username for the most […]

bbp_get_forum_freshness_link

Published on June 26th, 2012 by JarretC

How to use it $forum_id (optional) – Returns the link for the most recent reply within a forum Used in bbp_forum_freshness_link() Sample code example Returns the link for the most recent reply within a forum Returns the link for the most recent reply within the specified forum with an ID of 1

bbp_forum_freshness_link

Published on June 26th, 2012 by JarretC

Description The ‘bbp_forum_freshness_link’ function displays a link to the most recent reply within a forum How to use it $forum_id (optional) – Displays link to the most recent activity within defined forum Uses bbp_get_forum_freshness_link() Sample code example Displays a link to the most recent reply within a forum Displays the link to the most recent […]

bbp_get_forum_post_count

Published on June 26th, 2012 by JarretC

Description The ‘bbp_get_forum_post_count’ function is used to return the total count of all replies to topics within a forum and sub forums How to use it $forum_id (optional) – Returns count for particular forum id $total_count (optional) – Returns total count for all replies in forum and sub forums by default or if true, otherwise […]