Changeset 2251
- Timestamp:
- 01/04/2010 09:20:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r2230 r2251 189 189 global $bp; 190 190 191 /* Remove the redundant "My Posts and My Comments" options since we can use filters on the activity stream. */ 191 /* Remove the navigation options we do not need in this theme. */ 192 bp_core_remove_subnav_item( $bp->blogs->slug, 'my-blogs' ); 192 193 bp_core_remove_subnav_item( $bp->blogs->slug, 'recent-posts' ); 193 194 bp_core_remove_subnav_item( $bp->blogs->slug, 'recent-comments' ); 195 bp_core_remove_subnav_item( $bp->activity->slug, 'just-me' ); 196 bp_core_remove_subnav_item( $bp->activity->slug, 'my-friends' ); 194 197 } 195 198 add_action( 'init', 'bp_dtheme_remove_redundant' );
Note: See TracChangeset
for help on using the changeset viewer.