Advertisement
Guest User

Untitled

a guest
Feb 4th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <div class="item-list-tabs activity-type-tabs">
  2. <ul>
  3. <?php do_action( 'bp_before_activity_type_tab_all' ) ?>
  4.  
  5. <?php if ( is_user_logged_in() ) : ?>
  6.  
  7. <?php do_action( 'bp_before_activity_type_tab_groups' ) ?>
  8.  
  9. <?php if ( function_exists( 'bp_get_total_group_count_for_user' ) ) : ?>
  10. <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
  11. <li li class="selected" id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/' . BP_GROUPS_SLUG . '/' ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
  12. <?php endif; ?>
  13. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement