/**
* 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();
What if you can get doing $twenty five,000 for your home buy just as Augusta installment loans no credit check a first responder, firefighter, police officer, or army group? Well, anybody can! It can help for folks who satisfied certain Hometown Heroes Mortgage System requirements. As an instance, your to purchase house have to be inside the Tangerine Condition, Fl.
Of several very first-go out homeowners do not think that they’ll be eligible for a loan themselves because they do not have enough money saved up having a downpayment or because they enjoys poor credit from past errors in life particularly getting into financial obligation or which have a good bad credit history because of late costs if you don’t case of bankruptcy situations. However, there are possibilities to help you earliest-time homebuyers having income lower than 80% AMI that can not have become experienced in earlier times while they imagine they will struggle to qualify for that loan on their particular.

What are regarding Home town Heroes Financing System, an application for all those throughout the military and you may basic responders, such as for instance police and you will fire, medics, plus instructors? Great! It financing program is for sale in Central Fl.
The new Home town Heroes Mortgage program is actually for people in the brand new armed forces and you can basic responders, for example cops and you will flames, medics, and even educators. New finance are made to help these types of heroes buy home in the Central Florida.
You don’t need to pay anything straight back in the event your application is eligible! Of course it isn’t accepted, there’s no damage complete – zero credit score was impacted by using.
Unfortunately, this is not accessible to people: only those who happen to be qualified less than Label 38 can use (there are plenty of official certification).
Survivors applying in this two years after the loss of a lifetime mate or minor man due to demise while you are carrying out military services obligations
Retired services participants getting advancing years pay at the least 50% disability get otherwise comparable percentage dependent the size of provider rendered

The fresh Hometown Heroes Base can give very first responders, pros, or any other champion positives $twenty-five,one hundred thousand to buy their houses. Usually, no down-payment will become necessary. There are also zero monthly premiums or interest repayments required for the finance. The only real requisite is you live-in your house for at least seven age once closure.
You could pick people domestic from inside the Florida that will set you back lower than the most numbers put provided they fits HUD direction (get a hold of “Home town Heroes System Requirements” below).
The latest Home town Heroes Base offers a grant out of up to $25k towards purchasing your brand new home. Imagine the loan comes out to less than exactly what the Home town Heroes Foundation wants (it should be considering similar conversion process study from within 31 miles from where you stand purchasing the property). In this case, they enhance their render appropriately up until the maximum number has been achieved.
Because of this even in the event there isn’t sufficient collateral left after paying out-of people liens up against the family immediately after to purchase it (in the event the there are one), they’ll nevertheless provide us with sufficient money for all of us devoid of got some thing come out but really!
The new Hometown Heroes system isnt a loan. It is a direct cash discount and savings program which you can put on to your home purchase otherwise re-finance closing costs.
Home town Heroes are a nationwide supplier regarding a house qualities that has hitched having a great deal of regional realtors during the almost every condition and county along side You.S to include valuable savings to your a house fees.
]]>