Update
This commit is contained in:
parent
98981059ad
commit
6aa79b2f11
@ -1,3 +1,6 @@
|
|||||||
|
= 1.6.5 - 2020-07-29 =
|
||||||
|
* Fixes - Settings
|
||||||
|
|
||||||
= 1.6.4 - 2020-07-24 =
|
= 1.6.4 - 2020-07-24 =
|
||||||
* Fixes - Mortage started price
|
* Fixes - Mortage started price
|
||||||
|
|
||||||
|
@ -204,23 +204,23 @@ class Opalestate_Install {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Checks if the Success Page option exists AND that the page exists
|
// Checks if the Success Page option exists AND that the page exists
|
||||||
if ( ! get_post( opalestate_get_option( 'search_map_properties_page' ) ) ) {
|
// if ( ! get_post( opalestate_get_option( 'search_map_properties_page' ) ) ) {
|
||||||
// Purchase Confirmation (Success) Page
|
// // Purchase Confirmation (Success) Page
|
||||||
$search_map_properties_page = wp_insert_post(
|
// $search_map_properties_page = wp_insert_post(
|
||||||
[
|
// [
|
||||||
'post_title' => esc_html__( 'Search Map Properties Page', 'opalestate-pro' ),
|
// 'post_title' => esc_html__( 'Search Map Properties Page', 'opalestate-pro' ),
|
||||||
'post_content' => esc_html__( '[opalestate_search_map_properties]', 'opalestate-pro' ),
|
// 'post_content' => esc_html__( '[opalestate_search_map_properties]', 'opalestate-pro' ),
|
||||||
'post_status' => 'publish',
|
// 'post_status' => 'publish',
|
||||||
'post_author' => 1,
|
// 'post_author' => 1,
|
||||||
'post_type' => 'page',
|
// 'post_type' => 'page',
|
||||||
'comment_status' => 'closed',
|
// 'comment_status' => 'closed',
|
||||||
'page_template' => 'fullwidth-page.php',
|
// 'page_template' => 'fullwidth-page.php',
|
||||||
]
|
// ]
|
||||||
);
|
// );
|
||||||
|
//
|
||||||
// Store our page IDs
|
// // Store our page IDs
|
||||||
$options['search_map_properties_page'] = $search_map_properties_page;
|
// $options['search_map_properties_page'] = $search_map_properties_page;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Populate some default values
|
// Populate some default values
|
||||||
update_option( 'opalestate_settings', array_merge( $opalestate_options, $options ) );
|
update_option( 'opalestate_settings', array_merge( $opalestate_options, $options ) );
|
||||||
|
@ -89,6 +89,12 @@ class Opalestate_Social_Login {
|
|||||||
'id' => 'google_api_key',
|
'id' => 'google_api_key',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'name' => sprintf( __( 'Redirect URL: <code>%s</code>', 'opalestate-pro' ), add_query_arg( 'opal_google_login', '1', trailingslashit( get_home_url() ) ) ),
|
||||||
|
'desc' => esc_html__( 'You need to add this URL when you create API keys.', 'opalestate-pro' ),
|
||||||
|
'id' => 'google_api_redirect_url',
|
||||||
|
'type' => 'title',
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'name' => esc_html__( 'Facebook', 'opalestate-pro' ),
|
'name' => esc_html__( 'Facebook', 'opalestate-pro' ),
|
||||||
'desc' => '',
|
'desc' => '',
|
||||||
@ -120,6 +126,13 @@ class Opalestate_Social_Login {
|
|||||||
'id' => 'facebook_secret',
|
'id' => 'facebook_secret',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'name' => sprintf( __( 'Redirect URL: <code>%s</code>', 'opalestate-pro' ), add_query_arg( 'opal_facebook_login', '1', trailingslashit( get_home_url() ) ) ),
|
||||||
|
'desc' => esc_html__( 'You need to add this URL when you create API keys.', 'opalestate-pro' ),
|
||||||
|
'id' => 'facebook_api_redirect_url',
|
||||||
|
'type' => 'title',
|
||||||
|
'after_row' => '<hr>',
|
||||||
|
],
|
||||||
] );
|
] );
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
|
@ -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.6.4
|
* Version: 1.6.5
|
||||||
* 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
|
||||||
@ -154,7 +154,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.6.4' );
|
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.6.5' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -163,7 +163,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.6.4' );
|
define( 'OPALESTATE_VERSION', '1.6.5' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Plugin Folder Path
|
// Plugin Folder Path
|
||||||
|
@ -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")
|
* System tickets support 24/7 available : [free support](https://themelexus.ticksy.com/ "Visit the Plugin support Page")
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
= 1.6.5 - 2020-07-29 =
|
||||||
|
* Fixes - Settings
|
||||||
|
|
||||||
= 1.6.4 - 2020-07-24 =
|
= 1.6.4 - 2020-07-24 =
|
||||||
* Fixes - Mortage started price
|
* Fixes - Mortage started price
|
||||||
|
|
||||||
|
@ -104,7 +104,6 @@ if ( opalestate_options( 'currency_position', 'before' ) === 'before' ) {
|
|||||||
<div class="opalestate-box-content box-mortgage">
|
<div class="opalestate-box-content box-mortgage">
|
||||||
<h4 class="outbox-title"><?php esc_html_e( 'Mortgage Payment Calculator', 'opalestate-pro' ); ?></h4>
|
<h4 class="outbox-title"><?php esc_html_e( 'Mortgage Payment Calculator', 'opalestate-pro' ); ?></h4>
|
||||||
<div class="opalestate-box">
|
<div class="opalestate-box">
|
||||||
|
|
||||||
<div class="opalestate-mortgage-widget-wrap">
|
<div class="opalestate-mortgage-widget-wrap">
|
||||||
<form class="opalestate-mortgage-form">
|
<form class="opalestate-mortgage-form">
|
||||||
<div class="opalestate-mortgage-chart-container">
|
<div class="opalestate-mortgage-chart-container">
|
||||||
|
Loading…
Reference in New Issue
Block a user