<?php
//about theme info
add_action( 'admin_menu', 'advance_training_academy_gettingstarted' );
function advance_training_academy_gettingstarted() {    	
	add_theme_page( esc_html__('Get Started', 'advance-training-academy'), esc_html__('Get Started', 'advance-training-academy'), 'edit_theme_options', 'advance_training_academy_guide', 'advance_training_academy_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function advance_training_academy_admin_theme_style() {
   wp_enqueue_style('advance-training-academy-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-training-academy-notice', esc_url(get_template_directory_uri()) . '/inc/admin/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('advance-training-academy-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'advance_training_academy_admin_theme_style');

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

<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-training-academy'); ?></a>
			<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-training-academy' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/education-training-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'advance-training-academy' ); ?></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-training-academy' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="advance_training_academy_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'advance-training-academy' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_training_academy_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'advance-training-academy' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_training_academy_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'advance-training-academy' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	
	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Advance Training Academy Theme', 'advance-training-academy' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-training-academy' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'advance-training-academy'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'advance-training-academy'); ?></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( 'The Advance Training Academy theme is a professional, modern, and fully responsive solution designed for educational institutions, training centers, coaching institutes, and professional development academies. Perfect for offering courses, workshops, certifications, online classes, skill development programs, vocational training, corporate training, soft skills coaching, language courses, and exam preparation classes, this theme provides a user-friendly and visually appealing platform to showcase educational services. It features a clean, minimal layout with customizable sections for course listings, instructor profiles, testimonials, event schedules, and Call to Action (CTA) buttons to drive student engagement. Fully responsive and retina-ready, the theme ensures seamless accessibility across desktops, tablets, and mobile devices. With advanced personalization options for colors, typography, and layouts, you can create a professional learning website that reflects your academy’s brand identity. Fully compatible with LearnPress for course management and online learning, Contact Form 7 for student inquiries, and WooCommerce for paid courses or workshop registrations, the Advance Training Academy theme is SEO-friendly, fast-loading, and a complete solution for building a high-performing online education platform.', 'advance-training-academy' ); ?></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 Training Academy Theme Information', 'advance-training-academy' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'advance-training-academy' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'advance-training-academy' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'advance-training-academy' ); ?></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 Training Academy Pro Theme', 'advance-training-academy' ); ?></h4>
				<P><?php esc_html_e( 'The Premium Education Training WordPress Theme is a modern and elegant design tailored specifically for training academies and centers. This theme is designed to attract potential students and users with its sleek and professional appearance. The theme comes with an amazing layout that includes a slider section to display the campus, events, and courses, making it easy for visitors to get a sense of what the academy offers. Additionally, there is an about us section, contact forms, and testimonials section that allows visitors to learn more about the academy and its offerings. It includes large background images or videos and sections for showcasing recent news, upcoming events, and featured courses. The Premium Education Training WordPress theme also has built-in options for creating custom forms, such as contact forms, application forms, and registration forms. This can be particularly useful for educational and training institutions that need to collect information from potential students and other stakeholders. The theme also comes with a news and blog posts section that provides information and updates about the academy. This is an excellent way to keep visitors informed and engaged with the academy’s activities. Furthermore, there is a section to display courses and programs, making it easy for visitors to find the information they need. The theme is responsive, cross-browser compatible, and retina ready, ensuring it looks great on all devices. This theme is also translation-ready and SEO-friendly, making it easy to reach a global audience. It also supports popular plugins such as Contact Forms 7 and Woocommerce, making it easy to add additional functionality to the website. The theme is also customizable and has many options, allowing users to customize the website to their needs. Overall, the Premium Education Training WordPress Theme is a great option for training academies and centers looking for a modern, elegant, and user-friendly website.', 'advance-training-academy' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'advance-training-academy' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'advance-training-academy' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'advance-training-academy' ); ?></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-training-academy' ); ?></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-training-academy' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'advance-training-academy' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'advance-training-academy'); ?></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-training-academy' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_TRAINING_ACADEMY_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'advance-training-academy'); ?></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-training-academy'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>