Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_forum_post_count

Published on June 26th, 2012 by Jarret

Description The ‘bbp_forum_post_count’ function is used to display 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 […]

bbp_get_forum_reply_count

Published on May 19th, 2012 by Jarret

Description The ‘bbp_get_forum_reply_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 and returns total count […]

bbp_forum_reply_count

Published on May 19th, 2012 by Jarret

Description The ‘bbp_forum_reply_count’ function is used to display 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 and returns total count […]

bbp_show_lead_topic

Published on May 19th, 2012 by Jarret

Description The ‘bbp_show_lead_topic’ function is an alternate layout style where topics appear as “lead” posts, ahead of replies whereas by default topics are included in the reply loop. How to use it When set to $show_lead = true the ‘Lead Topic’ uses the single topic part content-single-topic-lead.php allowing you to style the lead topic separately […]

bbp_get_forum_topic_count

Published on May 19th, 2012 by Jarret

Description The ‘bbp_get_forum_topic_count’ function is used to return the total topic count of a forum including sub forums. How to use it $forum_id (optional) – Returns count for particular forum id $total_count (optional) – Returns the total topic count with true including sub forums or just topics within that forum with false Used by bbp_forum_topic_count() […]

bbp_forum_topic_count

Published on May 19th, 2012 by Jarret

Description The ‘bbp_forum_topic_count’ function is used to display the total topic count of a forum including sub forums. How to use it $forum_id (optional) – Returns count for particular forum id $total_count (optional) – Returns the total topic count with true including sub forums or just topics within that forum with false Uses bbp_get_forum_topic_count() Sample […]

bbp_forum_row_actions

Published on May 19th, 2012 by Jarret

Description The ‘bbp_forum_row_actions’ action is used to display content within forum topic rows for functions such as administrative shortcuts. Where it can be found Line 453 and 454 /includes/forums/template.php Line 48 /templates/default/bbpress/loop-single-forum.php How to use it Since this is an action, we can use add_action to hook into it. Sample code example This will display […]

bbp_list_forums

Published on May 18th, 2012 by Lynq

The bbp_list_forums function is commonly used to display a list of sub forums. You can customise the returned data by passing the function some arguments. The bbp_list_forums is a function located in \includes\forums\template.php. To filter this array use: add_filter( ‘bbp_before_list_forums_parse_args’, ‘your_filter_name’ ); An example list of arguments before The value you specify for ‘before’ will […]

Skip to toolbar