File Editor
Directories:
.. (Back)
forums
friends
groups
messages
notifications
profile
settings
Files:
activity.php
blogs.php
forums.php
friends.php
groups.php
home.php
member-header.php
messages.php
notifications.php
plugins.php
profile.php
settings.php
Create New File
Create
Edit File: friends.php
<?php /** * BuddyPress - Users Friends * * @package BuddyPress * @subpackage bp-legacy */ ?> <div class="x-item-list-tabs-subnav item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?> <?php if ( !bp_is_current_action( 'requests' ) ) : ?> <li id="members-order-select" class="last filter"> <label for="members-friends"><?php _e( 'Order By:', '__x__' ); ?></label> <select id="members-friends"> <option value="active"><?php _e( 'Last Active', '__x__' ); ?></option> <option value="newest"><?php _e( 'Newest Registered', '__x__' ); ?></option> <option value="alphabetical"><?php _e( 'Alphabetical', '__x__' ); ?></option> <?php do_action( 'bp_member_friends_order_options' ); ?> </select> </li> <?php endif; ?> </ul> </div> <?php switch ( bp_current_action() ) : // Home/My Friends case 'my-friends' : do_action( 'bp_before_member_friends_content' ); ?> <div class="members friends"> <?php bp_get_template_part( 'members/members-loop' ) ?> </div><!-- .members.friends --> <?php do_action( 'bp_after_member_friends_content' ); break; case 'requests' : bp_get_template_part( 'members/single/friends/requests' ); break; // Any other default : bp_get_template_part( 'members/single/plugins' ); break; endswitch;
Save Changes
Rename File
Rename