240, 'width' => 240, 'flex-height' => true, ) ); add_theme_support( 'custom-background', array( 'default-color' => 'ffffff' ) ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); // Enqueue editor styles. add_editor_style( array( 'assets/css/editor-style.css' ) ); } endif; // apartment_blocks_setup add_action( 'after_setup_theme', 'apartment_blocks_setup' ); function apartment_blocks_scripts() { wp_enqueue_style( 'apartment-blocks-basic-style', get_stylesheet_uri() ); //animation wp_enqueue_script( 'wow-js', get_theme_file_uri( '/assets/js/wow.js' ), array( 'jquery' ), true ); wp_enqueue_style( 'animate-css', get_template_directory_uri().'/assets/css/animate.css' ); //font-awesome wp_enqueue_style( 'fontawesome', get_template_directory_uri() . '/assets/font-awesome/css/all.css', array(), '5.15.3' ); // script.js wp_enqueue_script('apartment-blocks-main-script', get_template_directory_uri() . '/assets/js/script.js', array('jquery'), '1.0.0', true); } add_action( 'wp_enqueue_scripts', 'apartment_blocks_scripts' ); // Get start function function apartment_blocks_custom_admin_notice() { // Check if the notice is dismissed if (!get_user_meta(get_current_user_id(), 'dismissed_admin_notice', true)) { // Check if not on the theme documentation page $apartment_blocks_current_screen = get_current_screen(); if ($apartment_blocks_current_screen && $apartment_blocks_current_screen->id !== 'appearance_page_apartment-blocks-guide-page') { $apartment_blocks_theme = wp_get_theme(); ?>

get('Name')); ?>

esc_url(admin_url('admin-ajax.php')) )); } add_action('admin_enqueue_scripts', 'apartment_blocks_enqueue_admin_script'); // Reset the dismissed notice status when the theme is switched function apartment_blocks_after_switch_theme() { delete_user_meta(get_current_user_id(), 'dismissed_admin_notice'); } add_action('after_switch_theme', 'apartment_blocks_after_switch_theme'); //get-start-function-end// // Block Patterns. require get_template_directory() . '/block-patterns.php'; require get_parent_theme_file_path( '/inc/dashboard/dashboard.php' );