/bp-themes/bp-default/searchform.php

  1. <?php do_action( 'bp_before_blog_search_form' ); ?> 
  2.  
  3. <form role="search" method="get" id="searchform" action="<?php echo home_url(); ?>/"> 
  4. <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> 
  5. <input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" /> 
  6.  
  7. <?php do_action( 'bp_blog_search_form' ); ?> 
  8. </form> 
  9.  
  10. <?php do_action( 'bp_after_blog_search_form' ); ?> 
.