Fixes: Swiper responsive

This commit is contained in:
Hoang Huu 2020-05-25 17:05:54 +07:00
parent 05d30614ed
commit a5b6409ab1
6 changed files with 12 additions and 6 deletions

BIN
assets/.DS_Store vendored

Binary file not shown.

BIN
assets/3rd/.DS_Store vendored

Binary file not shown.

View File

@ -1,3 +1,6 @@
= 1.4.9.3 - 2020-05-25 =
* Fixes - Swiper responsive.
= 1.4.9.2 - 2020-05-21 = = 1.4.9.2 - 2020-05-21 =
* Added - Message additional information. * Added - Message additional information.
* Fixes - Set feature property for customers. * Fixes - Set feature property for customers.

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.2 * Version: 1.4.9.3
* 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.2' ); _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.4.9.3' );
} }
/** /**
@ -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.2' ); define( 'OPALESTATE_VERSION', '1.4.9.3' );
} }
// Plugin Folder Path // Plugin Folder Path

View File

@ -152,6 +152,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") * System tickets support 24/7 available : [free support](https://themelexus.ticksy.com/ "Visit the Plugin support Page")
== Changelog == == Changelog ==
= 1.4.9.3 - 2020-05-25 =
* Fixes - Swiper responsive.
= 1.4.9.2 - 2020-05-21 = = 1.4.9.2 - 2020-05-21 =
* Added - Message additional information. * Added - Message additional information.
* Fixes - Set feature property for customers. * Fixes - Set feature property for customers.

View File

@ -2,11 +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' => 3, 'slidesPerView' => 1,
'spaceBetween' => 30, 'spaceBetween' => 10,
// 'slidesPerGroup' => 1, // 'slidesPerGroup' => 1,
'loop' => false, 'loop' => false,
'breakpoints' => [ 1024 => [ "slidesPerView" => 1 ], 768 => [ "slidesPerView" => 1 ] ], 'breakpoints' => [ 1024 => [ "slidesPerView" => 3, 'spaceBetween' => 30, ], 768 => [ "slidesPerView" => 2 ], 640 => [ "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';