This commit is contained in:
Hoang Huu 2020-05-14 14:30:49 +07:00
parent dc600a4172
commit 22afb180e4
5 changed files with 13 additions and 7 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -1,3 +1,6 @@
= 1.4.9.1 - 2020-05-14 =
* Fixes - Responsive slider.
= 1.4.9 - 2020-05-12 = = 1.4.9 - 2020-05-12 =
* Fixes - User Dashboard. * Fixes - User Dashboard.

View File

@ -3,7 +3,7 @@
* Plugin Name: Opal Estate Pro * Plugin Name: Opal Estate Pro
* Plugin URI: https://wpdocs.gitbook.io/opal-estate/ * 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. * Description: Opal Real Estate Plugin is an ideal solution and brilliant choice for you to set up a professional estate website.
* Version: 1.4.9 * Version: 1.4.9.1
* Author: WPOPAL * Author: WPOPAL
* Author URI: http://www.wpopal.com * Author URI: http://www.wpopal.com
* Requires at least: 4.9 * Requires at least: 4.9
@ -150,7 +150,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
*/ */
public function __clone() { public function __clone() {
// Cloning instances of the class is forbidden // Cloning instances of the class is forbidden
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.4.9' ); _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.4.9.1' );
} }
/** /**
@ -159,7 +159,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
public function setup_constants() { public function setup_constants() {
// Plugin version // Plugin version
if ( ! defined( 'OPALESTATE_VERSION' ) ) { if ( ! defined( 'OPALESTATE_VERSION' ) ) {
define( 'OPALESTATE_VERSION', '1.4.9' ); define( 'OPALESTATE_VERSION', '1.4.9.1' );
} }
// Plugin Folder Path // Plugin Folder Path

View File

@ -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 Tags: estate, property, opalestate, house for rent, agency for lease, estate submission, agents estate property, property marketplace
Requires at least: 4.9 Requires at least: 4.9
Tested up to: 5.3.2 Tested up to: 5.3.2
Stable tag: 1.4.9 Stable tag: 1.4.9.1
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -100,7 +100,6 @@ The plugin will not make you disappointed with ease of use, friendly & flexible
- [opalestate_properties] => Display list of property estate in grid with pagination - [opalestate_properties] => Display list of property estate in grid with pagination
- [opalestate_search_properties] => Show Map + Search Box and Properties - [opalestate_search_properties] => Show Map + Search Box and Properties
- [opalestate_search_agents] => Dislay Search box and agents collection - [opalestate_search_agents] => Dislay Search box and agents collection
- [opalestate_agent_carousel] => Display List of Agent in carousel style - [opalestate_agent_carousel] => Display List of Agent in carousel style
- [opalestate_agency_carousel] => Display List of Agency in carousel style - [opalestate_agency_carousel] => Display List of Agency in carousel style
@ -156,6 +155,9 @@ 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") * System tickets support 24/7 available : [free support](https://wpopal.ticksy.com/ "Visit the Plugin support Page")
== Changelog == == Changelog ==
= 1.4.9.1 - 2020-05-14 =
* Fixes - Responsive slider.
= 1.4.9 - 2020-05-12 = = 1.4.9 - 2020-05-12 =
* Fixes - User Dashboard. * Fixes - User Dashboard.

View File

@ -2,10 +2,11 @@
$_id = 'posts-block-' . rand( 1, 9 ); $_id = 'posts-block-' . rand( 1, 9 );
$item = apply_filters( 'opalesate_carousel_property_column', 3, isset( $args ) ? $args : [] ); $item = apply_filters( 'opalesate_carousel_property_column', 3, isset( $args ) ? $args : [] );
$data = [ $data = [
'slidesPerView' => $item, 'slidesPerView' => 3,
'spaceBetween' => 30, 'spaceBetween' => 30,
'slidesPerGroup' => $item, // 'slidesPerGroup' => 1,
'loop' => false, 'loop' => false,
'breakpoints' => [ 1024 => [ "slidesPerView" => 1 ], 768 => [ "slidesPerView" => 1 ] ],
]; ];
$template_style = isset( $args['style'] ) && $args['style'] ? sanitize_text_field( $args['style'] ) : 'content-property-grid'; $template_style = isset( $args['style'] ) && $args['style'] ? sanitize_text_field( $args['style'] ) : 'content-property-grid';