esc_html__( 'Main menu', 'elemento-business' ), )); add_theme_support( 'responsive-embeds' ); add_theme_support( 'woocommerce' ); add_theme_support( 'align-wide' ); add_theme_support('title-tag'); add_theme_support('automatic-feed-links'); add_theme_support( 'wp-block-styles' ); add_theme_support('post-thumbnails'); add_theme_support( 'custom-background', array( 'default-color' => 'f3f3f3' )); add_theme_support( 'custom-logo', array( 'height' => 70, 'width' => 70, ) ); add_theme_support( 'custom-header', array( 'default-image' => get_parent_theme_file_uri( '/assets/images/default-image.png' ), 'width' => 1920, 'flex-width' => true, 'height' => 550, 'flex-height' => true )); register_default_headers( array( 'default-image' => array( 'url' => '%s/assets/images/default-image.png', 'thumbnail_url' => '%s/assets/images/default-image.png', 'description' => __( 'Default Header Image', 'elemento-business' ), ), ) ); add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); add_editor_style( array( '/assets/css/editor-style.css' ) ); global $pagenow; if (is_admin() && ('themes.php' == $pagenow) && isset( $_GET['activated'] )) { add_action('admin_notices', 'elemento_business_activation_notice'); } } add_action( 'after_setup_theme', 'elemento_business_after_setup_theme', 999 ); } function elemento_business_activation_notice() { echo '
'. esc_html__( 'Much thanks to you for picking Elemento Business. For the home page setup click on the below button.', 'elemento-business' ) .'
'; echo ''; echo '