id !== 'themes' ) { return; } if ( ! get_transient( 'artportfolio_show_welcome_notice' ) ) { return; } if ( get_user_meta( get_current_user_id(), 'artportfolio_dismissed_notice', true ) ) { return; } // Get current theme info $theme = wp_get_theme(); $theme_name = $theme->get( 'Name' ); $screenshot = $theme->get_screenshot(); // Prepare welcome message $welcome_title = sprintf( __( 'Thank you for using %s!', 'art-portfolio' ), $theme_name ); $welcome_text = __( 'You are using a child theme based on Minimalio. Please checkout the Minimalio admin page, where you can find the demos, tutorials and more.', 'art-portfolio' ); $customizer_text = __( 'And please, also check out the video tutorial how to achieve the exact look of this theme!', 'art-portfolio' ); $screenshot_alt = sprintf( __( '%s Theme Screenshot', 'art-portfolio' ), $theme_name ); ?>