<?php
//about theme info
add_action( 'admin_menu', 'educator_education_gettingstarted' );
function educator_education_gettingstarted() {    	
	add_theme_page( esc_html__('Get Started', 'educator-education'), esc_html__('Get Started', 'educator-education'), 'edit_theme_options', 'educator_education_guide', 'educator_education_mostrar_guide');   
}

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

//guidline for about theme
function educator_education_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'educator-education' );
?>

<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', 'educator-education'); ?></a>
			<a href="<?php echo esc_url( EDUCATOR_EDUCATION_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'educator-education' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/educator-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'educator-education' ); ?></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', 'educator-education' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="educator_education_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'educator-education' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="educator_education_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'educator-education' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="educator_education_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'educator-education' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="educator_education_openCity(event, 'tc_crawlhunt')">
					<a href="#">
						<?php esc_html_e( 'CrawlHunt', 'educator-education' ); ?>
					</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 Educator Education Theme', 'educator-education' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( EDUCATOR_EDUCATION_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'educator-education' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'educator-education'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( EDUCATOR_EDUCATION_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'educator-education'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/screenshot.jpg" alt="" />
				</div>
				<div class="col-tc-6">
				<P><?php esc_html_e( 'Educator Education is a clean, modern, and multipurpose theme designed specifically for schools, colleges, universities, online learning platforms, tutors, training institutes, e-learning academies, coaching centers, educational consultants, professional instructors, online course providers, skill development programs, certification programs, corporate training, exam preparation classes, language courses, and educational workshops. Ideal for showcasing courses, faculty, events, online classes, workshops, and learning programs, it provides an engaging platform for both educators and students. With a fully responsive, retina-ready, and mobile-friendly layout, the theme ensures a seamless user experience across desktops, tablets, and smartphones. Key features include interactive course listings, testimonial sections, event management, FAQ sections, call-to-action (CTA) buttons, and dedicated areas for team profiles, student achievements, and learning resources. Built with optimized and secure code, it offers fast page load times, SEO-friendly structure, and easy customization for layouts, colors, and fonts. The theme integrates smoothly with WooCommerce for paid courses or educational products, LearnPress for managing online courses and lessons, and Contact Form 7 for inquiries and student registrations, making Educator Education a complete solution for building a professional, high-performing, and feature-rich educational website.', 'educator-education' ); ?></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( 'Educator Education Theme Information', 'educator-education' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( EDUCATOR_EDUCATION_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'educator-education' ); ?></a>
					<a href="<?php echo esc_url( EDUCATOR_EDUCATION_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'educator-education' ); ?></a>
					<a href="<?php echo esc_url( EDUCATOR_EDUCATION_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'educator-education' ); ?></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( 'Educator Education Pro Theme', 'educator-education' ); ?></h4>
				<P><?php esc_html_e( 'Whether you are a tutor or running any educational institute; this Free Educator WordPress Theme is going to make it extremely easy for you to have a professional web appearance. Your website has an important role to play when it comes to the success of your profession or Educator Education since it gives your audience an idea about your work and lets them decide whether to put their trust in your services or not. As this theme is typically designed for education and teaching-based websites, you will hardly need to modify it for creating your web page. Many basic functionalities have been included in the design to make it practically ready for serving as a full-fledged teaching and learning site. However, this Free Educator WordPress Theme from Themshopy includes some scope for you to try changing a few basic things of the design and make your website have your own taste.For that, there are options given for colors, typography, title, fonts, etc. You may also add your logo to the website to make it look even more professional. Integration with the Wocmmerce plugin is going to be a massive plus for your website. With this, you will not only be able to sell your study material online and video lectures subscription online but also get some revenue from the same. Moreover, adding more features to your existing site is also easy with this teme as it is made plugin compatible supporting most of the free as well as premium plugins. With the key details highlighting contact info at the top of the page, the slider also catches the attention by displaying pictures of your work with Call to Action (CTAs) nicely placed on it that will take care of the conversions. Free Educator WordPress Theme is well-equipped with all the elements needed for a great web presence.', 'educator-education' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'educator-education' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'educator-education' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'educator-education' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'educator-education' ); ?></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?', 'educator-education' ); ?></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.', 'educator-education' ); ?></P>
						<a href="<?php echo esc_url( EDUCATOR_EDUCATION_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'educator-education' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'educator-education'); ?></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.', 'educator-education' ); ?></P>
						<a href="<?php echo esc_url( EDUCATOR_EDUCATION_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'educator-education'); ?></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', 'educator-education'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_crawlhunt" class="tabcontent">
				<div class="crawlhunt-wrap">
					<div class="crawlhunt-image">
						<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/crawlhunt.png" alt="<?php esc_attr_e( 'Crawl Hunt - Advanced SEO Optimization Tool', 'educator-education' ); ?>" />
					</div>
					<div class="crawlhunt-content">
						<h2><?php esc_html_e( 'Improve Your Website SEO with CrawlHunt 🚀', 'educator-education' ); ?></h2>
						<p><?php esc_html_e( 'Already built your website? Make sure Google can find and understand it.CrawlHunt scans your website for SEO issues like missing meta tags, broken links, image ALT text, indexing problems, and more. Get actionable insights and AI-powered fixes from one dashboard.', 'educator-education' ); ?></p>
						<div class="crawlhunt-buttons">
							<a href="<?php echo esc_url( admin_url( 'plugin-install.php?s=crawl-hunt-seo-audit-tool&tab=search&type=term' ) ); ?>" class="tc-btn primary large-button"><?php esc_html_e( 'Get Crawl Hunt Plugin For Free', 'educator-education' ); ?></a>
						</div><!-- END .crawlhunt-buttons -->
						<div class="crawlhunt-buttons">
							<a target="_blank" href="<?php echo esc_url( 'https://www.crawlhunt.com/' ); ?>" class="tc-btn primary large-button"><?php esc_html_e( 'Scan My Website for Free →', 'educator-education' ); ?></a>
						</div><!-- END .crawlhunt-buttons -->
					</div>
				</div><!-- END .crawlhunt-wrap -->
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>