Add link/tab to members overview
-
Hi there,
I´m using a child theme and I try to add a link in the members/index.php (item-list-tabs).
<div class="item-list-tabs" role="navigation"> <ul> <!-- add link to vereinskollegen - mm--> <li id="members-my"><a href="/vereinfaches/vereinskollegen"><?php printf( __( 'Meine Vereinskollegen' ) ); ?></a></li> <li id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'Alle Mitglieder' ) ); ?></a></li> <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php do_action( 'bp_members_directory_member_types' ); ?> </ul> </div><!-- .item-list-tabs -->
The link appears, but nothing happens.
I cannot jump to from /vereinfaches/members/ to vereinfaches/vereinskollegen/ (new link, simple wordpress-page). If I click on the link in “inspect element” of the Browser, it works perfectly.Browser: Chrome Actual Versions BP and WP on a local machine
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add link/tab to members overview’ is closed to new replies.