<?php
//about theme info
add_action( 'admin_menu', 'multi_advance_gettingstarted' );
function multi_advance_gettingstarted() {    	
	add_theme_page( esc_html__('Get Started', 'multi-advance'), esc_html__('Get Started', 'multi-advance'), 'edit_theme_options', 'multi_advance_guide', 'multi_advance_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function multi_advance_admin_theme_style() {
   wp_enqueue_style('multi-advance-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/admin/admin.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/admin/js/tab.js');

    // Admin notice code START
	wp_register_script('multi-advance-notice', esc_url(get_template_directory_uri()) . '/inc/admin/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('multi-advance-notice');
	// Admin notice code END

}
add_action('admin_enqueue_scripts', 'multi_advance_admin_theme_style');

//guidline for about theme
function multi_advance_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'multi-advance' );
?>

<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/admin/images/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', 'multi-advance'); ?></a>
			<a href="<?php echo esc_url( MULTI_ADVANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'multi-advance' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/multipurpose-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'multi-advance' ); ?></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', 'multi-advance' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container  tab-sec">
		<div class="tc-tabs">
			<ul>

				<li class="tablinks home active" onclick="multi_advance_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'multi-advance' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="multi_advance_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'multi-advance' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="multi_advance_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'multi-advance' ); ?>
					</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 Multi Advance Theme', 'multi-advance' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( MULTI_ADVANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'multi-advance' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'multi-advance'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( MULTI_ADVANCE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'multi-advance'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Multi Advance is a versatile, multipurpose, and professional theme designed for businesses, agencies, startups, corporate firms, freelancers, creative studios, consulting services, IT solutions, digital marketing agencies, e-commerce ventures, portfolio websites, corporate blogs, online stores, service providers, professional consultancies, business coaches, tech startups, online service platforms, and corporate solution providers. With a clean, modern, and responsive design, it ensures seamless performance across desktops, tablets, and mobile devices. The theme includes dedicated sections for services, projects, portfolios, team profiles, client testimonials, interactive banners, pricing tables, FAQs, and strategically placed Call to Action (CTA) buttons to engage visitors effectively. Fully customizable with options for layouts, colors, fonts, and sections, Multi Advance allows businesses to create a unique and branded online presence effortlessly. Optimized for SEO, speed, and performance, it enhances visibility and user experience. Additionally, it integrates smoothly with WooCommerce for product and service sales, Contact Form 7 for inquiries and lead generation, and WPML for multilingual support, making Multi Advance an all-in-one solution for building a professional, high-performing, and feature-rich website.', 'multi-advance' ); ?></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( 'Multi Advance Theme Information', 'multi-advance' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( MULTI_ADVANCE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'multi-advance' ); ?></a>
					<a href="<?php echo esc_url( MULTI_ADVANCE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'multi-advance' ); ?></a>
					<a href="<?php echo esc_url( MULTI_ADVANCE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'multi-advance' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/responsiveimg.jpg" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Multi Advance Pro Theme', 'multi-advance' ); ?></h4>
				<P><?php esc_html_e( 'Creative WordPress Theme is a pleasing combination of visual appeal and incredible features and functionality. For creating a successful business website, you will hardly need to be a coding expert since it brings you a highly intuitive and user-friendly interface. This is a robust theme designed with Bootstrap making customizable simple and easy for you by bringing you a user-friendly theme options panel and a live theme customizer. Page builder tools that make it easy for you to further refine the default look of the theme and even create some new pages for your website by the easy drag and drop method. It covers all the bases whenever the question of building professional websites arises. With its wonderful combination of demo and tweaking elements, it can be used for a range of businesses right from private offices, government firms, agencies, to the creative sector, etc. There is hardly any professional web designing knowledge needed to work with the theme. You will be impressed to see the wonderful library of pre-built templates that this Creative WordPress Theme brings. You get all the elements right from parallel scrolling to interesting CSS animations that will further beautify your website and make things look attractive. There are simple menus kept on the header but you can always tweak them and add new menus to it. From header to footer, everything can be customized. You may use the shortcodes smartly for adding new elements to your pages such as the contact form, and more. To make a full-time subscription available to your visitors, you have a well-designed newsletter. This will also generate more leads for you. If you want to add Google Maps, you can also do that with ease. This Creative WordPress Theme is provided with all the premium-level functionality that makes it conducive to bringing an amazing website for any niche business.', 'multi-advance' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'multi-advance' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'multi-advance' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'multi-advance' ); ?></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?', 'multi-advance' ); ?></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.', 'multi-advance' ); ?></P>
						<a href="<?php echo esc_url( MULTI_ADVANCE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'multi-advance' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'multi-advance'); ?></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.', 'multi-advance' ); ?></P>
						<a href="<?php echo esc_url( MULTI_ADVANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'multi-advance'); ?></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', 'multi-advance'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>