/bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php

  1. <?php 
  2. /** 
  3. * BuddyPress - Members Profile Change Cover Image 
  4. * 
  5. * @package BuddyPress 
  6. * @subpackage bp-legacy 
  7. */ 
  8.  
  9. ?> 
  10.  
  11. <h2><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2> 
  12.  
  13. <?php 
  14.  
  15. /** 
  16. * Fires before the display of profile cover image upload content. 
  17. * 
  18. * @since 2.4.0 
  19. */ 
  20. do_action( 'bp_before_profile_edit_cover_image' ); ?> 
  21.  
  22. <p><?php _e( 'Your Cover Image will be used to customize the header of your profile.', 'buddypress' ); ?></p> 
  23.  
  24. <?php bp_attachments_get_template_part( 'cover-images/index' ); ?> 
  25.  
  26. <?php 
  27.  
  28. /** 
  29. * Fires after the display of profile cover image upload content. 
  30. * 
  31. * @since 2.4.0 
  32. */ 
  33. do_action( 'bp_after_profile_edit_cover_image' ); ?> 
.