<?php
//about theme info
add_action( 'admin_menu', 'tijarat_business_gettingstarted' );
function tijarat_business_gettingstarted() {
	add_theme_page( esc_html__('About Theme', 'tijarat-business'), esc_html__('About Theme', 'tijarat-business'), 'edit_theme_options', 'tijarat-business-guide-page', 'tijarat_business_mostrar_guide');   
}

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

//guidline for about theme
function tijarat_business_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'tijarat-business' );
?>

<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', 'tijarat-business'); ?></a>
			<a href="<?php echo esc_url( TIJARAT_BUSINESS_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'tijarat-business' ); ?></a>
			<a href="<?php echo esc_url( TIJARAT_BUSINESS_BUY_PRO); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'tijarat-business' ); ?></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', 'tijarat-business' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="tijarat_business_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'tijarat-business' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="tijarat_business_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'tijarat-business' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="tijarat_business_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'tijarat-business' ); ?>
					</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 Tijarat Business Theme', 'tijarat-business' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( TIJARAT_BUSINESS_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'tijarat-business' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'tijarat-business'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( TIJARAT_BUSINESS_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'tijarat-business'); ?></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( 'Tijarat Business is a professionally developed, clean, elegant and feature-rich business WordPress theme to display your services in a sophisticated way to instil customers trust on you. It very well suits businesses of all sizes- from single person business to multinational corporate company and everything between. It is the best fit for corporates, entrepreneurs, business site, hotel, commerce, trade, entrepreneurship, market, enterprise, finance, investment, strategy, growth, economy, industry, services, transactions, business, profit, creative agencies, start-ups, web developing agencies, business development firm, digital marketing agencies, consultants, organizations, construction, insurance brokers, accountant services, HR consulting firms, sales and marketing companies, advertising consulting, financial advisors promotional and investment companies and all other businesses of diverse niche. It has smart use of call to action (CTA) buttons to lead customers to the right way. Tijarat Business is absolutely responsive, translation ready, editor style sheet, cross-browser compatible and retina ready. It has all the necessary social media icons to adopt the right marketing strategy for your business. Its SEO is well working and it loads with super-fast speed. This business theme is compatible with the recently launched WordPress version and works smoothly with all plugins.', 'tijarat-business' ); ?></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( 'Tijarat Business Theme Information', 'tijarat-business' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( TIJARAT_BUSINESS_BUY_PRO ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'tijarat-business' ); ?></a>
					<a href="<?php echo esc_url( TIJARAT_BUSINESS_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'tijarat-business' ); ?></a>
					<a href="<?php echo esc_url( TIJARAT_BUSINESS_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'tijarat-business' ); ?></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( 'Tijarat Business Pro Theme', 'tijarat-business' ); ?></h4>
				<p><?php esc_html_e( 'This business WordPress theme is polished, bold, modern and well-coded to fulfil all the online needs of corporate houses, finance companies and businesses to lead them to the path of success. It is multipurpose and hence can become face of any website be it a start-up, small firm, entrepreneurship, joint venture, sales and marketing company, digital agency or any other business of a single person or thousands of employee. With this theme, show your professionalism with good ethics to make reliable customers with long lasting relationships. This business WordPress theme is highly responsive to changing layouts of screens and loads beautifully on all browsers. It will amaze you with its pixel perfect images and ability to adopt any global language. With its deep running customizability, you get to choose the colour scheme, background, menu style, font, logo, slider setting and so much more things in just a couple of clicks here and there.', 'tijarat-business' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'tijarat-business' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'tijarat-business' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'tijarat-business' ); ?></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?', 'tijarat-business' ); ?></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.', 'tijarat-business' ); ?></P>
						<a href="<?php echo esc_url( TIJARAT_BUSINESS_FREE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'tijarat-business' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'tijarat-business'); ?></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.', 'tijarat-business' ); ?></P>
						<a href="<?php echo esc_url( TIJARAT_BUSINESS_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'tijarat-business'); ?></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', 'tijarat-business'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>