• Anna
    June 23, 2015 at 2:47 pm #109353

    header_media.php – code starts at line 72

    We use numbers in code to represent header types:

    Google Maps header is represented by these numbers:

    global_header – 4 (this stands for global header options from theme options – appearance)
    header_type – 5 (this stands for custom header options from edit page/post – header options)

    In this file – header_media.php – lines 78 & 90 must be commented:

    if($show_adv_search_general == 'yes' && !is_404() && !is_page_template('property_list_half.php')){
    if($header_type == 1){
    //nothing
    }else if($header_type == 0){
    if($global_header_type==4){
    $show_mobile=1;
    get_template_part('templates/advanced_search');
    }else if( $global_header_type==0){
    //nonthing
    }else{
    if($show_adv_search_slider=='yes'){
    $show_mobile=1;
    get_template_part('templates/advanced_search');
    }
    }

    }else if($header_type == 5){
    $show_mobile=1;
    get_template_part('templates/advanced_search');
    }else{
    if($show_adv_search_slider=='yes'){
    $show_mobile=1;
    get_template_part('templates/advanced_search');
    }
    }
    }

    tpsaras
    June 29, 2015 at 4:08 pm #113482

    Would be great if this is an option for these fields to be mandatory in theme options!

    Maybe an idea for next update?

    Thanks!

    Anna
    July 30, 2015 at 10:01 am #117682

    Hi tpsaras

    Such controls yes/no for every page would create a page loading delay which we work very hard to avoid and keep this to minimum.

    But thank you for the suggestion. We will think about it.

    Anna

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.