<?php
//about theme info
add_action( 'admin_menu', 'medical_doctor_gettingstarted' );
function medical_doctor_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'medical-doctor'), esc_html__('Theme Demo Content', 'medical-doctor'), 'edit_theme_options', 'medical_doctor_guide', 'medical_doctor_mostrar_guide');   
}

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

//guidline for about theme
function medical_doctor_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'medical-doctor' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Medical Doctor WordPress Theme', 'medical-doctor' ); ?></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">Congratulations!</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', 'medical-doctor' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'medical-doctor' ); ?></p>
					<a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'medical-doctor'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'medical-doctor' ); ?></h3>
			<p><?php esc_html_e( 'Medical Doctor is a responsive, professional, and fully customizable theme crafted for healthcare professionals such as doctors, surgeons, dentists, physiotherapists, chiropractors, physicians, pharmacists, medical consultants, clinics, hospitals, pathology labs, veterinary doctors, and healthcare centers seeking a modern and trustworthy online presence. Ideal for medical, clinic, and hospital websites, the theme features a clean, retina-ready design enhanced with interactive sliders, clear Call-to-Action (CTA) buttons, smooth animations, and an intuitive interface that helps patients navigate services with ease. Built on a robust Bootstrap framework with well-optimized code, it delivers fast loading speeds and consistent performance across desktops, tablets, and smartphones. The theme integrates seamlessly with WooCommerce for selling medical products, pharmacy items, or healthcare services online, while compatibility with Contact Form 7 supports appointment booking and patient inquiries. Multilingual readiness with WPML and SEO optimization through Yoast SEO further improve accessibility and search visibility. Overall, Medical Doctor provides a reliable, mobile-friendly, and SEO-focused foundation for healthcare providers to strengthen their digital presence and enhance patient engagement effectively.', 'medical-doctor')?></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', 'medical-doctor'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'medical-doctor'); ?></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', 'medical-doctor'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'medical-doctor'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'medical-doctor'); ?></a> <?php esc_html_e('your website.', 'medical-doctor'); ?></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', 'medical-doctor'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'medical-doctor'); ?></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', 'medical-doctor' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Medical Doctor Lite', 'medical-doctor' ); ?> <a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'medical-doctor' ); ?></a></li>
					</ol>
				</div>
			</div>
			
			<h3><?php esc_html_e( 'Get started with Medical Doctor Theme', 'medical-doctor' ); ?></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', 'medical-doctor' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'medical-doctor' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'medical-doctor' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'medical-doctor' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'medical-doctor' ); ?> </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( MEDICAL_DOCTOR_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'medical-doctor'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'medical-doctor'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_DOCTOR_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'medical-doctor'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_DOCTOR_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'medical-doctor'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'medical-doctor'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "courses" listing', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Events" listing', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Search courses', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Courses categories listing', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Plugin with shortcode', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Instructor" listing', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Newsletter with contact form 7', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Woocommerce Product section on home', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Record Section', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'medical-doctor'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'medical-doctor'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>