Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/13/2009 01:24:21 AM (17 years ago)
Author:
apeatling
Message:

Add first revision of new default BuddyPress parent theme. This theme is designed to be extended from with child themes, not used directly. The original default themes from the old two theme system are deprecated, but will remain compatible with 1.1. Still more work to do there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/deprecated/bp-blogs-deprecated.php

    r1649 r1655  
    2727
    2828    /* If we are using a BuddyPress 1.1+ theme ignore this. */
    29     if ( file_exists( TEMPLATEPATH . '/groups' ) )
     29    if ( !file_exists( WP_CONTENT_DIR . '/bp-themes' ) )
    3030        return $template;
    3131       
     
    4444    }
    4545}
    46 add_filter( 'template', 'bp_blogs_force_buddypress_theme', 1, 1 );
     46add_filter( 'template', 'bp_blogs_force_buddypress_theme' );
    4747
    4848function bp_blogs_force_buddypress_stylesheet( $stylesheet ) {
     
    6767    }
    6868}
    69 add_filter( 'stylesheet', 'bp_blogs_force_buddypress_stylesheet', 1, 1 );
     69add_filter( 'stylesheet', 'bp_blogs_force_buddypress_stylesheet' );
    7070
    7171function bp_blogs_add_structure_css() {
Note: See TracChangeset for help on using the changeset viewer.