'ffffff', 'default-image' => '', ))); if ( ! defined( 'EXPERT_BUSINESS_ADVISOR_DEMO_IMPORT_URL' ) ) { define( 'EXPERT_BUSINESS_ADVISOR_DEMO_IMPORT_URL', esc_url( admin_url( 'themes.php?page=businessstartupexpert-wizard' ) ) ); } } endif; add_action('after_setup_theme', 'business_startup_expert_setup'); // Set content width function business_startup_expert_content_width() { $GLOBALS['content_width'] = apply_filters('business_startup_expert_content_width', 1170); } add_action('after_setup_theme', 'business_startup_expert_content_width', 0); // Register widget areas function business_startup_expert_widgets_init() { register_sidebar(array( 'name' => __('Sidebar Widget Area', 'business-startup-expert'), 'id' => 'expert-business-advisor-sidebar-primary', 'description' => __('The Primary Widget Area', 'business-startup-expert'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __('Footer Widget Area', 'business-startup-expert'), 'id' => 'expert-business-advisor-footer-widget-area', 'description' => __('The Footer Widget Area', 'business-startup-expert'), 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', )); } add_action('widgets_init', 'business_startup_expert_widgets_init'); // Remove customizer settings function business_startup_expert_remove_custom($wp_customize) { $wp_customize->remove_setting('expert_business_advisor_header_button'); $wp_customize->remove_control('expert_business_advisor_header_button'); $wp_customize->remove_setting('expert_business_advisor_header_link'); $wp_customize->remove_control('expert_business_advisor_header_link'); } add_action('customize_register', 'business_startup_expert_remove_custom', 1000);