Update icons.
This commit is contained in:
parent
832a6b40d7
commit
ab7b289eeb
@ -32,7 +32,7 @@ function opalestate_property_render_field_template( $field, $label, $type = 'sel
|
|||||||
case 'input': ?>
|
case 'input': ?>
|
||||||
<label class="opalestate-label opalestate-label--<?php echo sanitize_html_class( $field ); ?>"><?php echo esc_html( $label ); ?></label>
|
<label class="opalestate-label opalestate-label--<?php echo sanitize_html_class( $field ); ?>"><?php echo esc_html( $label ); ?></label>
|
||||||
<div class="input-group-number">
|
<div class="input-group-number">
|
||||||
<i class="fa icon-property-<?php echo esc_attr( $field ); ?>"></i>
|
<i class="<?php echo opalestate_get_property_meta_icon( $field ); ?>"></i>
|
||||||
<input class="form-control" value="1" type="text" name="info[<?php echo $field; ?>]" placeholder="<?php echo esc_attr( $label ); ?>"/>
|
<input class="form-control" value="1" type="text" name="info[<?php echo $field; ?>]" placeholder="<?php echo esc_attr( $label ); ?>"/>
|
||||||
<div class="btn-actions">
|
<div class="btn-actions">
|
||||||
<span class="btn-minus"><i class="fa fa-minus"></i></span>
|
<span class="btn-minus"><i class="fa fa-minus"></i></span>
|
||||||
|
@ -26,7 +26,7 @@ $meta = $property->get_meta_shortinfo();
|
|||||||
<?php if ( $meta ) : ?>
|
<?php if ( $meta ) : ?>
|
||||||
<?php foreach ( $meta as $key => $info ) : ?>
|
<?php foreach ( $meta as $key => $info ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
||||||
<i class="fa icon-property-<?php echo esc_attr( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span>
|
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span>
|
||||||
<?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
<?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
@ -11,7 +11,7 @@ if ( empty( $meta_content ) ) {
|
|||||||
<?php if ( trim( $info['value'] ) ) : ?>
|
<?php if ( trim( $info['value'] ) ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
||||||
<div class="icon-box">
|
<div class="icon-box">
|
||||||
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i>
|
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-meta">
|
<div class="info-meta">
|
||||||
<span class="label-content">
|
<span class="label-content">
|
||||||
|
@ -59,7 +59,7 @@ $meta = $property->get_meta_shortinfo();
|
|||||||
<?php if ( $meta ) : ?>
|
<?php if ( $meta ) : ?>
|
||||||
<?php foreach ( $meta as $key => $info ) : ?>
|
<?php foreach ( $meta as $key => $info ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo esc_attr( $info['label'] ); ?>">
|
<li class="property-label-<?php echo esc_attr( $key ); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo esc_attr( $info['label'] ); ?>">
|
||||||
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i>
|
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i>
|
||||||
<span class="label-property"><?php echo esc_html( $info['label'] ); ?></span>
|
<span class="label-property"><?php echo esc_html( $info['label'] ); ?></span>
|
||||||
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user