[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/parts/ -> item-nav.php (source)

   1  <?php
   2  /**
   3   * BuddyPress Single Members item Navigation
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   */
   8  ?>
   9  
  10  <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'Member menu', 'buddypress' ); ?>">
  11  
  12      <?php if ( bp_nouveau_has_nav( array( 'type' => 'primary' ) ) ) : ?>
  13  
  14          <ul>
  15  
  16              <?php
  17              while ( bp_nouveau_nav_items() ) :
  18                  bp_nouveau_nav_item();
  19              ?>
  20  
  21                  <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>">
  22                      <a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>">
  23                          <?php bp_nouveau_nav_link_text(); ?>
  24  
  25                          <?php if ( bp_nouveau_nav_has_count() ) : ?>
  26                              <span class="count"><?php bp_nouveau_nav_count(); ?></span>
  27                          <?php endif; ?>
  28                      </a>
  29                  </li>
  30  
  31              <?php endwhile; ?>
  32  
  33              <?php bp_nouveau_member_hook( '', 'options_nav' ); ?>
  34  
  35          </ul>
  36  
  37      <?php endif; ?>
  38  
  39  </nav>


Generated: Mon Oct 7 01:00:53 2024 Cross-referenced by PHPXref 0.7.1