Skip to:
Content

BuddyPress.org

Changeset 4554


Ignore:
Timestamp:
06/23/2011 07:27:52 PM (15 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.

Location:
trunk
Files:
2 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?>
  • trunk/bp-themes/bp-default/_inc/css/default.css

    r4546 r4554  
    628628        margin-top: -1px;
    629629}
     630#nav-above {
     631        display: none;
     632}
     633.paged #nav-above {
     634        display: block;
     635}
    630636
    631637
Note: See TracChangeset for help on using the changeset viewer.