[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/ -> blogs.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Users Blogs
   4   *
   5   * @since 3.0.0
   6   * @version 3.0.0
   7   */
   8  ?>
   9  
  10  <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Sites menu', 'buddypress' ); ?>">
  11      <ul class="subnav">
  12  
  13          <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
  14  
  15      </ul>
  16  </nav><!-- .bp-navs -->
  17  
  18  <?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
  19  
  20  <?php
  21  switch ( bp_current_action() ) :
  22  
  23      // Home/My Blogs
  24      case 'my-sites':
  25          bp_nouveau_member_hook( 'before', 'blogs_content' );
  26          ?>
  27  
  28          <div class="blogs myblogs" data-bp-list="blogs">
  29  
  30              <div id="bp-ajax-loader"><?php bp_nouveau_user_feedback( 'member-blogs-loading' ); ?></div>
  31  
  32          </div><!-- .blogs.myblogs -->
  33  
  34          <?php
  35          bp_nouveau_member_hook( 'after', 'blogs_content' );
  36          break;
  37  
  38      // Any other
  39      default:
  40          bp_get_template_part( 'members/single/plugins' );
  41          break;
  42  endswitch;


Generated: Sat Dec 14 01:01:40 2019 Cross-referenced by PHPXref 0.7.1