get( 'Name' ) ); /* translators: %1$s: Theme Name */ add_theme_page( esc_html__( 'About calm', 'calm-news' ), esc_html__( 'About calm', 'calm-news' ), 'edit_theme_options', 'about_calm', 'calm_news_about' ); } add_action( 'admin_menu', 'calm_news_add_main_theme_page' ); function calm_news_about() { $theme = wp_get_theme(); $theme_name = esc_html( $theme->get( 'Name' ) ); $theme_description = $theme->get( 'Description' ); $theme_user = wp_get_current_user(); $theme_slug = basename( get_stylesheet_directory() ); ?>

<?php esc_attr_e( 'Theme Screenshot', 'calm-news' ); ?>