<?php

add_action( 'admin_menu', 'podcast_streaming_getting_started' );
function podcast_streaming_getting_started() {
    add_theme_page( 
		esc_html__('Getting Started', 'podcast-streaming'), 
		esc_html__('Getting Started', 'podcast-streaming'), 
		'manage_options', 
		'podcast-streaming-guide-page', 
		'podcast_streaming_test_guide'
	);
}

if ( ! defined( 'PODCAST_STREAMING_DOCS_FREE' ) ) {
define('PODCAST_STREAMING_DOCS_FREE',__('https://www.mishkatwp.com/instruction/podcast-streaming-free-docs/','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_DOCS_PRO' ) ) {
define('PODCAST_STREAMING_DOCS_PRO',__('https://www.mishkatwp.com/instruction/podcast-streaming-pro-docs/','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_BUY_NOW' ) ) {
define('PODCAST_STREAMING_BUY_NOW',__('https://www.mishkatwp.com/themes/audio-podcast-wordpress-theme/','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_SUPPORT_FREE' ) ) {
define('PODCAST_STREAMING_SUPPORT_FREE',__('https://wordpress.org/support/theme/podcast-streaming','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_REVIEW_FREE' ) ) {
define('PODCAST_STREAMING_REVIEW_FREE',__('https://wordpress.org/support/theme/podcast-streaming/reviews/#new-post','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_DEMO_PRO' ) ) {
define('PODCAST_STREAMING_DEMO_PRO',__('https://mishkatwp.com/pro/podcast-streaming/','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_BUNDLE' ) ) {
define('PODCAST_STREAMING_BUNDLE',__('https://www.mishkatwp.com/themes/wordpress-theme-bundle/','podcast-streaming'));
}
if ( ! defined( 'PODCAST_STREAMING_FREE_LINK' ) ) {
define('PODCAST_STREAMING_FREE_LINK',__('https://www.mishkatwp.com/themes/free-podcast-wordpress-theme/','podcast-streaming'));
}

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

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

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

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

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

<?php } ?>
