Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/23/2011 07:27:52 PM (14 years ago)
Author:
djpaul
Message:

Don't filter away WP's front page body tags.
Only show top nav in index templates when viewing a previous page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r4538 r4554  
    3535        }
    3636    }
    37    
     37
    3838    // Loop through each navigation item
    3939    foreach ( (array)$bp->bp_options_nav[$the_index] as $subnav_item ) {
     
    13701370
    13711371        // We don't want WordPress blog classes to appear on non-blog pages.
    1372         if ( !bp_is_blog_page() || is_home() ) {
     1372        if ( !bp_is_blog_page() ) {
    13731373            // Preserve any custom classes already set
    13741374            if ( !empty( $custom_classes ) )
     
    13871387    }
    13881388    add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 )
    1389 
    1390 
    13911389?>
Note: See TracChangeset for help on using the changeset viewer.