<?php
//about theme info
add_action( 'admin_menu', 'store_expert_gettingstarted' );
function store_expert_gettingstarted() {    	
	add_theme_page( esc_html__('Store Expert Theme Setup Guide', 'store-expert'), esc_html__('Theme setup guide', 'store-expert'), 'edit_theme_options', 'store_expert_guide', 'store_expert_mostrar_guide');   
}

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


//guidline for about theme
function store_expert_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'store-expert' );
?>

<div class="wrapper-info">
    <div class="col-left">
    	<h2><?php esc_html_e( 'Welcome to Store Expert Theme', 'store-expert' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
    </div>
    <div class="col-right">
    	<div class="logo">
			<img src="https://www.ammuthemes.com/wp-content/uploads/2018/02/ammulogo.png" alt="" />
		</div>
		<div class="update-now">
			<h4><?php esc_html_e('Buy Store Expert Pro at 10% Discount','store-expert'); ?></h4>
			<h4><?php esc_html_e('Use Coupon','store-expert'); ?> ( <span><?php esc_html_e('10PERCENTOFF','store-expert'); ?></span> ) </h4> 
			<div class="info-link">
				<a href="https://www.ammuthemes.com/downloads/store-expert-pro/" target="_blank"> <?php esc_html_e( 'Upgrade to Pro', 'store-expert' ); ?></a>
			</div>
		</div>
    </div>

    <div class="tab-sec">
		<div class="tab">
		  <button class="tablinks" onclick="openCity(event, 'theme_lite')"><?php esc_html_e( 'Getting Started', 'store-expert' ); ?></button>	  
		  <button class="tablinks" onclick="openCity(event, 'theme_pro')"><?php esc_html_e( 'Get Premium', 'store-expert' ); ?></button>
		</div>

		<!-- Tab content -->
		<div id="theme_lite" class="tabcontent open">
			<h3><?php esc_html_e( 'Theme Information', 'store-expert' ); ?></h3>
			<hr class="h3hr">
		  	<p><?php esc_html_e('Store Expert WordPress theme is a comprehensive solution for creating an online store. The theme is designed to cater to the needs of supermarket stores that also perform functions like buying and selling online. It offers a visually appealing ambience, easy navigation, and compatibility with WooCommerce plug-in, which provides a safe payment gateway for online financial transactions. Once you install the theme, you can focus on growing your business as it requires no coding skills to make changes. The theme is visible in its original form and dimension across all browsers and devices, including tablets, smartphones, and laptops. With all these advantages, Store Expert WordPress theme is an ideal choice for entrepreneurs looking to establish their first online presence or expand their existing one. It will be best WordPress theme for electronics store, fashions store, jwellery shop, cloths store, mobile store, groceries store, organics store and any kind of online stores.','store-expert'); ?></p>
		  	<div class="col-left-inner">
				<h4><?php esc_html_e('Theme Customizer', 'store-expert'); ?></h4>
				<p> <?php esc_html_e('To begin customizing your website, start by clicking "Customize".', 'store-expert'); ?></p>
				<div class="info-link">
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'store-expert'); ?></a>
				</div>
				<hr>				
				<h4><?php esc_html_e('Having Trouble, Need Support?', 'store-expert'); ?></h4>
				<p> <?php esc_html_e('Our dedicated team is well prepared to help you out in case of queries and doubts regarding our theme.', 'store-expert'); ?></p>
				<div class="info-link">
					<a href="https://www.ammuthemes.com/forums/forum/free-theme-support/store-expert/" target="_blank"><?php esc_html_e('Support Forum', 'store-expert'); ?></a>
				</div>
				<hr>
				<h4><?php esc_html_e('Reviews & Testimonials', 'store-expert'); ?></h4>
				<p> <?php esc_html_e('All the features and aspects of this WordPress Theme are phenomenal. I\'d recommend this theme to all.', 'store-expert'); ?>  </p>
				<div class="info-link">
					<a href="https://wordpress.org/support/theme/store-expert/reviews/#new-post" target="_blank"><?php esc_html_e('Reviews', 'store-expert'); ?></a>
				</div>
		  	</div>
			<div class="col-right-inner">
				<h3 class="page-template"><?php esc_html_e('How to set up Home Page Template','store-expert'); ?></h3>
			  	<hr class="h3hr">
				<p><?php esc_html_e('Follow these instructions to setup Home page.','store-expert'); ?></p>
                <ul>
                	<li><?php esc_html_e('1. Create a Page to set template:  Go to ','store-expert'); ?>
                  	<b><?php esc_html_e('Dashboard &gt;&gt; Pages &gt;&gt; Add New Page','store-expert'); ?></b>.
                  	<p><?php esc_html_e('Label it "home" or anything as you wish. Then select template "home-page" from template dropdown.','store-expert'); ?></p></li>
                  	<img src="https://www.ammuthemes.com/wp-content/uploads/2020/01/home-page-template.png" alt="" width="700" height="297" />
                  	<p></p><span class="strong"><?php esc_html_e('2. Set the front page:','store-expert'); ?></span><?php esc_html_e(' Go to ','store-expert'); ?>
				  	<b><?php esc_html_e(' Settings -&gt; Reading --&gt; Set the front page display static page to home page ','store-expert'); ?></b></p>
                  	<img src="https://www.ammuthemes.com/wp-content/uploads/2020/01/set-front-page.png" alt="" width="700" height="297" />
                  	<p><?php esc_html_e(' Once you are done with this, you can see all the demo content on front page. ','store-expert'); ?></p>
                </ul>
		  	</div>
		</div>	

		<div id="theme_pro" class="tabcontent">
		  	<h3><?php esc_html_e( 'Premium Theme Information', 'store-expert' ); ?></h3>
			<hr class="h3hr">
		    <div class="col-left-pro">
		    	<p><?php esc_html_e('Store Expert Pro WordPress theme is a comprehensive solution for creating an online store. The theme is designed to cater to the needs of supermarket stores that also perform functions like buying and selling online. It offers a visually appealing ambience, easy navigation, and compatibility with WooCommerce plug-in, which provides a safe payment gateway for online financial transactions. Once you install the theme, you can focus on growing your business as it requires no coding skills to make changes. The theme is visible in its original form and dimension across all browsers and devices, including tablets, smartphones, and laptops. With all these advantages, Store Expert WordPress theme is an ideal choice for entrepreneurs looking to establish their first online presence or expand their existing one. It will be best WordPress theme for electronics store, fashions store, jwellery shop, cloths store, mobile store, groceries store, organics store and any kind of online stores.','store-expert'); ?></p>
		    	<div class="pro-links">
			    	<a href="https://www.ammuthemes.com/demo/?demo=store-expert-pro" target="_blank"><?php esc_html_e('Live Demo', 'store-expert'); ?></a>
					<a href="https://www.ammuthemes.com/downloads/store-expert-pro/"><?php esc_html_e('Buy Pro', 'store-expert'); ?></a>
					<a href="https://www.ammuthemes.com/forums/forum/premium-theme-support/store-expert-pro/" target="_blank"><?php esc_html_e('Pro Support Forum', 'store-expert'); ?></a>
				</div>
		    </div>
		    <div class="col-right-pro">
		    	<img src="https://www.ammuthemes.com/wp-content/uploads/edd/2020/01/screenshot.png" alt="" height="428" width="621" />
		    </div>
		</div>
	</div>
</div>
<?php } ?>