Changeset 1188
- Timestamp:
- 03/09/2009 08:19:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/buddypress-home/functions.php
r1052 r1188 55 55 query_posts($query_string); 56 56 57 $single_check = strpos( $query_string, '&name=' ); 58 59 if ( $single_check === false ) 57 if ( is_single() ) 58 bp_core_load_template( 'single', true ); 59 else if ( is_category() || is_search() || is_day() || is_month() || is_year() ) 60 bp_core_load_template( 'archive', true ); 61 else 60 62 bp_core_load_template( 'index', true ); 61 else62 bp_core_load_template( 'single', true );63 63 } 64 64 }
Note: See TracChangeset
for help on using the changeset viewer.