<?php

add_action( 'admin_menu', 'medical_coach_getting_started' );
function medical_coach_getting_started() {
    add_theme_page( 
		esc_html__('Getting Started', 'medical-coach'), 
		esc_html__('Getting Started', 'medical-coach'), 
		'manage_options', 
		'medical-coach-guide-page', 
		'medical_coach_test_guide'
	);
}

if ( ! defined( 'MEDICAL_COACH_DOCS_FREE' ) ) {
define('MEDICAL_COACH_DOCS_FREE',__('https://www.mishkatwp.com/instruction/medical-coach-free-docs/','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_DOCS_PRO' ) ) {
define('MEDICAL_COACH_DOCS_PRO',__('https://www.mishkatwp.com/instruction/medical-coach-pro-docs/','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_BUY_NOW' ) ) {
define('MEDICAL_COACH_BUY_NOW',__('https://www.mishkatwp.com/themes/medical-coach-wordpress-theme/','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_SUPPORT_FREE' ) ) {
define('MEDICAL_COACH_SUPPORT_FREE',__('https://wordpress.org/support/theme/medical-coach','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_REVIEW_FREE' ) ) {
define('MEDICAL_COACH_REVIEW_FREE',__('https://wordpress.org/support/theme/medical-coach/reviews/#new-post','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_DEMO_PRO' ) ) {
define('MEDICAL_COACH_DEMO_PRO',__('https://www.mishkatwp.com/pro/medical-coach/','medical-coach'));
}
if ( ! defined( 'MEDICAL_COACH_BUNDLE' ) ) {
define('MEDICAL_COACH_BUNDLE',__('https://www.mishkatwp.com/themes/wordpress-theme-bundle/','medical-coach'));
}

function medical_coach_test_guide() { ?>
	<?php $medical_coach_theme = wp_get_theme();?>
	<div class="wrap" id="main-page">
		<div id="righty">
			<div class="getstart-postbox donate">
				<h4><?php esc_html_e( 'Discount Upto 25%', 'medical-coach' ); ?> <span><?php esc_html_e( '"Special25"', 'medical-coach' ); ?></span></h4>
				<h3 class="hndle"><?php esc_html_e( 'Upgrade to Premium', 'medical-coach' ); ?></h3>
				<div class="inside">
					<p><?php esc_html_e('Click to upgrade to see the enhanced pro features available in the premium version.','medical-coach'); ?></p>
					<div id="admin_pro_links">
						<a class="blue-button-2" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" target="_blank"><?php esc_html_e( 'Go Pro', 'medical-coach' ); ?></a>
						<a class="blue-button-1" href="<?php echo esc_url( MEDICAL_COACH_DEMO_PRO ); ?>" target="_blank"><?php esc_html_e( 'Live Demo', 'medical-coach' ) ?></a>
						<a class="blue-button-2" href="<?php echo esc_url( MEDICAL_COACH_DOCS_PRO ); ?>" target="_blank"><?php esc_html_e( 'Pro Docs', 'medical-coach' ) ?></a>
					</div>
				</div>
				<div class="d-table">
				    <ul class="d-column">
				      <li class="feature"><?php esc_html_e('Features','medical-coach'); ?></li>
				      <li class="free"><?php esc_html_e('Pro','medical-coach'); ?></li>
				      <li class="plus"><?php esc_html_e('Free','medical-coach'); ?></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('24hrs Priority Support','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('LearnPress Campatiblity','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Kirki Framework','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Advance Posttype','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-no"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('One Click Demo Import','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Section Reordering','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-no"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Enable / Disable Option','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Multiple Sections','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-no"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Advance Color Pallete','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-no"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Advance Widgets','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-yes"></span></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('Page Templates','medical-coach'); ?></li>
				      <li class="right"><span class="dashicons dashicons-yes"></span></li>
				      <li class="wrong"><span class="dashicons dashicons-no"></span></li>
				    </ul>
	  			</div>
			</div>
		</div>
		<div id="lefty">
			<div id="description">
				<h3><?php esc_html_e('Welcome! Thank you for choosing ','medical-coach'); ?><?php echo esc_html( $medical_coach_theme ); ?>  <span><?php esc_html_e('Version: ', 'medical-coach'); ?><?php echo esc_html($medical_coach_theme['Version']);?></span></h3>
				<div class="demo-import-box">
					<h4><?php echo esc_html('IMPORT HOMEPAGE','medical-coach'); ?></h4>
					<p><?php echo esc_html('Get started with the wordpress theme installation','medical-coach'); ?></p>
					<a href="<?php echo esc_url( admin_url( 'themes.php?page=medicalcoach-wizard' ) ); ?>" class="blue-button-1">
					    <?php echo esc_html__( 'Demo Importer', 'medical-coach' ); ?>
					</a>
				</div>
				<h4 class="feature-head"><?php esc_html_e('Begin with our theme features:-','medical-coach'); ?></h4>
				<div class="customizer-inside">
					<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'Add Menus', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[panel]=nav_menus') ); ?>"><?php esc_html_e('Go to Menu', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to menu >> Select menu which you had created >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'Add Logo', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=custom_logo') ); ?>"><?php esc_html_e('Go to Site Identity', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Site Identity >> Select Logo Add Title or Tagline >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'Home Page Section', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[panel]=medical_coach_home_page_section') ); ?>"><?php esc_html_e('Go to Home Page Section', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Home Page Sections >> Then go to different section which ever you want >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'Post Options', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=medical_coach_post_image_on_off') ); ?>"><?php esc_html_e('Go to Post Options', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Post Options >> Then go to different settings which ever you want >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'Post Layout Options', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=medical_coach_post_layout') ); ?>"><?php esc_html_e('Go to Post Layout Options', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Post Layout Options >> Then go to different settings which ever you want >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	<div class="medical-coach-theme-setting-item">
                        <div class="medical-coach-theme-setting-item-header">
                            <?php esc_html_e( 'General Options Options', 'medical-coach' ); ?>                            
                       	</div>
                        <div class="medical-coach-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=medical_coach_preloader_setting') ); ?>"><?php esc_html_e('Go to General Options', 'medical-coach'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Post General Options >> Then go to different settings which ever you want >> Then Publish ', 'medical-coach' ); ?></p>
                	</div>
                	
                	<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("Customize All Fonts", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>

					<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("Customize All Color", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>

					<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("Section Reorder", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>

					<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("Typography Options", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>

					<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("One Click Demo Import", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>
					<a target="_blank" href="<?php echo esc_url( MEDICAL_COACH_BUY_NOW ); ?>" class="medical-coach-theme-setting-item medical-coach-theme-setting-item-unavailable">
					    <div class="medical-coach-theme-setting-item-header">
					        <span><?php esc_html_e("Background  Settings", "medical-coach"); ?></span> <span><?php esc_html_e("Premium", "medical-coach"); ?></span>
					    </div>
					    <div class="medical-coach-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "medical-coach"); ?></span>
					    </div>
					</a>
					
				</div>
			</div>
		</div>
		<div id="righty">
			<div class="medical-coach-theme-setting-sidebar-item">
		        <div class="medical-coach-theme-setting-sidebar-header"><?php esc_html_e( 'Theme Bundle', 'medical-coach' ) ?></div>
		        <div class="medical-coach-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Get our all themes in single pack.', 'medical-coach' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( MEDICAL_COACH_BUNDLE ); ?>" target="_blank" class="blue-button-2"><?php esc_html_e( 'Theme Bundle', 'medical-coach' ) ?></a>
		            </div>
		        </div>
		    </div>
			<div class="medical-coach-theme-setting-sidebar-item">
		        <div class="medical-coach-theme-setting-sidebar-header"><?php esc_html_e( 'Free Documentation', 'medical-coach' ) ?></div>
		        <div class="medical-coach-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Our guide is available if you require any help configuring and setting up the theme.', 'medical-coach' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( MEDICAL_COACH_DOCS_FREE ); ?>" target="_blank" class="blue-button-1"><?php esc_html_e( 'Free Documentation', 'medical-coach' ) ?></a>
		            </div>
		        </div>
		    </div>
		    <div class="medical-coach-theme-setting-sidebar-item">
		        <div class="medical-coach-theme-setting-sidebar-header"><?php esc_html_e( 'Support', 'medical-coach' ) ?></div>
		        <div class="medical-coach-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Visit our website to contact us if you face any issues with our lite theme!', 'medical-coach' ) ?></p>
		            <div id="admin_links">
		            	<a class="blue-button-2" href="<?php echo esc_url( MEDICAL_COACH_SUPPORT_FREE ); ?>" target="_blank" class="btn3"><?php esc_html_e( 'Support', 'medical-coach' ) ?></a>
		            </div>
		        </div>
		    </div>
		    <div class="medical-coach-theme-setting-sidebar-item">
		        <div class="medical-coach-theme-setting-sidebar-header"><?php esc_html_e( 'Review', 'medical-coach' ) ?></div>
		        <div class="medical-coach-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Are you having fun with Medical Coach? Review us on WordPress.org to show your support!', 'medical-coach' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( MEDICAL_COACH_REVIEW_FREE ); ?>" target="_blank" class="blue-button-1"><?php esc_html_e( 'Review', 'medical-coach' ) ?></a>
		            </div>
		        </div>
		    </div>
		</div>
	</div>
<?php } ?>