Skip to:
Content
Pages
Categories
Search
Top
Bottom

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_theme_after_forum_description

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_after_forum_description’ action is used to display content after the description of the forum on forum index pages. Where it can be found On line 32 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/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 Note: Always remember to prefix […]

bbp_theme_before_forum_description

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_before_forum_description’ action is used to display content before the description of the forum on forum index pages. Where it can be found On line 28 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/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 Note: Always remember to prefix […]

bbp_theme_after_forum_sub_forums

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_after_forum_sub_forums’ action is used to display content after each list of sub forum links. Where it can be found On line 26 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/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 Note: Always remember to prefix your functions to […]

bbp_theme_before_forum_sub_forums

Published on May 19th, 2012 by Jarret

Description The ‘bbp_theme_before_forum_sub_forums’ action is used to display content before each list of sub forum links. Where it can be found On line 22 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/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 Note: Always remember to prefix your functions to […]

bbp_theme_before_forum_title

Published on May 18th, 2012 by Jarret

Description The ‘bbp_theme_before_forum_title’ action is used to display content before each forum title on the forum index pages. Where it can be found On line 16 of /bbp-theme-compat/bbpress/loop-single-forum.php /bbp-themes/bbp-twentyten/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 Note: Always remember to prefix your […]

Skip to toolbar