Merge pull request #24 from wpopal/develop

Develop
This commit is contained in:
wpopal 2019-12-13 12:24:50 +07:00 committed by GitHub
commit 56dc180255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 566 additions and 468 deletions

View File

@ -2665,6 +2665,11 @@ header:hover .property-bg-thumbnail a {
background: #02ce76;
color: #FFF; }
.opalesate-property-collection .elementor-slick-slider-row.slick-arrows-inside .slick-arrow {
top: 50% !important; }
.opalesate-property-collection .elementor-slick-slider-row.slick-arrows-inside .slick-arrow.slick-prev {
left: 0; }
.opalestate_agency {
margin-bottom: 30px; }
@ -3997,7 +4002,3 @@ header#masthead {
background: #2f73e9;
position: absolute;
top: 0; }
.opalestate-notice {
padding: 10px;
}

View File

@ -651,3 +651,22 @@ header{
}
}
}
.opalesate-property-collection {
.elementor-slick-slider-row {
&.slick-arrows-default {}
&.slick-arrows-outside {
.slick-arrow {
}
}
&.slick-arrows-inside {
.slick-arrow {
top: 50% !important;
&.slick-prev {
left:0;
}
}
}
}
}

View File

@ -34,7 +34,7 @@ class Opalestate_Agency_Query extends OpalEstate_Abstract_Query {
$defaults = array(
'output' => 'collection',
'post_type' => array( 'opaljob_job' ),
'post_type' => array( 'opalestate_agency' ),
'number' => 20,
'offset' => 0,
'paged' => 1,

View File

@ -154,7 +154,7 @@ abstract class Opalestate_Base_API {
* @return WP_Error with message key rest_forbidden
*/
private function missing_auth() {
return new WP_Error( 'rest_forbidden', esc_html__( 'You must specify both a token and API key!' ), [ 'status' => rest_authorization_required_code() ] );
return new WP_Error( 'rest_forbidden', esc_html__( 'You must specify both a token and API key!', 'opalestate-pro' ), [ 'status' => rest_authorization_required_code() ] );
}
/**
@ -165,7 +165,7 @@ abstract class Opalestate_Base_API {
* @return WP_Error with message key rest_forbidden
*/
private function invalid_auth() {
return new WP_Error( 'rest_forbidden', esc_html__( 'Your request could not be authenticated!', 'opaljob' ), [ 'status' => 403 ] );
return new WP_Error( 'rest_forbidden', esc_html__( 'Your request could not be authenticated!', 'opalestate-pro' ), [ 'status' => 403 ] );
}
/**
@ -176,7 +176,7 @@ abstract class Opalestate_Base_API {
* @return WP_Error with message key rest_forbidden
*/
private function invalid_key() {
return new WP_Error( 'rest_forbidden', esc_html__( 'Invalid API key!' ), [ 'status' => rest_authorization_required_code() ] );
return new WP_Error( 'rest_forbidden', esc_html__( 'Invalid API key!', 'opalestate-pro' ), [ 'status' => rest_authorization_required_code() ] );
}
/**

View File

@ -119,7 +119,8 @@ abstract class Opalestate_Elementor_Widget_Base extends Widget_Base {
}
if ( $settings['enable_carousel'] === 'yes' ) {
$this->add_render_attribute( 'wrapper-style', 'class', 'elementor-slick-slider-row row-items' );
$arrows_position_class = isset( $settings['arrows_position'] ) && $settings['arrows_position'] ? 'slick-arrows-' . $settings['arrows_position'] : '';
$this->add_render_attribute( 'wrapper-style', 'class', 'elementor-slick-slider-row row-items ' . $arrows_position_class );
$data = $this->get_settings_json( $settings );
$this->add_render_attribute( 'wrapper', 'data-settings', $data );
@ -355,6 +356,7 @@ abstract class Opalestate_Elementor_Widget_Base extends Widget_Base {
'type' => Controls_Manager::SELECT,
'default' => 'inside',
'options' => [
'default' => esc_html__( 'Default', 'opalestate-pro' ),
'inside' => esc_html__( 'Inside', 'opalestate-pro' ),
'outside' => esc_html__( 'Outside', 'opalestate-pro' ),
],

File diff suppressed because it is too large Load Diff

View File

@ -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.4
* Version: 1.2.5
* 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.4' );
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.2.5' );
}
/**
@ -160,7 +160,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
public function setup_constants() {
// Plugin version
if ( ! defined( 'OPALESTATE_VERSION' ) ) {
define( 'OPALESTATE_VERSION', '1.2.4' );
define( 'OPALESTATE_VERSION', '1.2.5' );
}
// 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
Requires at least: 4.6
Tested up to: 5.3
Stable tag: 1.2.4
Stable tag: 1.2.5
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -23,9 +23,9 @@ The plugin will not make you disappointed with ease of use, friendly & flexible
= Which themes use this plugin? =
1. *[ Housey - Real Estate WordPress Theme](https://bit.ly/2kHewkG "Housey - Real Estate WordPress Theme")*
2. *[ Latehome - Real Estate WordPress Theme](https://bit.ly/2M0rmp0 "Latehome - Real Estate WordPress Theme")*
3. *[ Latehome Free - Real Estate Free WordPress Theme](http://demo2.themelexus.com/latehome_free/ "Latehome Free - Real Estate Free WordPress Theme"). You can download free [here](https://bit.ly/2nLTfHT "Latehome Free download").*
1. *[ Housey - Real Estate WordPress Theme](http://bit.ly/2kw4MK8 "Housey - Real Estate WordPress Theme")*
2. *[ Latehome - Real Estate WordPress Theme](http://bit.ly/2p5HUn2 "Latehome - Real Estate WordPress Theme")*
3. *[ Latehome Free - Real Estate Free WordPress Theme](http://demo2.themelexus.com/latehome_free/ "Latehome Free - Real Estate Free WordPress Theme"). You can download free [here](http://bit.ly/latehomefree "Latehome Free download").*
* Please keep contact us at help@wpopal.com to send us your website, we will publish it our showcase
@ -156,6 +156,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")
== Changelog ==
= 1.2.5 - 2019-12-13 =
* Fixes - Slider properties.
= 1.2.4 - 2019-12-11 =
* Fixes - Order properties with featured properties.
* Fixes - Email approved.