Title: add clear button
Last modified: May 11, 2021

---

# add clear button

 *  Resolved [netreneris](https://wordpress.org/support/users/netreneris/)
 * (@netreneris)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/)
 * Hello Andrea,
 * you are awesome! Thanks again for the help with the elimination of the field 
   in the search plugin. I have one more question, it’s possible to add a “clear”
   button in the filter to clear selected fields (image attached)?
 * > [View post on imgur.com](https://imgur.com/a/WbMV4y9)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [netreneris](https://wordpress.org/support/users/netreneris/)
 * (@netreneris)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14426187)
 * Also, is there a way to change bps-filter position in HTML code (image attached)?
 * > [View post on imgur.com](https://imgur.com/a/sn99xKe)
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14429823)
 * Hi netreneris,
 * To clear a search, you can use the _Clear_ link you can see in your second screenshot,
   and that will clear the form too. At this moment it’s not possible to clear the
   form only, but you could modify the form template and add that feature. By the
   way, it looks like you are already using a modified form template.
 * To change the filters position, you can modify the filters template (bps-filters.
   php) or possibly its CSS only.
 *  Thread Starter [netreneris](https://wordpress.org/support/users/netreneris/)
 * (@netreneris)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14447007)
 * Hello Andrea,
 * I used a little of CSS to modify the design of the template. 🙂 I do not know
   if it was the best way to do that.
 * I’ll try to look at (bps-filters.php) file. Thanks!!
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14452041)
 * Hello netreneris,
 * You’re welcome! And your changes look great.
 *  [ipedigo](https://wordpress.org/support/users/ipedigo/)
 * (@ipedigo)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14470508)
 * Hello- I’m also trying to change the bps-filters position. Right now it appears
   before bps-form, butI’d like it to appear after it. I’ve looked at the bps-filters.
   php file but can’t see how I would be able to change it that way. Any pointers
   would be appreciated!
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14472615)
 * Hello ipedigo,
 * At the moment it’s not possible to change the position of the _bps-filters_ template,
   you can only modify its CSS.
 * I’ll add a way to change its position in the next plugin version, and I’ll let
   you know here when it’s ready.
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14477853)
 * Hello ipedigo,
 * With BP Profile Search 5.4.2, you can move the _bps-filters_ template after the
   search form, adding this code to your _bp-custom.php_:
 *     ```
       add_action ('bp_before_directory_members_content', 'move_filters', 5);
       function move_filters ()
       {
       	remove_action ('bp_before_directory_members_content', 'bps_add_filters');
       	add_action ('bp_before_directory_members_tabs', 'bps_add_filters', 20);
       }
       ```
   
 *  [ipedigo](https://wordpress.org/support/users/ipedigo/)
 * (@ipedigo)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14486614)
 * Hi Andreae–
 * Thank you very much!!! This worked perfectly.
 * 🙂
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14489938)
 * Great! You are welcome.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘add clear button’ 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/)

 * 9 replies
 * 3 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/add-clear-button/#post-14489938)
 * Status: resolved