/bp-templates/bp-legacy/buddypress/members/single/activity.php

  1. <?php 
  2. /** 
  3. * BuddyPress - Users Activity 
  4. * 
  5. * @package BuddyPress 
  6. * @subpackage bp-legacy 
  7. */ 
  8.  
  9. ?> 
  10.  
  11. <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 
  12. <ul> 
  13.  
  14. <?php bp_get_options_nav(); ?> 
  15.  
  16. <li id="activity-filter-select" class="last"> 
  17. <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> 
  18. <select id="activity-filter-by"> 
  19. <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option> 
  20.  
  21. <?php bp_activity_show_filters(); ?> 
  22.  
  23. <?php 
  24.  
  25. /** 
  26. * Fires inside the select input for member activity filter options. 
  27. * 
  28. * @since 1.2.0 
  29. */ 
  30. do_action( 'bp_member_activity_filter_options' ); ?> 
  31.  
  32. </select> 
  33. </li> 
  34. </ul> 
  35. </div><!-- .item-list-tabs --> 
  36.  
  37. <?php 
  38.  
  39. /** 
  40. * Fires before the display of the member activity post form. 
  41. * 
  42. * @since 1.2.0 
  43. */ 
  44. do_action( 'bp_before_member_activity_post_form' ); ?> 
  45.  
  46. <?php 
  47. if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) ) 
  48. bp_get_template_part( 'activity/post-form' ); 
  49.  
  50. /** 
  51. * Fires after the display of the member activity post form. 
  52. * 
  53. * @since 1.2.0 
  54. */ 
  55. do_action( 'bp_after_member_activity_post_form' ); 
  56.  
  57. /** 
  58. * Fires before the display of the member activities list. 
  59. * 
  60. * @since 1.2.0 
  61. */ 
  62. do_action( 'bp_before_member_activity_content' ); ?> 
  63.  
  64. <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all"> 
  65.  
  66. <?php bp_get_template_part( 'activity/activity-loop' ) ?> 
  67.  
  68. </div><!-- .activity --> 
  69.  
  70. <?php 
  71.  
  72. /** 
  73. * Fires after the display of the member activities list. 
  74. * 
  75. * @since 1.2.0 
  76. */ 
  77. do_action( 'bp_after_member_activity_content' ); ?> 
.