_e('My Links', 'buddypress-links'); ?> <span><?php echo bp_links_total_links_for_user(bp_loggedin_user_id()); ?> </span></a></li> <?php } ?> <?php do_action('bp_links_directory_link_types'); ?> <?php bp_links_dtheme_link_order_options_list(); ?> </ul> </div><!-- .item-list-tabs --> <div class="item-list-tabs no-ajax" id="subnav"> <ul> <li class="feed"><a href="<?php bp_directory_links_feed_link(); ?> " title="RSS Feed"><?php _e('RSS', 'buddypress'); ?> </a></li> <?php
/** * Augment profile Links page sub-navigation */ function bp_links_dtheme_personal_links_subnav() { // are we the current component? if (BP_LINKS_SLUG === bp_current_component()) { // yep, spit out special subnav items bp_links_dtheme_link_order_options_list(); bp_links_dtheme_link_category_filter_options_list(); } }
/** * Augment profile Links page sub-navigation */ function bp_links_dtheme_personal_links_subnav($html) { $html .= bp_links_dtheme_link_order_options_list(); $html .= bp_links_dtheme_link_category_filter_options_list(); return $html; }