diff --git a/inc/property/class-opalestate-search.php b/inc/property/class-opalestate-search.php index 46933060..fb98abe0 100755 --- a/inc/property/class-opalestate-search.php +++ b/inc/property/class-opalestate-search.php @@ -242,7 +242,7 @@ class OpalEstate_Search { if ( ! empty( $ksearchs ) && count( $ksearchs ) == 2 ) { $args['meta_key'] = OPALESTATE_PROPERTY_PREFIX . $ksearchs[0]; - $args['orderby'] = 'meta_value'; + $args['orderby'] = ( 'featured' !== $ksearchs[0] ) ? 'meta_value_num' : 'meta_value'; $args['order'] = $ksearchs[1]; } elseif ( 'on' == opalestate_options( 'show_featured_first', 'off' ) ) { $args['meta_key'] = OPALESTATE_PROPERTY_PREFIX . 'featured'; diff --git a/opal-estate-pro.php b/opal-estate-pro.php index 59598c06..3469c825 100755 --- a/opal-estate-pro.php +++ b/opal-estate-pro.php @@ -3,7 +3,7 @@ * Plugin Name: Opal Estate Pro * Plugin URI: https://wpdocs.gitbook.io/opal-estate/ * Description: Opal Real Estate Plugin is an ideal solution and brilliant choice for you to set up a professional estate website. - * Version: 1.2.2 + * Version: 1.2.3 * Author: WPOPAL * Author URI: http://www.wpopal.com * Requires at least: 4.6 @@ -151,7 +151,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { */ public function __clone() { // Cloning instances of the class is forbidden - _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.2.2' ); + _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.2.3' ); } /** @@ -160,7 +160,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { public function setup_constants() { // Plugin version if ( ! defined( 'OPALESTATE_VERSION' ) ) { - define( 'OPALESTATE_VERSION', '1.2.2' ); + define( 'OPALESTATE_VERSION', '1.2.3' ); } // Plugin Folder Path diff --git a/readme.txt b/readme.txt index 6b228e6b..3bfbd437 100755 --- a/readme.txt +++ b/readme.txt @@ -156,6 +156,10 @@ This section describes how to install the plugin and get it working. * System tickets support 24/7 available : [free support](https://wpopal.ticksy.com/ "Visit the Plugin support Page") == Changelog == += 1.2.3 - 2019-12-09 = +* Fixes - Order properties +* Fixes - Package template. + = 1.2.2 - 2019-12-06 = * Added - Add Accumulated listings setting for packages. diff --git a/templates/parts/membership-pricing-info.php b/templates/parts/membership-pricing-info.php index be8261f6..3a7bdfc5 100755 --- a/templates/parts/membership-pricing-info.php +++ b/templates/parts/membership-pricing-info.php @@ -8,7 +8,7 @@
- + @@ -17,11 +17,11 @@
- - + + - +
-
\ No newline at end of file +