Opened 15 years ago
Closed 15 years ago
#2286 closed defect (bug) (fixed)
misplaced action call on forums/index.php theme?
Reported by: | nuprn1 | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | Version: | ||
Component: | Forums | Keywords: | |
Cc: |
Description
currently index.php theme file is setup as
<div id="forums-dir-list" class="forums dir-list"> <?php locate_template( array( 'forums/forums-loop.php' ), true ) ?> </div> <?php do_action( 'bp_directory_forums_content' ) ?> <?php wp_nonce_field( 'directory_forums', '_wpnonce-forums-filter' ) ?> <?php do_action( 'bp_after_directory_forums_content' ) ?>
does it need to be, where do_action( 'bp_directory_forums_content' ) is above the forums-loop call?
<?php do_action( 'bp_directory_forums_content' ) ?> <div id="forums-dir-list" class="forums dir-list"> <?php locate_template( array( 'forums/forums-loop.php' ), true ) ?> </div> <?php wp_nonce_field( 'directory_forums', '_wpnonce-forums-filter' ) ?> <?php do_action( 'bp_after_directory_forums_content' ) ?>
Change History (3)
Note: See
TracTickets for help on using
tickets.
Right now it works like this in all of the directory components, with the _content action called after the loop.