Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

In regards to the COVID-19 situation

Your support team is currently doing their best to offer the best support possible despite the current COVID-19 situation. However during these exceptional circumstances, please note that you should expect a response time of 2-3 business days, until further notice.Rest assured that we will still do our best to handle your requests as soon as possible! Everyone stay safe and healthy! 😷

BP Search Age Range

This topic is resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Luke
    • 24 Topics
    • 79 Posts


    Please can you advise how I can create a search age range e.g. between 18-30. I had this feature before, although recently decided to remove the DOB field due to GDPR restraints. I have since changed this to user age upon registration. At the moment my advanced search only allows users to search for specific ages

    I enquired about this on the BuddyPress support forums and they advised I add the following snippet to my ‘bp-custom.php’ file:

    add_action (‘bps_field_before_search_form’, ‘change_display’);
    function change_display ($f)
    if ($f->code == ‘field_4235’ && $f->display == ‘range’)
    $f->display = ‘range-select’;
    $f->options = array (” => ”) + $f->options;

    This unfortunately did not fix the issue.


    • 24 Topics
    • 79 Posts

    This has now been resolved by BuddyPress support.


    Themosaurus Support
    • 0 Topics
    • 2223 Posts

    Hi @luaspo,

    I’m glad to read that the BuddyPress support has been able to help you!


Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘BP Search Age Range’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️