<?php
//about theme info
add_action( 'admin_menu', 'campus_education_gettingstarted' );
function campus_education_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'campus-education'), esc_html__('Demo Theme Content', 'campus-education'), 'edit_theme_options', 'campus_education_guide', 'campus_education_mostrar_guide');   
}

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

//guidline for about theme
function campus_education_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'campus-education' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Campus Education WordPress Theme', 'campus-education' ); ?></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!', 'campus-education' ); ?></span></p>
				<?php
					/* Demo Import */
					require get_parent_theme_file_path( '/inc/getting-started/demo-content.php' );
				?>
			</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', 'campus-education' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'campus-education' ); ?></p>
					<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'campus-education'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'campus-education' ); ?></h3>
			<p><?php esc_html_e( 'Campus Education is a visually appealing, engaging, and informative education theme crafted for colleges, campuses, universities, coaching centres, health coaches, and modern e-learning platforms, along with teaching academies, kindergartens, daycare centers, nursery schools, online high schools, training institutes, tuition services, study groups, course hubs, and digital libraries. It is ideal for showcasing courses, student programs, tutorials, workshops, and interactive e-learning experiences while highlighting extracurricular activities. The theme features a responsive, mobile-friendly, and cross-browser compatible design, built on a robust Bootstrap framework that ensures SEO optimization, RTL support, and fast loading performance. With extensive customization options, users can easily control headers, footers, banners, sliders, colors, fonts, and layouts through an intuitive customizer without requiring coding skills. Integrated call-to-action buttons and social media icons enhance engagement and expand reach, while compatibility with essential tools like Contact Form 7 streamlines inquiries, course registrations, and communication. Campus Education serves as a powerful solution for educational institutions and e-learning hubs looking to establish a professional, dynamic, and user-friendly online presence.', 'campus-education')?></p>
			<hr>

			<div class="service">
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-media-document"></span> <?php esc_html_e('Get Support', 'campus-education'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'campus-education'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-welcome-widgets-menus"></span> <?php esc_html_e('Getting Started', 'campus-education'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'campus-education'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'campus-education'); ?></a> <?php esc_html_e('your website.', 'campus-education'); ?></li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e('Rate This Theme', 'campus-education'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'campus-education'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Help Docs', 'campus-education' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Campus Education Lite', 'campus-education' ); ?> <a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'campus-education' ); ?></a></li>
					</ol>
				</div>
			</div>
			<h3><?php esc_html_e( 'Get started with Campus Education Theme', 'campus-education' ); ?></h3>
			<div class="col-left-inner"> 
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/free-screenshot.png" alt="" />
			</div>		
			<div class="col-right-inner">
				<p><?php esc_html_e( 'Go to', 'campus-education' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'campus-education' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'campus-education' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'campus-education' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'campus-education' ); ?> </li>
				</ul>
			</div>
		</div>
	</div>
	<div class="col-right">
		<div class="centerbold">
			<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/responsive.png" alt="" />
			<hr class="firsthr">
			<div class="btn-grp">
				<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'campus-education'); ?></a>
				<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'campus-education'); ?></a>
				<a href="<?php echo esc_url( CAMPUS_EDUCATION_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'campus-education'); ?></a>
				<a href="https://www.themesglance.com/products/wp-theme-bundle" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'campus-education'); ?></a>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'campus-education'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "courses" listing', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Events" listing', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Search courses', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Courses categories listing', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Plugin with shortcode', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Instructor" listing', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Newsletter with contact form 7', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Woocommerce Product section on home', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Record Section', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'campus-education'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'campus-education'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>