• patymorgh
    July 27, 2015 at 6:06 am #117265


    I need some help here.
    How can I change the way property size shows at frontend ?
    All I can do is change ft to m², but the size I need has letters (2LDK, 1DK and so on). So, at frontend, it shows just the numbers (2, 1 and so on)
    On my Latest Properties, I want to replace that m² size to these sizes.

    Thank you

    July 27, 2015 at 6:51 am #117271

    I found some codes about it, but I’m not sure what to replace:

    At property_unit.php and in property_unit_half.php=



    At property.php=
    <td width=”33%” valign=”top” align=”left”>
    <p class=”meta-options”>
    <label for=”property_size”>’.__(‘Size: ‘,’wpestate’).'</label><br />
    <input type=”text” id=”property_size” size=”40″ name=”property_size” value=”‘ . esc_html(get_post_meta($mypost, ‘property_size’, true)) . ‘”>


    At theme_slider.php =

    $size = number_format (intval ( get_post_meta($theid, ‘property_size’, true) ) );


    At listing_functions.php =

    if ( isset($plan_size_array[$key]) && $plan_size_array[$key]!=”){
    $plan_size=__(‘size:’,’wpestate’).’ ‘.$plan_size_array[$key].’ ‘.$unit.'<sup>2</sup>’;

    July 31, 2015 at 1:37 pm #117884


    This requires you change the number type from number to text.

    It’s the same process as here http://wpestate.org/forums/topic/change-price-field-to-text/

    But for the property_size field.

    Thank you

The forum ‘Custom Work’ is closed to new topics and replies.