<?php
//about theme info
add_action( 'admin_menu', 'digital_advertising_gettingstarted' );
function digital_advertising_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'digital-advertising'), esc_html__('Theme Demo Content', 'digital-advertising'), 'edit_theme_options', 'digital_advertising_guide', 'digital_advertising_mostrar_guide');   
}

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

    // Admin notice code START
	wp_register_script('digital-advertising-notice', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('digital-advertising-notice');
	// Admin notice code END

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

//guidline for about theme
function digital_advertising_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'digital-advertising' );
?>

<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', 'digital-advertising'); ?></a>
			<a href="<?php echo esc_url( DIGITAL_ADVERTISING_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'digital-advertising' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/advertising-agency-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'digital-advertising' ); ?></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', 'digital-advertising' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container  tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="digital_advertising_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'digital-advertising' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="digital_advertising_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'digital-advertising' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="digital_advertising_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'digital-advertising' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="digital_advertising_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'digital-advertising' ); ?>
					</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 Digital Advertising', 'digital-advertising' ); ?> <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 Digital Advertising', 'digital-advertising' ); ?></h4>
					<?php /* Demo Import */ require get_parent_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 Digital Advertising Theme', 'digital-advertising' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( DIGITAL_ADVERTISING_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'digital-advertising' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'digital-advertising'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( DIGITAL_ADVERTISING_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'digital-advertising'); ?></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( 'Digital Advertising is a professional, responsive, and versatile free theme with a minimal, modern design, ideal for branding agencies, advertising agencies, creative studios, portfolios, development agencies, freelancing, consulting firms, corporates, e-commerce marketing, and related businesses. Perfect for digital marketing, online campaigns, PPC management, SEO services, social media marketing, SEM strategies, marketing solutions, lead generation, brand promotion, digital strategy, ad placement, content marketing, traffic growth, conversion optimization, display advertising, media buying, email marketing, influencer campaigns, performance marketing, marketing automation, client reporting tools, ad creatives, digital branding services, campaign tracking, keyword targeting, analytics integration, landing page optimization, retargeting strategies, marketing funnels, and audience segmentation, this theme offers a clean, intuitive interface for both beginners and professionals. Fully mobile-friendly, SEO-optimized, and built on the Bootstrap framework, it provides fast-loading performance and flawless viewing across devices. The theme includes advanced personalization options, interactive Call to Action (CTA) buttons, social media integration, and secure clean coding. It integrates seamlessly with essential plugins like Contact Form 7, Yoast SEO, and WooCommerce for inquiries, SEO optimization, and service selling. Relevant search terms include digital marketing theme, advertising agency template, creative portfolio theme, PPC management design, performance marketing template, SEO-friendly agency theme, content marketing website design, ad campaign template, branding layout, responsive marketing theme, and digital advertising template, making Digital Advertising ideal for modern agencies aiming to boost their online presence and attract more clients. ', 'digital-advertising' ); ?></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( 'Digital Advertising Theme Information', 'digital-advertising' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( DIGITAL_ADVERTISING_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'digital-advertising' ); ?></a>
					<a href="<?php echo esc_url( DIGITAL_ADVERTISING_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'digital-advertising' ); ?></a>
					<a href="<?php echo esc_url( DIGITAL_ADVERTISING_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'digital-advertising' ); ?></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( 'Digital Advertising Pro Theme', 'digital-advertising' ); ?></h4>
				<P><?php esc_html_e( 'If you’re trying to launch a successful advertising agency website, you must try this Advertising Agency WordPress Theme. A professional appeal is a must for any business website that is exactly what this theme provides you with. Created with performance in mind, this theme makes use of the standard and well-optimized HTML codes that further makes the web load at tremendous speed. You can pick from the stylish and outstanding templates designed for advertising agencies and brings a phenomenal homepage that can attract the target audience. Its slider will never fail to draw the attention of your viewers as it gives them an idea regarding your work.
               Advertising Agency WordPress Theme also makes sure that there is hardly any need for you to write codes as it brings you an immensely user-friendly theme options panel. It has many customization options for you so that you can obtain a personalized look for your website. On top of that, you will have a drag-and-drop page builder tool that will let you create custom-built pages just like that. In case you want to add more features to your website, you may use the various plugins as this theme is designed to support various third-party plugins. You may also use the shortcodes and widgets that come inbuild. This Advertising Agency WordPress Theme makes sure that you have every possible option for the effective promotion of your business.', 'digital-advertising' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'digital-advertising' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'digital-advertising' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'digital-advertising' ); ?></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?', 'digital-advertising' ); ?></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.', 'digital-advertising' ); ?></P>
						<a href="<?php echo esc_url( DIGITAL_ADVERTISING_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'digital-advertising' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'digital-advertising'); ?></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.', 'digital-advertising' ); ?></P>
						<a href="<?php echo esc_url( DIGITAL_ADVERTISING_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'digital-advertising'); ?></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', 'digital-advertising'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>