diff --git a/changelog.txt b/changelog.txt index 0c6c4b3f..563c4551 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ += 1.5.3 - 2020-06-05 = +* Added - Search box field for vertical form. + = 1.5.2 - 2020-06-04 = * Added - Clean Up setting. diff --git a/inc/vendors/elementor/widgets/opalestate-searchbox.php b/inc/vendors/elementor/widgets/opalestate-searchbox.php index a63895bc..69fbcaa3 100755 --- a/inc/vendors/elementor/widgets/opalestate-searchbox.php +++ b/inc/vendors/elementor/widgets/opalestate-searchbox.php @@ -118,6 +118,18 @@ class Opalestate_Searchbox_Elementor_Widget extends Opalestate_Elementor_Widget_ ] ); + $this->add_control( + 'display_category', + [ + 'label' => esc_html__( 'Display Category select', 'opalestate-pro' ), + 'type' => Controls_Manager::SWITCHER, + 'default' => 'yes', + 'condition' => [ + 'style' => 'search-form-v', + ], + ] + ); + $this->add_control( 'display_country', [ diff --git a/opal-estate-pro.php b/opal-estate-pro.php index bff90fed..f1ca6fb5 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.5.2 + * Version: 1.5.3 * Author: WPOPAL * Author URI: http://www.wpopal.com * Requires at least: 4.9 @@ -154,7 +154,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.5.2' ); + _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.5.3' ); } /** @@ -163,7 +163,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { public function setup_constants() { // Plugin version if ( ! defined( 'OPALESTATE_VERSION' ) ) { - define( 'OPALESTATE_VERSION', '1.5.2' ); + define( 'OPALESTATE_VERSION', '1.5.3' ); } // Plugin Folder Path diff --git a/readme.txt b/readme.txt index 12e0da55..5a878c35 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wpdocs.gitbook.io/opal-estate/ Tags: estate, property, opalestate, house for rent, agency for lease, estate submission, agents estate property, property marketplace Requires at least: 4.9 Tested up to: 5.3.2 -Stable tag: 1.5.1 +Stable tag: 1.5.3 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -150,6 +150,9 @@ This section describes how to install the plugin and get it working. * System tickets support 24/7 available : [free support](https://themelexus.ticksy.com/ "Visit the Plugin support Page") == Changelog == += 1.5.3 - 2020-06-05 = +* Added - Search box field for vertical form. + = 1.5.2 - 2020-06-04 = * Added - Clean Up setting. diff --git a/templates/content-single-agent.php b/templates/content-single-agent.php index 7b0fe4c9..53519a47 100755 --- a/templates/content-single-agent.php +++ b/templates/content-single-agent.php @@ -15,7 +15,7 @@ $id = time();