esc_html__( 'Secondary', 'blogmag' ), 'social' => esc_html__( 'Soical', 'blogmag' ), ) ); } add_action( 'after_setup_theme', 'blogmag_setup' ); function blogmag_widgets_init() { for ( $i=1; $i <= 4; $i++ ) { register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area ', 'blogmag' ) . $i, 'id' => 'footer-' . $i, 'description' => esc_html__( 'Add widgets here.', 'blogmag' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } } add_action( 'widgets_init', 'blogmag_widgets_init' ); if ( ! function_exists( 'blogmag_enqueue_styles' ) ) : function blogmag_enqueue_styles() { wp_enqueue_style( 'blogmag-style-parent', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'blogmag-style', get_stylesheet_directory_uri() . '/style.css', array( 'blogmag-style-parent' ), '1.0.0' ); wp_enqueue_style( 'blogmag-slick-css', get_theme_file_uri() . '/assets/css/slick-theme.css' ); wp_enqueue_style( 'slick-css', get_theme_file_uri() . '/assets/css/slick.css' ); wp_enqueue_script( 'slick-js', get_theme_file_uri() . '/assets/js/slick.js', array(), '1.0', true ); wp_enqueue_script( 'blogmag-custom', get_theme_file_uri() . '/custom.js', array(), '1.0', true ); } endif; add_action( 'wp_enqueue_scripts', 'blogmag_enqueue_styles', 999 ); function blogmag_customize_control_style() { wp_enqueue_style( 'blogmag-customize-controls', get_theme_file_uri() . '/customizer-control.css' ); } add_action( 'customize_controls_enqueue_scripts', 'blogmag_customize_control_style' ); function blogmag_body_classes( $classes ) { $classes[] = 'third-design child-design' ; return $classes; } add_filter( 'body_class', 'blogmag_body_classes' ); require get_theme_file_path() . '/inc/customizer.php';