Skip to:
Content

BuddyPress.org

Changeset 9049


Ignore:
Timestamp:
09/27/2014 01:47:01 AM (10 years ago)
Author:
boonebgorges
Message:

Add 'group-$group_slug' body class when viewing a group page.

Fixes #5848

Props hnla

File:
1 edited

Legend:

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

    r9002 r9049  
    23612361        /** Groups ************************************************************/
    23622362
     2363        if ( bp_is_group() ) {
     2364            $bp_classes[] = 'group-' . groups_get_current_group()->slug;
     2365        }
     2366
    23632367        if ( bp_is_group_leave() ) {
    23642368            $bp_classes[] = 'leave-group';
Note: See TracChangeset for help on using the changeset viewer.