<?php
//about theme info
add_action( 'admin_menu', 'core_fitness_gettingstarted' );
function core_fitness_gettingstarted() {    	
	add_theme_page( esc_html__('Get Started', 'core-fitness'), esc_html__('Get Started', 'core-fitness'), 'edit_theme_options', 'core_fitness_guide', 'core_fitness_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function core_fitness_admin_theme_style() {
   wp_enqueue_style('custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getting-started/getting-started.css');

   // Admin notice code START
	wp_register_script('core-fitness-notice', esc_url(get_theme_file_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('core-fitness-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'core_fitness_admin_theme_style');

//guidline for about theme
function core_fitness_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'core-fitness' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Core Fitness WordPress Theme', 'core-fitness' ); ?></h3>
		<p>( Version: <?php echo esc_html($theme['Version']);?> )</p>
	</div>
	<div class="col-left">
		<div class="left-box">
			<div class="color_bg_blue color-info">

				<div class="intro-text"><img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/themesglance-logo.png" alt="" />
				</div>
				<p class="intro_version"><span class="highlight1"><?php echo esc_html__( 'Congratulations!', 'core-fitness' ); ?></span></p>
				<p><?php echo  esc_html_e( 'You are about to use the most easy to use and flexible WordPress theme.', 'core-fitness' ); ?></p>
			</div>
			<div class="best-offers">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/best-offer.png" alt="best-offer" />
				<div class="offers">
					<p class="offer-text"><?php echo esc_html__( 'On Premium WordPress Theme', 'core-fitness' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'core-fitness' ); ?></p>
					<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'core-fitness'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'core-fitness' ); ?></h3>
			<p><?php esc_html_e( 'Core Fitness is a versatile and dynamic theme crafted for gyms, fitness studios, and every personal trainer aiming to build a strong online presence. Designed to support strength training, core workouts, and complete fitness programs, it offers a professional platform to showcase exercise routines, fitness classes, and personalized training services. Its clean and modern layout includes customizable sections for gym schedules, trainer profiles, fitness goals, and client testimonials, creating an engaging and user-friendly experience. Perfect for fitness professionals, wellness bloggers, and health coaches, this theme enables seamless presentation of programs, routines, and wellness tips while boosting user engagement and motivation. Elevate your fitness brand, streamline business management, and inspire your audience to achieve their health and fitness goals with Core Fitness.', 'core-fitness')?></p>
			<hr>
			<div class="service">
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-media-document"></span> <?php esc_html_e('Get Support', 'core-fitness'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'core-fitness'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-welcome-widgets-menus"></span> <?php esc_html_e('Getting Started', 'core-fitness'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'core-fitness'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'core-fitness'); ?></a> <?php esc_html_e('your website.', 'core-fitness'); ?></li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e('Rate This Theme', 'core-fitness'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'core-fitness'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Help Docs', 'core-fitness' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Core Fitness Lite', 'core-fitness' ); ?> <a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'core-fitness' ); ?></a></li>
					</ol>
				</div>
			</div>
			
			<h3><?php esc_html_e( 'Get started with Core Fitness Theme', 'core-fitness' ); ?></h3>
			<div class="col-left-inner"> 
				<img role="img" src="<?php echo esc_url(get_theme_file_uri()); ?>/inc/getting-started/images/customizer-image.png" alt="" />
			</div>		
			<div class="col-right-inner">
				<p><?php esc_html_e( 'Go to', 'core-fitness' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'core-fitness' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'core-fitness' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'core-fitness' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'core-fitness' ); ?> </li>
				</ul>
			</div>
		</div>
	</div>
	<div class="col-right">
		<div class="centerbold">
			<img role="img" src="<?php echo esc_url(get_theme_file_uri()); ?>/inc/getting-started/images/responsive-tg.png" alt="" />
			<hr class="firsthr">
			<div class="btn-grp">
				<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'core-fitness'); ?></a>
				<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'core-fitness'); ?></a>
				<a href="<?php echo esc_url( CORE_FITNESS_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'core-fitness'); ?></a>
				<a href="<?php echo esc_url( CORE_FITNESS_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'core-fitness'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'core-fitness'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Theme options using customizer API', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Inbuilt BMI Calculator', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Responsive Design', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Advanced Color Options and Color Pallets', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( '100+ Font Family Options', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'RTL & Translation Ready', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Support to Add Custom CSS/JS', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'SEO Friendly', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Pagination Option', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Footer Customization Options', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Fully Integrated with Font Awesome Icon', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Short Codes', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Woo Commerce Compatible', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Gallery, Banner & Post Type Plugin Functionality', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Multiple Inner Page Templates', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Customizable Home Page', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Advance Social Media Feature', 'core-fitness'); ?></li>
		 	<li><?php esc_html_e( 'Left and Right Sidebar', 'core-fitness'); ?></li>
		</ul>
	</div>
	
</div>

<?php } ?>