<?php
//about theme info
add_action( 'admin_menu', 'fitness_gymhouse_gettingstarted' );
function fitness_gymhouse_gettingstarted() {
	add_theme_page( esc_html__('About Theme', 'fitness-gymhouse'), esc_html__('About Theme', 'fitness-gymhouse'), 'edit_theme_options', 'fitness-gymhouse-guide-page', 'fitness_gymhouse_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function fitness_gymhouse_admin_theme_style() {
   wp_enqueue_style('fitness-gymhouse-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/get_started_info.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/tab.js');
}
add_action('admin_enqueue_scripts', 'fitness_gymhouse_admin_theme_style');

//guidline for about theme
function fitness_gymhouse_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'fitness-gymhouse' );
?>

<div class="wrapper-info">  
	<div id="tc-header">
		<div class="tc-container main-header">
			<a class="tc-logo"> 
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/media/logo.png" alt="" />
			</a>
			<span class="tc-header-action">
			<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customize', 'fitness-gymhouse'); ?></a>
			<a href="<?php echo esc_url( FITNESS_GYMHOUSE_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'fitness-gymhouse' ); ?></a>
			<a href="<?php echo esc_url( FITNESS_GYMHOUSE_BUY_PRO); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'fitness-gymhouse' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/wordpress-theme-bundle' ); ?>" class="bundle_btn" target="_blank"> <?php esc_html_e( 'Bundle of 220+ Themes at $99', 'fitness-gymhouse' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="fitness_gymhouse_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'fitness-gymhouse' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="fitness_gymhouse_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'fitness-gymhouse' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="fitness_gymhouse_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'fitness-gymhouse' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Fitness Gymhouse Theme', 'fitness-gymhouse' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( FITNESS_GYMHOUSE_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'fitness-gymhouse' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'fitness-gymhouse'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( FITNESS_GYMHOUSE_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'fitness-gymhouse'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Fitness Gymhouse Theme is an exceptional WordPress theme which best suits for gym, medical supplements, aerobics, zumba, Weight loss for women, Muscle building for men, Healthy eating for growing teenagers, ayurveda, martial arts, sports training, self defence class, fitness center, workout, exercise, training, health, gym, strength, fitness, wellness, routine, equipment, classes, bodybuilding, personal training, lifestyle, cardio, yoga center. This theme offers various personalization options to help you give a look you require on your website. It very easy to navigate and fits various screen sizes. You can showcase full-width images, Wide Blocks, health, Functional movement training, Nutrition plans for better digestion, possible. Furthermore, the social media integration will help you gain exposure in every nook and corner. Its an entirely SEO friendly theme that offers faster page load time and high performance. The theme has few shortcodes and numerous customizable options to fill your website with your colors. It emphasizes on the high-quality banner image that is impressive enough to attract any visitor the moment they visit your website. Built up of optimized, secure and clean codes, It is well worth your purchase. Its Bootstrap base aids web development by enabling multiple features and functionalities on the theme.', 'fitness-gymhouse' ); ?></P>
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_pro" class="tabcontent">
				<h3><?php esc_html_e( 'Fitness Gymhouse Theme Information', 'fitness-gymhouse' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( FITNESS_GYMHOUSE_BUY_PRO ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'fitness-gymhouse' ); ?></a>
					<a href="<?php echo esc_url( FITNESS_GYMHOUSE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'fitness-gymhouse' ); ?></a>
					<a href="<?php echo esc_url( FITNESS_GYMHOUSE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'fitness-gymhouse' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/media/responsive.png" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Fitness Gymhouse Pro Theme', 'fitness-gymhouse' ); ?></h4>
				<p><?php esc_html_e( 'Fitness Gymhouse Theme is an exceptional WordPress theme which best suits for gym, fitness center, yoga center. This theme offers various personalization options to help you give a look you require on your website. It very easy to navigate and fits various screen sizes. You can showcase full-width images, call to action buttons(CTA), sections such as testimonial section to lure as many customers as possible. Furthermore, the social media integration will help you gain exposure in every nook and corner. Its an entirely SEO friendly theme that offers faster page load time and high performance. The theme has few shortcodes and numerous customizable options to fill your website with your colors.It emphasizes on the high-quality banner image that is impressive enough to attract any visitor the moment they visit your website. Built up of optimized, secure and clean codes, It is well worth your purchase. Its Bootstrap base aids web development by enabling multiple features and functionalities on the theme.', 'fitness-gymhouse' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'fitness-gymhouse' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'fitness-gymhouse' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'fitness-gymhouse' ); ?></li>
				</ul>				
			</div>	
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_create" class="tabcontent">
				<div class="tab-cont">
					<h4><?php esc_html_e( 'Need Support?', 'fitness-gymhouse' ); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'Our team is obliged to help you in every way possible whenever you face any type of difficulties and doubts.', 'fitness-gymhouse' ); ?></P>
						<a href="<?php echo esc_url( FITNESS_GYMHOUSE_FREE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'fitness-gymhouse' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'fitness-gymhouse'); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'It is commendable to have such a theme inculcated with amazing features and robust functionalities. I feel grateful to recommend this theme to one and all.', 'fitness-gymhouse' ); ?></P>
						<a href="<?php echo esc_url( FITNESS_GYMHOUSE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'fitness-gymhouse'); ?></a>
					</div>
				</div>

				<div class="tc-section large-section">
					<h2>Let‘s customize your website</h2>
					<p>There are many changes you can make to customize your website. Explore customization options and make it unique.</p>
					<div class="tc-buttons">
						<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>" class="tc-btn primary large-button"><?php esc_html_e('Start Customizing', 'fitness-gymhouse'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>