[buddypress-trac] [BuddyPress] #2139: Add new do_action before forum topics loop on Forums directory

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Mar 6 19:09:34 UTC 2010


#2139: Add new do_action before forum topics loop on Forums directory
------------------------+---------------------------------------------------
Reporter:  r-a-y        |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  minor        |   Milestone:  1.2.2
Keywords:               |  
------------------------+---------------------------------------------------
 Would be nice to see a new do_action before the forum topics loop begins
 on the Forums directory page.

 This is to allow theme designers to hook additional content right after
 the [h3].

 On line 68 of /bp-themes/forums/index.php, change:


 {{{
 <form action="" method="post" id="forums-directory-form" class="dir-form">
 }}}


 to:

 {{{
 <?php do_action( 'bp_before_directory_forums_topic_loop' ) ?>

 <form action="" method="post" id="forums-directory-form" class="dir-form">
 }}}


 Name the do_action whatever you want!

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2139>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list