get('Version') ); } add_action( 'wp_enqueue_scripts', 'autoshop_enqueue_child_styles' ); /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function autoshop_customize_register($wp_customize) { $wp_customize->get_setting( 'header_textcolor' )->default = '#ffffff'; } add_action('customize_register', 'autoshop_customize_register', 99999); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function autoshop_widgets_init() { register_sidebar(array( 'name' => esc_html__('Above Footer Section', 'autoshop'), 'id' => 'above-footer-section', 'description' => esc_html__('Add widgets to above footer section.', 'autoshop'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); } add_action('widgets_init', 'autoshop_widgets_init', 11);