Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/29/2015 11:13:57 PM (10 years ago)
Author:
imath
Message:

Introduce BuddyPress Cover Images functions and templates specific to the Groups single items.

Props r-a-y

See #6570

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/home.php

    r10150 r10158  
    1414    <div id="item-header" role="complementary">
    1515
    16         <?php bp_get_template_part( 'groups/single/group-header' ); ?>
     16        <?php
     17        /**
     18         * If the cover image feature is enabled, use a specific header
     19         */
     20        if ( bp_group_use_cover_image_header() ) :
     21            bp_get_template_part( 'groups/single/cover-image-header' );
     22        else :
     23            bp_get_template_part( 'groups/single/group-header' );
     24        endif;
     25        ?>
    1726
    1827    </div><!-- #item-header -->
Note: See TracChangeset for help on using the changeset viewer.