Changeset 3056
- Timestamp:
- 06/20/2010 08:00:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-themes/bp-default/functions.php
r2828 r3056 105 105 global $wp_query; 106 106 107 if ( empty( $wp_query->post->ID ))107 if ( '"activity"' === $wp_query->query_vars['page_id'] ) 108 108 return locate_template( array( 'activity/index.php' ), false ); 109 109 else 110 110 return $template; 111 111 } 112 add_filter( ' page_template', 'bp_dtheme_page_on_front_template' );112 add_filter( '404_template', 'bp_dtheme_page_on_front_template' ); 113 113 114 114 /* Return the ID of a page set as the home page. */
Note: See TracChangeset
for help on using the changeset viewer.