mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
git-svn-id: https://buddypress.svn.wordpress.org/trunk@2539 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
14 lines
No EOL
408 B
PHP
14 lines
No EOL
408 B
PHP
<?php
|
|
/***
|
|
* Should we show the blog on the front page, or the activity stream?
|
|
* This is set in wp-admin > Appearance > Theme Options
|
|
*/
|
|
if ( !bp_is_active( 'activity' ) )
|
|
locate_template( array( 'index.php' ), true );
|
|
else {
|
|
if ( 'blog' == bp_dtheme_show_on_frontpage() )
|
|
locate_template( array( 'index.php' ), true );
|
|
else
|
|
locate_template( array( 'activity/index.php' ), true );
|
|
}
|
|
?>
|