<?php
//about theme info
add_action( 'admin_menu', 'aagaz_startup_gettingstarted' );
function aagaz_startup_gettingstarted() {
	add_theme_page( esc_html__('About Theme', 'aagaz-startup'), esc_html__('About Theme', 'aagaz-startup'), 'edit_theme_options', 'aagaz-startup-guide-page', 'aagaz_startup_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function aagaz_startup_admin_theme_style() {
   wp_enqueue_style('aagaz-startup-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', 'aagaz_startup_admin_theme_style');

//guidline for about theme
function aagaz_startup_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'aagaz-startup' );
?>

<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', 'aagaz-startup'); ?></a>
			<a href="<?php echo esc_url( AAGAZ_STARTUP_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'aagaz-startup' ); ?></a>
			<a href="<?php echo esc_url( AAGAZ_STARTUP_BUY_PRO); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'aagaz-startup' ); ?></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', 'aagaz-startup' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="aagaz_startup_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'aagaz-startup' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="aagaz_startup_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'aagaz-startup' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="aagaz_startup_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'aagaz-startup' ); ?>
					</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 Aagaz Startup Theme', 'aagaz-startup' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( AAGAZ_STARTUP_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'aagaz-startup' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'aagaz-startup'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( AAGAZ_STARTUP_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'aagaz-startup'); ?></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( 'Aagaz Startup is a smart, stylish, innovative and professional looking startup WordPress theme for startups, organization, corporate agencies, freelancers, Startup Hub, entrepreneurs, joint ventures, portfolio IT companies, web development agencies, Partner with a dropshipper, service agency, ecommerce startup ideas, Online reseller, Online teaching, web developer, software development, online entrepreneurs ,company, business blog, portfolios, ecommerce, WooCommerce, e-commerce shop, online agencies and firms, digital marketing agencies, business startups, agency, corporate business, online business and all such businesses that are starting out new to establish themselves in the market and want to be known for their innovative business ideas. It is a multipurpose theme which can be used for various websites just by customizing its colour, background, images and text and these changes can be done by anyone without requiring prerequisite coding knowledge. Aagaz Startup is fully responsive, all-browser compatible, It has Custom header options and translation ready. It has a bold homepage slider whose width can be changed from boxed to full width to full screen and can translate into Arabic, Chinese, French, German and Spanish languages. The theme offers multiple options in most of the elements be it header and footer layout, menu style, Sticky Post, blog formats or gallery layout.', 'aagaz-startup' ); ?></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( 'Aagaz Startup Theme Information', 'aagaz-startup' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( AAGAZ_STARTUP_BUY_PRO ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'aagaz-startup' ); ?></a>
					<a href="<?php echo esc_url( AAGAZ_STARTUP_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'aagaz-startup' ); ?></a>
					<a href="<?php echo esc_url( AAGAZ_STARTUP_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'aagaz-startup' ); ?></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( 'Aagaz Startup Pro Theme', 'aagaz-startup' ); ?></h4>
				<p><?php esc_html_e( 'For a startup to make its name in the intensely competitive market, it must have a powerful and bold website. Our startup WordPress theme is ideal to fulfil these needs and give much more to a website with its clean design, sophisticated layout and advanced functionality. It is a multipurpose theme which is designed to become skin for diverse range of business websites and all types of startups whether it is an IT startup company, entrepreneurship, joint venture or tech startup. This fully responsive startup WordPress theme has optimized pages that load with a lightning fast speed and its SEO is well versed to rank your website higher on search engines. All the necessities of a modern theme are included in this theme like responsiveness, cross-browser compatibility, multilingualism, retina readiness, social media icons and RTL support. The best part is that it comes with friendly support and regular theme updates for one year.', 'aagaz-startup' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'aagaz-startup' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'aagaz-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'aagaz-startup' ); ?></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?', 'aagaz-startup' ); ?></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.', 'aagaz-startup' ); ?></P>
						<a href="<?php echo esc_url( AAGAZ_STARTUP_FREE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'aagaz-startup' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'aagaz-startup'); ?></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.', 'aagaz-startup' ); ?></P>
						<a href="<?php echo esc_url( AAGAZ_STARTUP_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'aagaz-startup'); ?></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', 'aagaz-startup'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>