Default Filter

BP Profile Search Default Filter

  • Author
  • #12256 Reply

    hello ,
    let’s say i added the following forms for search
    -> Gender
    -> City

    i want to make always by default that the city field is populated by “Texas” and search button already clicked , i mean by default i want to see the profiles with city = Texas , and for sure the user can modify to city later

    how can i do that ?

    #12257 Reply
    Plugin Author

    Hi Maher,

    You can add some code to your bp-custom.php file, it’s explained in:

    Please let me know if it works for you!

Reply to: Default Filter
My Information