<?php
//about theme info
add_action( 'admin_menu', 'nikah_wedding_gettingstarted' );
function nikah_wedding_gettingstarted() {
	add_theme_page( esc_html__('About Theme', 'nikah-wedding'), esc_html__('About Theme', 'nikah-wedding'), 'edit_theme_options', 'nikah-wedding-guide-page', 'nikah_wedding_mostrar_guide');   
}

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

//guidline for about theme
function nikah_wedding_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'nikah-wedding' );
?>

<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', 'nikah-wedding'); ?></a>
			<a href="<?php echo esc_url( NIKAH_WEDDING_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'nikah-wedding' ); ?></a>
			<a href="<?php echo esc_url( NIKAH_WEDDING_BUY_PRO); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'nikah-wedding' ); ?></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', 'nikah-wedding' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="nikah_wedding_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'nikah-wedding' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="nikah_wedding_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'nikah-wedding' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="nikah_wedding_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'nikah-wedding' ); ?>
					</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 Nikah Wedding Theme', 'nikah-wedding' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( NIKAH_WEDDING_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'nikah-wedding' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'nikah-wedding'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( NIKAH_WEDDING_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'nikah-wedding'); ?></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( 'Nikah Wedding is an elegant, fresh, sleek and sophisticated wedding WordPress theme that is developed with all the love and care to rightly display the love in your relationship. Its clean design and advanced features are enough to make a highly efficient and performance oriented website in just a few clicks. This theme is specially developed for love couples who are going to tie knots. Although it can also be used for other events like birthdays, marriage, ceremony, celebration, bride, groom, vows, event, reception, love, union, traditions, planning, rituals, guests, wedding, wedding planner, event planner, family functions and all types of parties and celebrations. Its flexible design makes it multipurpose so even wedding photographers, marriage, couple, honeymoon booking content-focused websites, personal blog, invitation website, online store, lifestyle website, food, Bridal Shower Planner, Table Top Items and Souvenirs, Invitations and Wedding Vows magazine, fashion, creative and professional, decorators and event managers can use this theme to their benefit and can translate into Arabic, Chinese, French, German and Spanish languages. It is responsive to look gorgeous with diffrent post formats, cross-browser compatible to load harmoniously across all browsers; translation ready to invite guests in your language and retina ready to show sharp and crisp images of your love affair.', 'nikah-wedding' ); ?></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( 'Nikah Wedding Theme Information', 'nikah-wedding' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( NIKAH_WEDDING_BUY_PRO ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'nikah-wedding' ); ?></a>
					<a href="<?php echo esc_url( NIKAH_WEDDING_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'nikah-wedding' ); ?></a>
					<a href="<?php echo esc_url( NIKAH_WEDDING_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'nikah-wedding' ); ?></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( 'Nikah Wedding Pro Theme', 'nikah-wedding' ); ?></h4>
				<p><?php esc_html_e( 'This wedding WordPress theme loads seamlessly on all browsers. You get dedicated customer support and theme updates for one year so your website will continue working smoothly even after your wedding. It is packed with Font Awesome icons so you can include beautiful wedding icons to make your site more attractive. It has all the sections necessary in a wedding website pre designed, so you get everything atone place. Each of these sections can be disabled according to your needs. It has gorgeous layout for gallery, two blog layouts to tell your journey of love, separate space to introduce bridesmaids and groomsmen and Google map integration to help find wedding venue easily.', 'nikah-wedding' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'nikah-wedding' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'nikah-wedding' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'nikah-wedding' ); ?></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?', 'nikah-wedding' ); ?></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.', 'nikah-wedding' ); ?></P>
						<a href="<?php echo esc_url( NIKAH_WEDDING_FREE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'nikah-wedding' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'nikah-wedding'); ?></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.', 'nikah-wedding' ); ?></P>
						<a href="<?php echo esc_url( NIKAH_WEDDING_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'nikah-wedding'); ?></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', 'nikah-wedding'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>