get( 'Version' ) ); wp_enqueue_style( 'business-lounge-animate-css', esc_url(get_template_directory_uri()).'/assets/css/animate.css' ); // Enqueue theme stylesheet. wp_enqueue_style( 'business-lounge-style' ); } endif; add_action( 'wp_enqueue_scripts', 'business_lounge_styles' ); /* Enqueue Wow Js */ function business_lounge_scripts() { wp_enqueue_script( 'business-lounge-wow', esc_url(get_template_directory_uri()) . '/assets/js/wow.js', array('jquery') ); wp_enqueue_script( 'business-lounge-theme', esc_url(get_template_directory_uri()) . '/assets/js/theme.js', array('jquery') ); } add_action( 'wp_enqueue_scripts', 'business_lounge_scripts' ); // Add block patterns require get_template_directory() . '/inc/block-pattern.php'; // Add block Style require get_template_directory() . '/inc/block-style.php'; // Add Customizer require get_template_directory() . '/inc/customizer.php'; // Get Started require get_template_directory() . '/get-started/getstart.php'; // Theme Option include get_template_directory() . '/custom.php'; // Upsell if ( class_exists( 'WP_Customize_Section' ) ) { class Business_Lounge_Upsell_Section extends WP_Customize_Section { public $type = 'business-lounge-upsell'; public $button_text = ''; public $url = ''; public $background_color = ''; public $text_color = ''; protected function render() { $background_color = ! empty( $this->background_color ) ? esc_attr( $this->background_color ) : '#a42661'; $text_color = ! empty( $this->text_color ) ? esc_attr( $this->text_color ) : '#fff'; ?>
  • title ); ?> button_text ); ?>