<?php

add_action( 'admin_menu', 'elite_florist_getting_started' );
function elite_florist_getting_started() {
    add_theme_page( 
		esc_html__('Getting Started', 'elite-florist'), 
		esc_html__('Getting Started', 'elite-florist'), 
		'manage_options', 
		'elite-florist-guide-page', 
		'elite_florist_test_guide'
	);
}

if ( ! defined( 'ELITE_FLORIST_DOCS_FREE' ) ) {
define('ELITE_FLORIST_DOCS_FREE',__('https://www.mishkatwp.com/instruction/elite-florist-free-docs/','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_DOCS_PRO' ) ) {
define('ELITE_FLORIST_DOCS_PRO',__('https://www.mishkatwp.com/instruction/elite-florist-pro-docs/','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_BUY_NOW' ) ) {
define('ELITE_FLORIST_BUY_NOW',__('https://www.mishkatwp.com/themes/flower-shop-wordpress-theme/','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_SUPPORT_FREE' ) ) {
define('ELITE_FLORIST_SUPPORT_FREE',__('https://wordpress.org/support/theme/elite-florist','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_REVIEW_FREE' ) ) {
define('ELITE_FLORIST_REVIEW_FREE',__('https://wordpress.org/support/theme/elite-florist/reviews/#new-post','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_DEMO_PRO' ) ) {
define('ELITE_FLORIST_DEMO_PRO',__('https://www.mishkatwp.com/pro/elite-florist/','elite-florist'));
}
if ( ! defined( 'ELITE_FLORIST_BUNDLE' ) ) {
define('ELITE_FLORIST_BUNDLE',__('https://www.mishkatwp.com/themes/WordPress-theme-bundle/','elite-florist'));
}

function elite_florist_test_guide() { ?>
	<?php $elite_florist_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%', 'elite-florist' ); ?> <span><?php esc_html_e( '"Special25"', 'elite-florist' ); ?></span></h4>
				<h3 class="hndle"><?php esc_html_e( 'Upgrade to Premium', 'elite-florist' ); ?></h3>
				<div class="inside">
					<p><?php esc_html_e('Click to upgrade to see the enhanced pro features available in the premium version.','elite-florist'); ?></p>
					<div id="admin_pro_links">
						<a class="blue-button-2" href="<?php echo esc_url( ELITE_FLORIST_BUY_NOW ); ?>" target="_blank"><?php esc_html_e( 'Go Pro', 'elite-florist' ); ?></a>
						<a class="blue-button-1" href="<?php echo esc_url( ELITE_FLORIST_DEMO_PRO ); ?>" target="_blank"><?php esc_html_e( 'Live Demo', 'elite-florist' ) ?></a>
						<a class="blue-button-2" href="<?php echo esc_url( ELITE_FLORIST_DOCS_PRO ); ?>" target="_blank"><?php esc_html_e( 'Pro Docs', 'elite-florist' ) ?></a>
					</div>
				</div>
				<div class="d-table">
				    <ul class="d-column">
				      <li class="feature"><?php esc_html_e('Features','elite-florist'); ?></li>
				      <li class="free"><?php esc_html_e('Pro','elite-florist'); ?></li>
				      <li class="plus"><?php esc_html_e('Free','elite-florist'); ?></li>
				    </ul>
				    <ul class="d-row">
				      <li class="points"><?php esc_html_e('24hrs Priority Support','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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','elite-florist'); ?></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 ','elite-florist'); ?><?php echo esc_html( $elite_florist_theme ); ?>  <span><?php esc_html_e('Version: ', 'elite-florist'); ?><?php echo esc_html($elite_florist_theme['Version']);?></span></h3>
				<div class="demo-import-box">
					<h4><?php echo esc_html('IMPORT HOMEPAGE','elite-florist'); ?></h4>
					<p><?php echo esc_html('Get started with the WordPress theme installation','elite-florist'); ?></p>
					<a href="<?php echo esc_url( admin_url( 'themes.php?page=eliteflorist-wizard' ) ); ?>" class="blue-button-1">
					    <?php echo esc_html__( 'Demo Importer', 'elite-florist' ); ?>
					</a>
				</div>
				<h4 class="feature-head"><?php esc_html_e('Begin with our theme features:-','elite-florist'); ?></h4>
				<div class="customizer-inside">
					<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'Add Menus', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-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', 'elite-florist'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to menu >> Select menu which you had created >> Then Publish ', 'elite-florist' ); ?></p>
                	</div>
                	<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'Add Logo', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-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', 'elite-florist'); ?></a>
                     	</div>
                     	<p><?php esc_html_e( 'After Clicking go to customizer >> Go to Site Identity >> Select Logo Add Title or Tagline >> Then Publish ', 'elite-florist' ); ?></p>
                	</div>
                	<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'Home Page Section', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[panel]=elite_florist_home_page_section') ); ?>"><?php esc_html_e('Go to Home Page Section', 'elite-florist'); ?></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 ', 'elite-florist' ); ?></p>
                	</div>
                	<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'Post Options', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=elite_florist_post_image_on_off') ); ?>"><?php esc_html_e('Go to Post Options', 'elite-florist'); ?></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 ', 'elite-florist' ); ?></p>
                	</div>
                	<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'Post Layout Options', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=elite_florist_post_layout') ); ?>"><?php esc_html_e('Go to Post Layout Options', 'elite-florist'); ?></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 ', 'elite-florist' ); ?></p>
                	</div>
                	<div class="elite-florist-theme-setting-item">
                        <div class="elite-florist-theme-setting-item-header">
                            <?php esc_html_e( 'General Options Options', 'elite-florist' ); ?>                            
                       	</div>
                        <div class="elite-florist-theme-setting-item-content">
                        	<a target="_blank" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=elite_florist_preloader_setting') ); ?>"><?php esc_html_e('Go to General Options', 'elite-florist'); ?></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 ', 'elite-florist' ); ?></p>
                	</div>
                	
                	<a target="_blank" href="<?php echo esc_url( ELITE_FLORIST_BUY_NOW ); ?>" class="elite-florist-theme-setting-item elite-florist-theme-setting-item-unavailable">
					    <div class="elite-florist-theme-setting-item-header">
					        <span><?php esc_html_e("Customize All Fonts", "elite-florist"); ?></span> <span><?php esc_html_e("Premium", "elite-florist"); ?></span>
					    </div>
					    <div class="elite-florist-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "elite-florist"); ?></span>
					    </div>
					</a>

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

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

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

					<a target="_blank" href="<?php echo esc_url( ELITE_FLORIST_BUY_NOW ); ?>" class="elite-florist-theme-setting-item elite-florist-theme-setting-item-unavailable">
					    <div class="elite-florist-theme-setting-item-header">
					        <span><?php esc_html_e("One Click Demo Import", "elite-florist"); ?></span> <span><?php esc_html_e("Premium", "elite-florist"); ?></span>
					    </div>
					    <div class="elite-florist-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "elite-florist"); ?></span>
					    </div>
					</a>
					<a target="_blank" href="<?php echo esc_url( ELITE_FLORIST_BUY_NOW ); ?>" class="elite-florist-theme-setting-item elite-florist-theme-setting-item-unavailable">
					    <div class="elite-florist-theme-setting-item-header">
					        <span><?php esc_html_e("Background  Settings", "elite-florist"); ?></span> <span><?php esc_html_e("Premium", "elite-florist"); ?></span>
					    </div>
					    <div class="elite-florist-theme-setting-item-content">
					        <span><?php esc_html_e("Go to Customizer", "elite-florist"); ?></span>
					    </div>
					</a>
					
				</div>
			</div>
		</div>
		<div id="righty">
			<div class="elite-florist-theme-setting-sidebar-item">
		        <div class="elite-florist-theme-setting-sidebar-header"><?php esc_html_e( 'Theme Bundle', 'elite-florist' ) ?></div>
		        <div class="elite-florist-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Get our all themes in single pack.', 'elite-florist' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( ELITE_FLORIST_BUNDLE ); ?>" target="_blank" class="blue-button-2"><?php esc_html_e( 'Theme Bundle', 'elite-florist' ) ?></a>
		            </div>
		        </div>
		    </div>
			<div class="elite-florist-theme-setting-sidebar-item">
		        <div class="elite-florist-theme-setting-sidebar-header"><?php esc_html_e( 'Free Documentation', 'elite-florist' ) ?></div>
		        <div class="elite-florist-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.', 'elite-florist' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( ELITE_FLORIST_DOCS_FREE ); ?>" target="_blank" class="blue-button-1"><?php esc_html_e( 'Free Documentation', 'elite-florist' ) ?></a>
		            </div>
		        </div>
		    </div>
		    <div class="elite-florist-theme-setting-sidebar-item">
		        <div class="elite-florist-theme-setting-sidebar-header"><?php esc_html_e( 'Support', 'elite-florist' ) ?></div>
		        <div class="elite-florist-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!', 'elite-florist' ) ?></p>
		            <div id="admin_links">
		            	<a class="blue-button-2" href="<?php echo esc_url( ELITE_FLORIST_SUPPORT_FREE ); ?>" target="_blank" class="btn3"><?php esc_html_e( 'Support', 'elite-florist' ) ?></a>
		            </div>
		        </div>
		    </div>
		    <div class="elite-florist-theme-setting-sidebar-item">
		        <div class="elite-florist-theme-setting-sidebar-header"><?php esc_html_e( 'Review', 'elite-florist' ) ?></div>
		        <div class="elite-florist-theme-setting-sidebar-content">
		            <p class="m-0"><?php esc_html_e( 'Are you having fun with Elite Florist? Review us on WordPress.org to show your support!', 'elite-florist' ) ?></p>
		            <div id="admin_links">
		            	<a href="<?php echo esc_url( ELITE_FLORIST_REVIEW_FREE ); ?>" target="_blank" class="blue-button-1"><?php esc_html_e( 'Review', 'elite-florist' ) ?></a>
		            </div>
		        </div>
		    </div>
		</div>
	</div>
<?php } ?>