<?php
//about theme info
add_action( 'admin_menu', 'seo_agency_lite_gettingstarted' );
function seo_agency_lite_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'seo-agency-lite'), esc_html__('Theme Demo Content', 'seo-agency-lite'), 'edit_theme_options', 'seo_agency_lite_guide', 'seo_agency_lite_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function seo_agency_lite_admin_theme_style() {
   wp_enqueue_style('seo-agency-lite-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/getstart.css');
   wp_enqueue_script('tabs', esc_url(get_theme_file_uri()) . '/inc/dashboard/js/tab.js');

   // Admin notice code START
	wp_register_script('seo-agency-lite-notice', esc_url(get_stylesheet_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('seo-agency-lite-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'seo_agency_lite_admin_theme_style');

//guidline for about theme
function seo_agency_lite_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'seo-agency-lite' );
?>

<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/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', 'seo-agency-lite'); ?></a>
			<a href="<?php echo esc_url( SEO_AGENCY_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'seo-agency-lite' ); ?></a>
				<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/seo-agency-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'seo-agency-lite' ); ?></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', 'seo-agency-lite' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="seo_agency_lite_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'seo-agency-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="seo_agency_lite_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'seo-agency-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="seo_agency_lite_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'seo-agency-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="seo_agency_lite_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'seo-agency-lite' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_demo" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Seo Agency Lite', 'seo-agency-lite' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="demo">
					<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for Seo Agency Lite', 'seo-agency-lite' ); ?></h4>
					<?php /* Demo Import */ require get_theme_file_path( '/inc/dashboard/demo-importer.php' );?>
				</div>
			</div><!-- END .tc-section -->
		</div>
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Seo Agency Lite Theme', 'seo-agency-lite' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( SEO_AGENCY_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'seo-agency-lite' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'seo-agency-lite'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( SEO_AGENCY_LITE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'seo-agency-lite'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'SEO Agency Lite is a clean, responsive, and user-friendly theme designed for SEO agencies, digital marketing firms, online consultants, social media managers, and marketing professionals aiming to establish a strong online presence. Ideal for showcasing SEO services, digital strategy, online marketing, PPC campaigns, Google Ads management, content marketing, brand development, keyword research, backlink outreach, local SEO, website audits, lead generation, and conversion rate optimization, this theme offers a professional and visually appealing platform without requiring coding knowledge. Its fast performance, retina-ready visuals, and social media integration help attract traffic and boost engagement, while flexible layout controls, header and footer customization, multiple content blocks, and one-click demo import simplify setup. SEO Agency Lite integrates seamlessly with essential plugins like Contact Form 7 for inquiries, Yoast SEO and Rank Math for optimization, and WooCommerce for service-based selling. Relevant search terms include SEO agency theme, digital marketing template, SEO-friendly design, marketing consultant theme, online business template, PPC agency theme, content marketing design, local SEO website template, search engine optimization theme, responsive SEO layout, modern agency template, and digital services theme, making it an excellent choice for agencies and professionals seeking enhanced visibility, lead generation, and online conversions.', 'seo-agency-lite' ); ?></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( 'Seo Agency Lite Theme Information', 'seo-agency-lite' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( SEO_AGENCY_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'seo-agency-lite' ); ?></a>
					<a href="<?php echo esc_url( SEO_AGENCY_LITE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'seo-agency-lite' ); ?></a>
					<a href="<?php echo esc_url( SEO_AGENCY_LITE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'seo-agency-lite' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/resize.png" alt="" />
				</div>
				<div class="col-pro-5">
					<h4><?php esc_html_e( 'seo agency lite Pro Theme', 'seo-agency-lite' ); ?></h4>
					<P><?php esc_html_e( 'SEO Agency Lite is a clean, user-friendly, and responsive theme designed for digital marketing, marketing agency, online marketing, SEO, SEO agency, SEO business, social media agency, and SEO company websites. Perfect for SEO agency, digital marketing, online consulting, business growth, web agency, marketing solutions, SEO services, brand development, digital strategy, business consulting, growth hacking, agency services, online presence, SEO expert, digital optimization, search engine marketing, Google Ads management, pay-per-click (PPC) services, content strategy, local SEO, keyword research, backlink outreach, lead generation, website audit services, and conversion rate optimization, this theme provides a professional and visually appealing online presence without requiring coding knowledge. Its optimized design, fast performance, retina-ready visuals, and social media integration make it ideal for attracting traffic and enhancing engagement. The theme offers powerful customization options with flexible layout controls, header and footer builder, multiple content blocks, and one-click demo import for quick setup. Additionally, it integrates seamlessly with Contact Form 7, Yoast SEO, Rank Math, and WooCommerce plugins to enable effective communication, SEO optimization, analytics improvements, and service-based selling. Relevant search terms include SEO agency theme, digital marketing template, SEO-friendly design, marketing consultant theme, online business template, PPC agency theme, content marketing design, local SEO website template, search engine optimization theme, responsive SEO layout, modern agency template, and digital services theme, making SEO Agency Lite an excellent choice for marketing professionals and businesses aiming to boost visibility and online conversions.', 'seo-agency-lite' ); ?>
					</P>		
				</div>
				<div class="col-pro-6">				
					<h4><?php esc_html_e( 'Theme Features', 'seo-agency-lite' ); ?></h4>
					<ul>
						<li><?php esc_html_e( 'Theme Options using Customizer API', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Responsive design', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Advanced Color options', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( '100+ Font Family Options', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Background Image Option', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Simple Menu Option', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Additional section for products', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Enable-Disable options on All sections', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Home Page setting for different sections', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Partner Section', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Promotional Banner Section for Products', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Seperate Newsletter Section', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Text and call to action button for each slides', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Pagination option', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Custom CSS option', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Translations Ready', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Customizable Home Page', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Full-Width Template', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Woo Commerce Compatible', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Multiple Inner Page Templates', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Product Sliders', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Testimonial Slider', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Testimonial Posttype', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Contact page template', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Contact Widget', 'seo-agency-lite' ); ?></li>
						<li><?php esc_html_e( 'Advance Social Media Feature', 'seo-agency-lite' ); ?></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?', 'seo-agency-lite' ); ?></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.', 'seo-agency-lite' ); ?></P>
						<a href="<?php echo esc_url( SEO_AGENCY_LITE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'seo-agency-lite' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'seo-agency-lite'); ?></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.', 'seo-agency-lite' ); ?></P>
						<a href="<?php echo esc_url( SEO_AGENCY_LITE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'seo-agency-lite'); ?></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', 'seo-agency-lite'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>