/**
* 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();

Government Mortgage Financial of Des Moines in partnership with several lenders inside the Alaska, Hawaii, Idaho, Montana, Oregon, Utah, Arizona County, and you will Wyoming provides the HomeStart Discounts System (HSP). New HSP was created to help lower-earnings families collect money to own down payment and you can settlement costs because of the matching all of the $step one spared which have $3, doing a maximum of $3,100 so you’re able to $5,000 for the the purchase off a primary home. Prospective homebuyers need to be an initial-go out homebuyer and you can secure below 80 percent away from HUD’s city median money within people, modified for family members dimensions, complete an effective homebuyer education path, and you may be eligible for a mortgage by the time the newest give is actually granted, and get property in this 2 yrs regarding applying for brand new Home$tart Savings System.
Environment for Humanity International yields reasonable casing to possess lowest-money parents. Households are offered from the zero finances, without appeal billed into the mortgage. People are responsible for making a deposit and monthly financial repayments. In return for its Habitat family, people need dedicate multiple hundred period of one’s own labor — sweating guarantee — into building the Habitat family plus the households out-of anyone else. For additional info on the local system, contact your local Environment User otherwise label (800) 422-4828.
National Council regarding State Construction Providers will bring information connected with the brand new software offered County Housing Fund Firms, which often provide individuals homebuyer programs in addition to, down payment assistance, mortgage advice, plus.
NeighborWorks was a nationwide system in excess of 225 neighborhood-founded groups that offer several applications to greatly help individuals pick and sustain their houses. Many NeighborWorks teams give downpayment direction in addition to family fix software. To obtain an excellent NeighborWorks company in your area, go to the website and click towards “NeighborWorks Look.”
You.S. Institution out of Property and you can Metropolitan Advancement now offers Homeownership Vouchers to assist qualified, first-go out homeowners and their monthly homeownership costs. Month-to-month homeownership expenses range between home loan dominating and you may appeal, financial top, a residential property taxes and you can homeowner insurance policies, Social Casing Service (PHA) allocation getting resources, PHA allotment having routine maintenance will set you back, PHA allowance to own biggest fixes and you will substitutes, prominent and you may desire on personal debt to finance biggest fixes and you will replacements on the house, and you will dominating and you may appeal for the debt to finance will cost you and come up with our home accessible to possess a close relative having handicaps in the event the PHA decides it is called for given that a fair housing. To learn of the regional qualifications conditions get speedycashloan.net personal loans low interest hold of your regional Social Houses Department .
Loved ones Housing Info also offers a variety of guidance applications, and additionally flexible mortgage programs and downpayment and closing costs assistance, to very first-day homebuyers during the Washington. To participate, potential customers need to go as a result of one of several playing lenders. For more information, label (800) 622-7462.

San diego Housing Payment even offers an initial-day homebuyer program, advance payment guidelines and you may financial guidelines. To learn more, label (619) 231-9400 or age-post .
Texas Houses and you can Finance Power even offers several homebuyer direction apps so you’re able to low and you may typical earnings some one and you will families. One system, HomeStart, are a primary-financial financial support program to possess qualified Tx homebuyers that offers a aggressive interest rate mortgage and money help help pay down commission and you can closure expenses. Earnings restrictions and purchase rates restrictions apply, and you will borrowers have to first complete good homebuyer studies classification. To find out more, label (800) 877-2432, ext. 376 or (303) 297-7305 (TDD).
Character Alliance is a non-profit company giving education, information, and you can assistance for people with handicaps just who search homeownership ventures in the Texas. Its a collective effort away from lenders, local, state, and you may federal company team, nonprofits, builders, supporters, realtors, and individuals which have handicaps. To learn more about your options nowadays into the Texas, name the latest alliance at the (888) 401-Hero (4376).
]]>