• Anna
    October 13, 2014 at 10:39 am #99913

    From our client:

    Here the code i did into “compare_listings.php”

    look for bold/italic characters

    // on off attributes
    foreach ($feature_list_array as $key => $value) {
    $checka = 0;
    $value=trim($value);
    if (function_exists(‘icl_translate’) ){
    $value = icl_translate(‘wpestate’,’wp_estate_property_custom_’.$value, $value ) ;
    }
    $post_var_name= str_replace(‘ ‘,’_’, trim($value) );

    print ‘<div>
    <div>’ . str_replace(‘_’, ‘ ‘, str_replace(‘property_’, ”, $value)) . ‘</div>’;

    for ($i = 0; $i <= $counter – 1; $i++) {
    print'<div>’;
    if ($properties[$i][$value] == 1) {
    $checka++;
    print ‘<i></i>’;
    } else {
    print ‘<i></i>’;
    }
    print'</div>’;
    }
    if ($checka >= 1) {
    } else {
    echo ‘<style type=”text/css”>.’.$post_var_name.’ {display: none;}</style>’;}
    print'</div>’;
    }

    KEN
    November 13, 2014 at 3:23 am #100648

    Hello!
    I can’t insert this code on line 161 “compare_listings.php”,and after insertion cannot close it.
    Also there is this code
    `
    print ‘<i class=”fa fa-check compare_yes”></i>’;
    } else {
    print ‘<i class=”fa fa-times compare_no”></i>’;
    }

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.