Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/29/2015 11:02:46 PM (9 years ago)
Author:
imath
Message:

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

Props r-a-y

See #6570

File:
1 edited

Legend:

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

    r10150 r10157  
    1212    <div id="item-header" role="complementary">
    1313
    14         <?php bp_get_template_part( 'members/single/member-header' ) ?>
     14        <?php
     15        /**
     16         * If the cover image feature is enabled, use a specific header
     17         */
     18        if ( bp_displayed_user_use_cover_image_header() ) :
     19            bp_get_template_part( 'members/single/cover-image-header' );
     20        else :
     21            bp_get_template_part( 'members/single/member-header' );
     22        endif;
     23        ?>
    1524
    1625    </div><!-- #item-header -->
Note: See TracChangeset for help on using the changeset viewer.