<?php
//about theme info
add_action( 'admin_menu', 'advance_coaching_gettingstarted' );
function advance_coaching_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'advance-coaching'), esc_html__('Theme Demo Content', 'advance-coaching'), 'edit_theme_options', 'advance_coaching_guide', 'advance_coaching_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function advance_coaching_admin_theme_style() {
   wp_enqueue_style('advance-coaching-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/admin/admin.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/admin/js/tab.js');

   // Admin notice code START
	wp_register_script('advance-coaching-notice', esc_url(get_template_directory_uri()) . '/inc/admin/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('advance-coaching-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'advance_coaching_admin_theme_style');

//guidline for about theme
function advance_coaching_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'advance-coaching' );
?>

<div class="wrapper-info">  
	<div id="tc-header">
		<div class="tc-container  main-header">
			<a class="tc-logo">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/logo.png" alt="" />
			</a>
			<span class="tc-header-action">
			<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customize', 'advance-coaching'); ?></a>
			<a href="<?php echo esc_url( ADVANCE_COACHING_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-coaching' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/coaching-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'advance-coaching' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/wordpress-theme-bundle' ); ?>" class="bundle_btn" target="_blank"> <?php esc_html_e( 'Bundle of 220+ Themes at $99', 'advance-coaching' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="advance_coaching_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'advance-coaching' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_coaching_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'advance-coaching' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_coaching_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'advance-coaching' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_coaching_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'advance-coaching' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_demo" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Advance Coaching', 'advance-coaching' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="demo">
					<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for Advance Coaching', 'advance-coaching' ); ?></h4>
					<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/admin/demo-import.php' );?>
				</div>
			</div><!-- END .tc-section -->
		</div>
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Advance Coaching Theme', 'advance-coaching' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( ADVANCE_COACHING_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-coaching' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'advance-coaching'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( ADVANCE_COACHING_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'advance-coaching'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
				<P><?php esc_html_e( 'Advance Coaching is an elegant, resourceful, versatile, and polished education theme for campuses, physical and educational training centers, LMS platforms, sports coaches, personal life coaches, fitness coaches, hobby classes, teachers, lecturers, vocational training, internships, eSchools, online learning, tutors, personal trainers, speakers, motivators, home schooling, personality development, online course providers, online training, tutorials, health coaching, strategic coaching, mentoring, leadership development, personal development, workshops, consulting, career growth, executive coaching, competitive exam coaching, business coaching, kindergartens, digital coaching, online coaches, influencers, vendor certification training, tuition centers, language schools, distant learning providers, modern schooling, yoga courses, online classes, mentors, religious and spiritual preachers, motivational speakers, and other relevant websites. This advanced theme has a beautiful layout that gives the website a professional look. It has a responsive layout with a mobile-first approach to adjust on mobiles, tablets, and desktops of variable screen sizes. It is multilingual, tested to work on all browsers, supports RTL writing, SEO-friendly, retina-ready, and optimized for speed. This coaching theme can be customized to give it a personalized touch to suit your brand. It supports various post formats like standard, image, custom header, gallery, video, and four-column layouts. Gallery options allow adding images of your coaching center, school, or college to attract more parents and students to your services. It features a testimonial section for feedback and can be used as a one-page or multi-page theme. Fully compatible with WooCommerce for selling coaching materials or services, Contact Form 7 for inquiries and lead capture, YITH WooCommerce Wishlist, and YITH WooCommerce Compare, Advance Coaching also integrates smartly placed call-to-action (CTA) buttons to generate leads effectively.', 'advance-coaching' ); ?></P>
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_pro" class="tabcontent">
				<h3><?php esc_html_e( 'Advance Coaching Theme Information', 'advance-coaching' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( ADVANCE_COACHING_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'advance-coaching' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_COACHING_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'advance-coaching' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_COACHING_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'advance-coaching' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/responsiveimg.jpg" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Advance Coaching Pro Theme', 'advance-coaching' ); ?></h4>
				<P><?php esc_html_e( 'Advance Coaching is an elegant, resourceful, versatile, and polished education theme for campuses, physical and educational training centers, LMS platforms, sports coaches, personal life coaches, fitness coaches, hobby classes, teachers, lecturers, vocational training, internships, eSchools, online learning, tutors, personal trainers, speakers, motivators, home schooling, personality development, online course providers, online training, tutorials, health coaching, strategic coaching, mentoring, leadership development, personal development, workshops, consulting, career growth, executive coaching, competitive exam coaching, business coaching, kindergartens, digital coaching, online coaches, influencers, vendor certification training, tuition centers, language schools, distant learning providers, modern schooling, yoga courses, online classes, mentors, religious and spiritual preachers, motivational speakers, and other relevant websites. This advanced theme has a beautiful layout that gives the website a professional look. It has a responsive layout with a mobile-first approach to adjust on mobiles, tablets, and desktops of variable screen sizes. It is multilingual, tested to work on all browsers, supports RTL writing, SEO-friendly, retina-ready, and optimized for speed. This coaching theme can be customized to give it a personalized touch to suit your brand.', 'advance-coaching' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'advance-coaching' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'advance-coaching' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'advance-coaching' ); ?></li>
				</ul>				
			</div>	
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_create" class="tabcontent">
				<div class="tab-cont">
					<h4><?php esc_html_e( 'Need Support?', 'advance-coaching' ); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'Our team is obliged to help you in every way possible whenever you face any type of difficulties and doubts.', 'advance-coaching' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_COACHING_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'advance-coaching' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'advance-coaching'); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'It is commendable to have such a theme inculcated with amazing features and robust functionalities. I feel grateful to recommend this theme to one and all.', 'advance-coaching' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_COACHING_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'advance-coaching'); ?></a>
					</div>
				</div>

				<div class="tc-section large-section">
					<h2>Let‘s customize your website</h2>
					<p>There are many changes you can make to customize your website. Explore customization options and make it unique.</p>
					<div class="tc-buttons">
						<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>" class="tc-btn primary large-button"><?php esc_html_e('Start Customizing', 'advance-coaching'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>