Update search form template.
This commit is contained in:
@@ -1169,7 +1169,7 @@ function opalestate_get_property_statuses() {
|
||||
* @param $key
|
||||
*/
|
||||
function opalestate_get_property_meta_icon( $key ) {
|
||||
$classes = '';
|
||||
$classes = '';
|
||||
$classes .= 'icon-property-' . esc_attr( $key );
|
||||
|
||||
switch ( $key ) {
|
||||
@@ -1214,3 +1214,21 @@ function opalestate_get_property_meta_icon( $key ) {
|
||||
|
||||
return $classes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is enable price field in the search forms?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function opalestate_is_enable_price_field() {
|
||||
return 'on' == opalestate_get_option( 'opalestate_ppt_price_opt', 'on' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Is enable areasize field in the search forms?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function opalestate_is_enable_areasize_field() {
|
||||
return 'on' == opalestate_get_option( 'opalestate_ppt_areasize_opt', 'on' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user