Changeset 6177
- Timestamp:
- 07/13/2012 01:20:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-actions.php
r6080 r6177 35 35 add_action( 'init', 'bp_init', 10 ); 36 36 add_action( 'wp', 'bp_ready', 10 ); 37 add_action( 'wp_head', 'bp_head', 10 );38 add_action( 'wp_footer', 'bp_footer', 10 );39 37 add_action( 'setup_theme', 'bp_setup_theme', 10 ); 40 38 add_action( 'after_theme_setup', 'bp_after_theme_setup', 10 ); … … 202 200 203 201 /** 204 * Piggy-back action for BuddyPress specific <head> actions in a theme205 *206 * @since BuddyPress (1.6)207 *208 * @uses do_action() Calls 'bp_head' hook209 */210 function bp_head() {211 do_action( 'bp_head' );212 }213 214 /**215 * Piggy-back action for BuddyPress specific footer actions in a theme216 *217 * @since BuddyPress (1.6)218 *219 * @uses do_action() Calls 'bp_footer' hook220 */221 function bp_footer() {222 do_action( 'bp_footer' );223 }224 225 /**226 202 * Enqueue BuddyPress specific CSS and JS 227 203 * -
trunk/bp-themes/bp-default/footer.php
r5736 r6177 16 16 </div> 17 17 18 <?php do_action( 'bp_ in_footer' ); ?>18 <?php do_action( 'bp_footer' ); ?> 19 19 20 20 </div><!-- #footer --> … … 22 22 <?php do_action( 'bp_after_footer' ); ?> 23 23 24 <?php wp_footer(); // @see bp_footer();?>24 <?php wp_footer(); ?> 25 25 26 26 </body> -
trunk/bp-themes/bp-default/header.php
r5964 r6177 8 8 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 9 9 10 <?php wp_head(); // @see bp_head(); ?> 10 <?php do_action( 'bp_head' ); ?> 11 <?php wp_head(); ?> 11 12 12 13 </head>
Note: See TracChangeset
for help on using the changeset viewer.