/**
* 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();
There are just ninety-five months up until federal student loan costs generate its reappearance-together with discussions regarding the odds of loans cancellation are lingering. Because their inauguration for the January, President Joe Biden keeps canceled over $eleven million inside targeted education loan loans, however, one amount only accounts for lower than step one% of the many government loans.
Yet, personal debt termination have assisted consumers just who went to now-defunct establishments, consumers having overall and long lasting handicaps, and you will public service workers. Democrats, yet not, try persisted to operate a vehicle Biden additionally the U.S. Service of Knowledge and then make moves on more common student loan obligations forgiveness in the midst of dealings toward president’s Create Back Most readily useful build. The goal of new Bbb funds is always to rescue, get well, and you can rebuild the country, according to Light Domestic, and you can details circumstances ranging from childcare so you can weather switch to Medicare expansion. The brand new budget for Bbb was recently slashed regarding $3 trillion in order to $step one.75 trillion.
I think given how much cash [Build Right back Most readily useful] might have been clipped there clearly was even more opportunity than ever to bring the warmth with the Biden to help you terminate student education loans, You.S. Agent. Alexandria Ocasio-Cortez said when you look at the an Instagram facts with the ework towards the Bbb funds solution.

Into presidential strategy path, Biden assured to instantaneously cancel $ten,000 within the student financial obligation for every single borrower, but that hasn’t occurred. The guy disagrees along with other Democrats-also Ocasio-Cortez, Senate Bulk Commander Chuck Schumer, and you can Sen. E Warren-to your two head education loan forgiveness issue: simply how much loans is going to be canceled for every debtor and exactly how new personal debt will likely be forgiven.
Popular frontrunners keeps pressed Biden so you’re able to cancel doing $fifty,one hundred thousand indebted to have federal education loan individuals, but he won’t budge. Whenever asked from the a beneficial CNN city hall with the , how he’d result in the $50,one hundred thousand from inside the forgiveness per borrower happens, the guy replied: I will not reach that goal. Instead, the guy told you he had been ready to discount $10,000 in debt for each and every debtor.
Biden also said in February city hall which he will not need to forgive bills off individuals just who went to professional schools, arguing those funds would-be greatest spent on very early young people studies.
Whom cares exactly what school individuals visited? Ocasio-Cortez tweeted responding. Entire generations at the job group children was indeed encouraged to get into even more obligations within the guise off elitism. This is certainly incorrect. No place will it say we should instead exchange-off early youngsters degree having student loan forgiveness. We can provides each other.
He does not require [Sen. Joe] Manchin’s permission regarding, yet again their agenda is thinly chopped, the guy must step in his exec action online game and have their dedication to deliver for all, Ocasio-Cortez told you with the Instagram into Oct. twenty-eight. We need to get this over.
I don’t consider I have the legal right to do it by signing [an administrator purchase], Biden told you when you look at the urban area hallway. Presenter of the home Nancy Pelosi will abide by Biden, saying that this type of personal debt termination will be done merely by an act out-of Congress.
Individuals genuinely believe that the brand new president of All of us has got the power having debt forgiveness, Pelosi told you inside July. He does not. They can postpone, he is able to decelerate, but the guy doesn’t have one electricity.

Given that providing office, Biden enjoys announced a redesign into the Public service Loan Forgiveness (PSLF) system and you can canceled loans to possess consumers just installment loans San Diego TX who went to today-defunct institutions, plus individuals having total and permanent disabilities.
Sooner or later this type of tips can assist thousands of consumers, but that’s only a great drop on the container, since Cody Hounanian, exec movie director of Beginner Debt Crisis Cardio, throws they. There are many than just 43 million individuals whom keep government student loans totaling more than $step one.eight trillion in financial trouble.
Money towards the federal student loans was in fact paused as . Brand new CARES Act granted forbearance, allowing student borrowers to decide whether or not to remain and come up with costs inside the pandemic. That it better is going to run inactive, whether or not, after p back up towards the .
Democrats including Ocasio-Cortez, Schumer, and Warren have also been consistently pressing to your forbearance deadline to be lengthened-but in order to no get. Biden or other Light Home authorities revealed in the August that is the past such as extension on student loan forbearance.
We have to plan out and you will prepare yourself strategies today once the showdown will be in late January whenever payments is supposed’ so you can relax upwards, Ocasio-Cortez told you to your Instagram.
]]>