Title: Duplicate search boxes
Last modified: April 1, 2017

---

# Duplicate search boxes

 *  [simon2902](https://wordpress.org/support/users/simon2902/)
 * (@simon2902)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/duplicate-search-boxes/)
 * Hi Andrea
 * thanks for the great plugin.
 * I have a question:
 * BB has a default search bar placed on the members page, which is where your plugin
   naturally directs me after having performed the search. This is a bit of an unnecessary
   duplication as I want my members to only search via your plugin.
 * I tried removing the default search bar by removing/hiding this code in the index.
   php file in the relevant buddypress members folder:
 *     ```
       			<div id="members-dir-search" class="dir-search" role="search"> 
   
       				<?php bp_directory_members_search_form(); ?> 
   
       			</div><!--#members-dir-search-->
       ```
   
 * The problem is that this also makes all the fields from your plugin disappear.
 * Do you have any suggestions? Would appreciate it.
 * Thanks
    Simon

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [9 years ago](https://wordpress.org/support/topic/duplicate-search-boxes/#post-9109327)
 * Hi [@simon2902](https://wordpress.org/support/users/simon2902/),
 * Sorry for the late reply!
 * You can add this code to your _bp-custom.php_ file:
 * `add_filter ('bp_directory_members_search_form', '__return_false');`

Viewing 1 replies (of 1 total)

The topic ‘Duplicate search boxes’ is closed to new replies.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/duplicate-search-boxes/#post-9109327)
 * Status: not resolved