get( 'Version' ) ); } if ( ! function_exists( 'business_fse_support' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * @since 1.0.0 * * @return void */ function business_fse_support() { $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; // Add support for block styles. add_theme_support( 'wp-block-styles' ); //responsive iframes add_theme_support( 'responsive-embeds' ); // Add support for editor styles. add_theme_support( 'editor-styles' ); // Enqueue editor styles and fonts. add_editor_style( array( './assets/css/editor-style' . $suffix . '.css' ) ); // Remove core block patterns. remove_theme_support( 'core-block-patterns' ); } endif; add_action( 'after_setup_theme', 'business_fse_support' ); /** * Customs functions */ require get_template_directory() . '/inc/customs.php';