[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/groups/single/ -> cover-image-header.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Groups Cover Image Header.
   4   *
   5   * @since 3.0.0
   6   * @version 3.2.0
   7   */
   8  ?>
   9  
  10  <div id="cover-image-container">
  11      <div id="header-cover-image"></div>
  12  
  13      <div id="item-header-cover-image">
  14          <?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
  15              <div id="item-header-avatar">
  16                  <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>">
  17  
  18                      <?php bp_group_avatar(); ?>
  19  
  20                  </a>
  21              </div><!-- #item-header-avatar -->
  22          <?php endif; ?>
  23  
  24  <?php    if ( ! bp_nouveau_groups_front_page_description() ) : ?>
  25          <div id="item-header-content">
  26  
  27              <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p>
  28              <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>">
  29                  <?php
  30                  /* translators: %s = last activity timestamp (e.g. "active 1 hour ago") */
  31                  printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() );
  32                  ?>
  33              </p>
  34  
  35              <?php echo bp_nouveau_group_meta()->group_type_list; ?>
  36              <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?>
  37  
  38              <?php if ( bp_nouveau_group_has_meta_extra() ) : ?>
  39                  <div class="item-meta">
  40  
  41                      <?php echo bp_nouveau_group_meta()->extra; ?>
  42  
  43                  </div><!-- .item-meta -->
  44              <?php endif; ?>
  45  
  46              <?php bp_nouveau_group_header_buttons(); ?>
  47  
  48          </div><!-- #item-header-content -->
  49  <?php endif; ?>
  50  
  51          <?php bp_get_template_part( 'groups/single/parts/header-item-actions' ); ?>
  52  
  53      </div><!-- #item-header-cover-image -->
  54  
  55  
  56  </div><!-- #cover-image-container -->
  57  
  58  <?php if ( ! bp_nouveau_groups_front_page_description() && bp_nouveau_group_has_meta( 'description' ) ) : ?>
  59      <div class="desc-wrap">
  60          <div class="group-description">
  61              <?php bp_group_description(); ?>
  62          </div><!-- //.group_description -->
  63      </div>
  64  <?php endif; ?>


Generated: Wed Jul 24 01:01:43 2019 Cross-referenced by PHPXref 0.7.1