diff --git a/changelog.txt b/changelog.txt
index 5eb98afc..dd30d928 100755
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,6 @@
+= 1.6.5 - 2020-07-29 =
+* Fixes - Settings
+
= 1.6.4 - 2020-07-24 =
* Fixes - Mortage started price
diff --git a/inc/class-opalestate-install.php b/inc/class-opalestate-install.php
index d8772544..bfaf231e 100755
--- a/inc/class-opalestate-install.php
+++ b/inc/class-opalestate-install.php
@@ -204,23 +204,23 @@ class Opalestate_Install {
}
// Checks if the Success Page option exists AND that the page exists
- if ( ! get_post( opalestate_get_option( 'search_map_properties_page' ) ) ) {
- // Purchase Confirmation (Success) Page
- $search_map_properties_page = wp_insert_post(
- [
- 'post_title' => esc_html__( 'Search Map Properties Page', 'opalestate-pro' ),
- 'post_content' => esc_html__( '[opalestate_search_map_properties]', 'opalestate-pro' ),
- 'post_status' => 'publish',
- 'post_author' => 1,
- 'post_type' => 'page',
- 'comment_status' => 'closed',
- 'page_template' => 'fullwidth-page.php',
- ]
- );
-
- // Store our page IDs
- $options['search_map_properties_page'] = $search_map_properties_page;
- }
+ // if ( ! get_post( opalestate_get_option( 'search_map_properties_page' ) ) ) {
+ // // Purchase Confirmation (Success) Page
+ // $search_map_properties_page = wp_insert_post(
+ // [
+ // 'post_title' => esc_html__( 'Search Map Properties Page', 'opalestate-pro' ),
+ // 'post_content' => esc_html__( '[opalestate_search_map_properties]', 'opalestate-pro' ),
+ // 'post_status' => 'publish',
+ // 'post_author' => 1,
+ // 'post_type' => 'page',
+ // 'comment_status' => 'closed',
+ // 'page_template' => 'fullwidth-page.php',
+ // ]
+ // );
+ //
+ // // Store our page IDs
+ // $options['search_map_properties_page'] = $search_map_properties_page;
+ // }
// Populate some default values
update_option( 'opalestate_settings', array_merge( $opalestate_options, $options ) );
diff --git a/inc/vendors/social-login/class-opalestate-social-login.php b/inc/vendors/social-login/class-opalestate-social-login.php
index 9092490f..4ee43c2f 100755
--- a/inc/vendors/social-login/class-opalestate-social-login.php
+++ b/inc/vendors/social-login/class-opalestate-social-login.php
@@ -89,6 +89,12 @@ class Opalestate_Social_Login {
'id' => 'google_api_key',
'type' => 'text',
],
+ [
+ 'name' => sprintf( __( 'Redirect URL: %s
', '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' ),
'desc' => '',
@@ -120,6 +126,13 @@ class Opalestate_Social_Login {
'id' => 'facebook_secret',
'type' => 'text',
],
+ [
+ 'name' => sprintf( __( 'Redirect URL: %s
', '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' => '