• Resolved Ratnesh Sonar

    (@ratneshsonar)


    Hello There,

    I have installed this plugin in one of my client’s BuddyPress site.

    After adding the widget to the members directory, the clear button is not displayed in the widget form.

    Even after enabling/Disabling persistent search option the search parameters remains the same.

    Hence the Clear button is important in this use case.

    Kindly look into this and let me know if you need any further details.

    Cheers!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Ratnesh,

    A search form is displayed by a form template, and while the default template does not contain a Clear button, you can easily add one.

    Open the form template bps-form-default.php, locate the line:

    <button type="submit"><?php echo $F->strings['search']; ?></button>

    and add a line with the Clear button:

    <a href='/members/?bps_form=clear'>Clear</a>

    Move the modified template to the buddypress/members directory in your theme’s root, otherwise it will be overwritten during the next BP Profile Search update.

    Thread Starter Ratnesh Sonar

    (@ratneshsonar)

    Thank you so much, it works.

    I appreciate your help.

    Plugin Author Andrea Tarantini

    (@dontdream)

    You’re very welcome, Ratnesh! And thanks for your review.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.