<?php
//about theme info
add_action( 'admin_menu', 'medical_hospital_gettingstarted' );
function medical_hospital_gettingstarted() {    	
	add_theme_page( esc_html__('Get Started', 'medical-hospital'), esc_html__('Get Started', 'medical-hospital'), 'edit_theme_options', 'medical_hospital_guide', 'medical_hospital_mostrar_guide');   
}
// Add a Custom CSS file to WP Admin Area
function medical_hospital_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-hospital-notice', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('medical-hospital-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'medical_hospital_admin_theme_style');

//guidline for about theme
function medical_hospital_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'medical-hospital' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Medical Hospital WordPress Theme', 'medical-hospital' ); ?></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!', 'medical-hospital' ); ?></span></p>
				<p><?php echo  esc_html_e( 'You are about to use the most easy to use and flexible WordPress theme.', 'medical-hospital' ); ?></p>
			</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-hospital' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'medical-hospital' ); ?></p>
					<a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'medical-hospital'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'medical-hospital' ); ?></h3>
			<p><?php esc_html_e( 'If you hail from the profession of medical science and want a theme that will help you serve better in your profession then Medical Hospital theme is perfect for you. This multipurpose medical theme is flexible to be used by hospitals, clinics, doctors, surgeons, general physicians, pharmacies, ayurvedic centers, opticians, chiropractors, healthcare providers, medicare facilities, emergency medical teams, pediatric clinics, cardiology centers, cosmetic surgery clinics, pathology labs, laboratories, veterinary clinics, dentists, psychiatrists, physiatrists, and ambulance services, and is ideal for appointment booking, doctor appointment management, patient scheduling, medical camps, cancer therapy, surgery, COVID intensive care units, and medical supply services. It can efficiently be used by a small clinic or a large multi-specialty hospital. Its minimal design and user-friendly interface is sure to make visitors adhere to it and spend quality time on your site. It has a testimonial section to give a better insight of your work and service through your clients. Fully responsive, translation-ready, and integrated with Contact Form 7 for smooth communication, the Medical Hospital theme is built with clean and secure code which reduces load time and makes it search engine optimized. You can share your content through social media icons embedded in it. This theme has an interactive yet simple design to give clients a soothing effect, and it is packed with stunning features and functionalities to show sincerity and dedication in your work.', 'medical-hospital')?>
			</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-hospital'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'medical-hospital'); ?></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-hospital'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'medical-hospital'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'medical-hospital'); ?></a> <?php esc_html_e('your website.', 'medical-hospital'); ?></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-hospital'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'medical-hospital'); ?></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-hospital' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Medical Hospital Lite', 'medical-hospital' ); ?> <a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'medical-hospital' ); ?></a></li>
					</ol>
				</div>
			</div>
			<h3><?php esc_html_e( 'Get started with Medical Hospital Theme', 'medical-hospital' ); ?></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-hospital' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'medical-hospital' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'medical-hospital' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'medical-hospital' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'medical-hospital' ); ?> </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_HOSPITAL_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'medical-hospital'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'medical-hospital'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_HOSPITAL_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'medical-hospital'); ?></a>
				<a href="<?php echo esc_url( MEDICAL_HOSPITAL_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'medical-hospital'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'medical-hospital'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Advanced Slider with the text and CTA button for each slides', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Unlimited slides', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Doctor Posttype', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Success Stories Posttype', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Section', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Happy Clients Posttype', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Services Posttye', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Services listing with Shortcodes', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Happy Clients listing with Shortcodes', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Doctor listing with Shortcodes', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Success Stories listing with Shortcodes', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Partner listing with slider', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Contact Page template', 'medical-hospital'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'medical-hospital'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>