/**
* Sticky Header - Customizer.
*
* @package Astra Addon
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) {
/**
* Customizer Initialization
*
* @since 1.0.0
*/
class Astra_Ext_Transparent_Header_Loader {
/**
* Member Variable
*
* @var instance
*/
private static $instance;
/**
* Initiator
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*/
public function __construct() {
add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) );
add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) );
add_action( 'customize_register', array( $this, 'customize_register' ), 2 );
}
/**
* Set Options Default Values
*
* @param array $defaults Astra options default value array.
* @return array
*/
public function theme_defaults( $defaults ) {
// Header - Transparent.
$defaults['transparent-header-logo'] = '';
$defaults['transparent-header-retina-logo'] = '';
$defaults['different-transparent-logo'] = 0;
$defaults['different-transparent-retina-logo'] = 0;
$defaults['transparent-header-logo-width'] = array(
'desktop' => 150,
'tablet' => 120,
'mobile' => 100,
);
$defaults['transparent-header-enable'] = 0;
$defaults['transparent-header-disable-archive'] = 1;
$defaults['transparent-header-disable-latest-posts-index'] = 1;
$defaults['transparent-header-on-devices'] = 'both';
$defaults['transparent-header-main-sep'] = '';
$defaults['transparent-header-main-sep-color'] = '';
/**
* Transparent Header
*/
$defaults['transparent-header-bg-color'] = '';
$defaults['transparent-header-color-site-title'] = '';
$defaults['transparent-header-color-h-site-title'] = '';
$defaults['transparent-menu-bg-color'] = '';
$defaults['transparent-menu-color'] = '';
$defaults['transparent-menu-h-color'] = '';
$defaults['transparent-submenu-bg-color'] = '';
$defaults['transparent-submenu-color'] = '';
$defaults['transparent-submenu-h-color'] = '';
/**
* Transparent Header Responsive Colors
*/
$defaults['transparent-header-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-h-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-text-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
return $defaults;
}
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
public function customize_register( $wp_customize ) {
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
/**
* Register Panel & Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php';
/**
* Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php';
// Check Transparent Header is activated.
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php';
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
}
/**
* Customizer Preview
*/
public function preview_scripts() {
/**
* Load unminified if SCRIPT_DEBUG is true.
*/
/* Directory and Extension */
$dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified';
$file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true );
// Localize variables for further JS.
wp_localize_script(
'astra-transparent-header-customizer-preview-js',
'AstraBuilderTransparentData',
array(
'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active,
'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(),
)
);
}
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
Astra_Ext_Transparent_Header_Loader::get_instance();
We are going to help you find a new mortgage package for your the fresh household start all of our you to-second on the web software quick acceptance.
Function as very first to love a market-earliest having DBS You to definitely-moment Immediate Approval*. An easier action to acquire home financing or refinance. Inside 60 seconds, their mortgage approval influence is made considering a suggestions, live borrowing bureau examining # and possessions valuation. Getting a mortgage is really so easy!
* Once you click Confirm and you may submit the borrowed funds software, it requires doing one minute generate the fresh recognition result. As the info is verified up against the filed data files, the one-time Quick Approval impact would-be final and you may definitive, bringing one to individual your brand-new home in the course of time.
# Individuals are required to declare recommendations off present home loan (if any) which will be felt for just one-minute Instant Approval.

It will take just as much as ten full minutes^ to-do the internet software to receive your own mortgage effects, that is considering an abundance of products such suggestions offered, alive borrowing bureau checking and you can possessions valuation.
^ Centered on the features decide to try, really players accomplished the program within ten mins. The actual application time differs from word of mouth.
Step one: Click Begin another app and choose the job type of; Step two: Enter in their first personal information to make the character and receive your specific resource matter by the Texting; 3: Get into other app details (plus money/assets suggestions/financial details/financials info) to have mortgage application evaluation. Step 4: Comment and you will show your application conclusion; Step 5: Fill out your application and you can instant borrowing from the bank bureau checking and you will property valuation was processed instantly by the program. Action six: The That-minute Instantaneous Approval results might possibly be produced, and you will a verification email address and you may Text messages will be provided for you; Action eight: The DBS Household Advice Expert will get in touch with you within this 1 business go out to add a personalized home loan bundle and help your submit the desired documents getting last recognition.
Step one: Mouse click Start an alternate application and choose your application particular; Step 2: Type in your own very first information that is personal in order to make your profile and you will discover your unique reference amount of the Texts; 3: Enter into most other software information (including income/assets recommendations/mortgage details/financials facts) to have home loan app comparison. Step 4: Opinion and you will establish the application conclusion; Step 5: Fill in the application and you may quick credit bureau examining and possessions valuation is canned instantaneously by the system. Step six: Your That-minute Immediate Acceptance effects will be made, and you will a verification current email address and Sms is provided for your; Action 7: All of our DBS Family Recommendations Specialist commonly get in touch with your within step 1 providers big date to provide a tailored home loan plan which help you complete the required documents getting last approval.

(When you yourself have fell out-of the application just before submission the program, delight refer to the latest strategies below to restart your application)
Step one: Look at the website and choose Keep App as well as your early in the day App Sorts of; Step two: Input your HKID number and you may resource amount sent of the Text messages having validation; 3: Establish that have a-one-Time Password sent by Sms; Step 4: The page have a tendency to force you to the place you dropped out-of (age.g. inputting economic suggestions) and remain the job; Step 5: Afterwards, the process may be the just like the program Circulate An excellent to have Performing a special Application.
1: Go to the homepage and choose Keep App as well as your prior Software Variety of; Step two: Type in your HKID count and you can site matter delivered because of the Text messages for validation; Step three: Confirm having a one-Go out Password sent of the Texts; Step 4: The fresh page often cause you to the place you decrease out of installment loans for bad credit in Houston (e.g. inputting economic suggestions) and you can continue the application; Action 5: After that, the procedure may be the identical to the application form Move A beneficial having Doing an alternative Application.
]]>