Appearance > Theme Options */ if ( 'blog' == bp_dtheme_show_on_frontpage() ) locate_template( array( 'index.php' ), true ); else locate_template( array( 'activity/index.php' ), true ); ?>