Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 24th, 2010  |  syntax: None  |  size: 0.32 KB  |  views: 235  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. add_action( 'bp_before_activity_loop', 'bp_activity_tag_header' );
  2. function bp_activity_tag_header() {
  3.         global $bp, $bp_unfiltered_uri;
  4.        
  5.         if( $bp->current_component == BP_ACTIVITY_SLUG && $bp->current_action == BP_ACTIVITY_HASHTAGS_SLUG ) {
  6.                 echo '<h3>Activity results for #' . $bp_unfiltered_uri[2]. '</h3>';
  7.         }
  8. }
clone this paste RAW Paste Data