[buddypress-trac] [BuddyPress] #2131: If BuddyPress Page

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 4 23:05:28 UTC 2010

#2131: If BuddyPress Page
Reporter:  thekmen      |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  minor        |   Milestone:  1.2.2
Keywords:               |  
 Trying to convert WordPress themes to BuddyPress enabled themes, there is
 no easy way to check if you are viewing a current BuddyPress generated
 page or standard WordPress pages/posts.

 $bp->current_component returns the WP page/archive slug when viewing
 standard WP pages/posts.

 If we had is_bp_generated_page or something like that, we could include
 the required BuddyPress ajax, js & css only on required pages.

Ticket URL: <http://trac.buddypress.org/ticket/2131>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list