Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to change the dropdowns values for bedrooms, rooms, bathrooms

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 1 month ago.

  • Author
    Posts
  • #122498

    Anna
    Keymaster

    In help_functions.php at line 1334 there is the function wpestate_show_search_field

    In this function we create the advanced search form with custom fields.

    You need to look around 1434 and start from there – please note that the actual dropdown is made via function wpestate_build_dropdown_adv()

    Looking further into code, you see this

    $rooms_select_list = '

  • '. $adv_search_label[$key].'
  • ';

    while($i < 10 ){

    ($i < 10 ){ –> This translates to options from 1 to 10 in dropdown.

    These lines are based on wpresidence 1.11 version.

You must be logged in to reply to this topic.