<?php

add_action( 'admin_menu', 'party_rental_getting_started' );
function party_rental_getting_started() {
    add_theme_page( 
		esc_html__('Getting Started', 'party-rental'), 
		esc_html__('Getting Started', 'party-rental'), 
		'manage_options', 
		'party-rental-guide-page', 
		'party_rental_test_guide'
	);
}

if ( ! defined( 'PARTY_RENTAL_DOCS_FREE' ) ) {
define('PARTY_RENTAL_DOCS_FREE',__('https://www.mishkatwp.com/instruction/party-rental-free-docs/','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_DOCS_PRO' ) ) {
define('PARTY_RENTAL_DOCS_PRO',__('https://www.mishkatwp.com/instruction/party-rental-pro-docs/','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_BUY_NOW' ) ) {
define('PARTY_RENTAL_BUY_NOW',__('https://www.mishkatwp.com/themes/party-wordpress-theme/','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_SUPPORT_FREE' ) ) {
define('PARTY_RENTAL_SUPPORT_FREE',__('https://wordpress.org/support/theme/party-rental','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_REVIEW_FREE' ) ) {
define('PARTY_RENTAL_REVIEW_FREE',__('https://wordpress.org/support/theme/party-rental/reviews/#new-post','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_DEMO_PRO' ) ) {
define('PARTY_RENTAL_DEMO_PRO',__('https://mishkatwp.com/pro/party-rental/','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_BUNDLE' ) ) {
define('PARTY_RENTAL_BUNDLE',__('https://www.mishkatwp.com/themes/WordPress-theme-bundle/','party-rental'));
}
if ( ! defined( 'PARTY_RENTAL_FREE_LINK' ) ) {
define('PARTY_RENTAL_FREE_LINK',__('https://www.mishkatwp.com/themes/free-party-rental-wordpress-theme/','party-rental'));
}

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

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

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

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

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

<?php } ?>