<?php
//about theme info
add_action( 'admin_menu', 'advance_pet_care_gettingstarted' );
function advance_pet_care_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'advance-pet-care'), esc_html__('Theme Demo Content', 'advance-pet-care'), 'edit_theme_options', 'advance_pet_care_guide', 'advance_pet_care_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function advance_pet_care_admin_theme_style() {
   wp_enqueue_style('advance-pet-care-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('advance-pet-care-notice', esc_url(get_template_directory_uri()) . '/inc/admin/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('advance-pet-care-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'advance_pet_care_admin_theme_style');

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

<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', 'advance-pet-care'); ?></a>
			<a href="<?php echo esc_url( ADVANCE_PET_CARE_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-pet-care' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/pet-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'advance-pet-care' ); ?></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', 'advance-pet-care' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="advance_pet_care_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'advance-pet-care' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_pet_care_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'advance-pet-care' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_pet_care_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'advance-pet-care' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_pet_care_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'advance-pet-care' ); ?>
					</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 Advance Pet Care', 'advance-pet-care' ); ?> <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 Advance Pet Care', 'advance-pet-care' ); ?></h4>
					<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/admin/demo-import.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 toAdvance Pet CareTheme', 'advance-pet-care' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( ADVANCE_PET_CARE_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-pet-care' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'advance-pet-care'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( ADVANCE_PET_CARE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'advance-pet-care'); ?></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( 'Advance Pet Care is a robust, reliable, and clean theme for pet houses, dog washing services, dog grooming centers, animal care centers, pet shops, animal health consultants, animal spas, wildlife organizations, pet sellers, pet sitters, aquariums, fish food suppliers, pet boarding facilities, dog & puppy daycares, pet sitting services, pet adoption centers, veterinary doctors, blue cross-service volunteers, apiculture, dog training schools, birdwatching clubs, veterinary clinics, animal welfare groups, pet services, pet grooming, pet health care, pet sitting and boarding, wildlife photography, animal hygiene programs, dog & cat breed showcases, unusual pets, animal sanctuaries, pet-finding businesses, beekeeping, fish breeding, hatcheries, pet trainers, pet shelters, dog care providers, aquarium shops, cat food shops, animal accessories stores, animal grooming and training centers, pet food shops, and other suitable websites. This high-quality theme is the best solution to build a professional-looking website in just a few minutes. Built with the Bootstrap framework for ease of use, it is fully responsive, cross-browser compatible, deeply customizable, and SEO-optimized for better performance. Its compatibility allows seamless multilingual support including Arabic, Chinese, French, German, Spanish, Italian, Japanese, Russian, and Turkish. Fully compatible with WooCommerce for pet product sales, Contact Form 7 for appointment bookings and inquiries, YITH WooCommerce Wishlist, and YITH WooCommerce Compare, Advance Pet Care provides a comprehensive platform to create a professional pet care and animal services website.', 'advance-pet-care' ); ?></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( 'Advance Pet Care Theme Information', 'advance-pet-care' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( ADVANCE_PET_CARE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'advance-pet-care' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_PET_CARE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'advance-pet-care' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_PET_CARE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'advance-pet-care' ); ?></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( 'Advance Pet Care Pro Theme', 'advance-pet-care' ); ?></h4>
				<P><?php esc_html_e( 'Advance Pet Care is a robust, reliable, and clean theme for pet houses, dog washing services, dog grooming centers, animal care centers, pet shops, animal health consultants, animal spas, wildlife organizations, pet sellers, pet sitters, aquariums, fish food suppliers, pet boarding facilities, dog & puppy daycares, pet sitting services, pet adoption centers, veterinary doctors, blue cross-service volunteers, apiculture, dog training schools, birdwatching clubs, veterinary clinics, animal welfare groups, pet services, pet grooming, pet health care, pet sitting and boarding, wildlife photography, animal hygiene programs, dog & cat breed showcases, unusual pets, animal sanctuaries, pet-finding businesses, beekeeping, fish breeding, hatcheries, pet trainers, pet shelters, dog care providers, aquarium shops, cat food shops, animal accessories stores, animal grooming and training centers, pet food shops, and other suitable websites.', 'advance-pet-care' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'advance-pet-care' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'advance-pet-care' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'advance-pet-care' ); ?></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?', 'advance-pet-care' ); ?></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.', 'advance-pet-care' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_PET_CARE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'advance-pet-care' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'advance-pet-care'); ?></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.', 'advance-pet-care' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_PET_CARE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'advance-pet-care'); ?></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', 'advance-pet-care'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>