<?php
//about theme info
add_action( 'admin_menu', 'pet_animal_store_gettingstarted' );
function pet_animal_store_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'pet-animal-store'), esc_html__('Theme Demo Content', 'pet-animal-store'), 'edit_theme_options', 'pet_animal_store_guide', 'pet_animal_store_mostrar_guide');   
}

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

//guidline for about theme
function pet_animal_store_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'pet-animal-store' );
?>

<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', 'pet-animal-store'); ?></a>
			<a href="<?php echo esc_url( PET_ANIMAL_STORE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'pet-animal-store' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/premium-animal-pet-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'pet-animal-store' ); ?></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', 'pet-animal-store' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="pet_animal_store_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'pet-animal-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="pet_animal_store_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'pet-animal-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="pet_animal_store_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'pet-animal-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="pet_animal_store_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'pet-animal-store' ); ?>
					</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 Pet animal store', 'pet-animal-store' ); ?> <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 Pet animal store', 'pet-animal-store' ); ?></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 Pet animal store Theme', 'pet-animal-store' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( PET_ANIMAL_STORE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'pet-animal-store' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'pet-animal-store'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( PET_ANIMAL_STORE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'pet-animal-store'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/screen.png" alt="" />
				</div>
				<div class="col-tc-6">
				<P><?php esc_html_e( 'Pet Animal Store is a versatile, responsive, and SEO-optimized theme designed for pet shop owners, dealers, dog grooming services, hygiene centers, dog training facilities, puppy grooming, pet caretakers, cat grooming, veterinary doctors, pet shops, pet lovers, horse and fish collectors, bird watchers, dog day care, pet sitting, pet photography, aquariums, veterinary practices, pet food and treats, pet products and accessories, zoos, animal selling shops, veterinary stores, anti-tick shampoo sellers, dog toy sellers, pet adoption centers, wildlife protection websites, dog washing centres, pet health consultants, animal care centres, pet parlours, dog cleaning centres, animal food suppliers, animal blogs, dog walkers, equestrian services, cat walkers, bird grooming, animal breeders, and walking and training services. Built on Bootstrap 4 with a well-structured layout, professional styling, and high responsiveness, it ensures a smooth user experience, cross-browser compatibility, and fast performance. The theme includes customizable sections for showcasing pets, services, products, and accessories while integrating seamlessly with WooCommerce for online sales. With features like sticky posts, engaging layouts, and SEO-friendly coding, Pet Animal Store is ideal for any pet-related business aiming to attract customers, boost engagement, and enhance online performance. Relevant keywords include pet store theme, dog grooming theme, cat grooming theme, pet care theme, animal shop theme, pet marketplace, pet product store, veterinarian theme, pet services theme, animal rescue, and pet accessories shop.', 'pet-animal-store' ); ?></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( 'Pet animal store Theme Information', 'pet-animal-store' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( PET_ANIMAL_STORE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'pet-animal-store' ); ?></a>
					<a href="<?php echo esc_url( PET_ANIMAL_STORE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'pet-animal-store' ); ?></a>
					<a href="<?php echo esc_url( PET_ANIMAL_STORE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'pet-animal-store' ); ?></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( 'Pet animal store Pro Theme', 'pet-animal-store' ); ?></h4>
				<P><?php esc_html_e( 'The Premium Pet WordPress theme is absolutely versatile that fits all kinds of pet related websites. The Animal WordPress theme is a perfect combo of useful features and strong functionalities. WooCommerce compatibility and user-friendly interface make it an ideal theme to create a pet online store. The completely mobile-friendly layout assures to form beautiful designs that appear great on different screen sizes. The theme comprises of different sections namely Service section, Gallery section, Testimonial section, Blog section, etc. A hoard of customization and personalization options lets you modify it quickly as per your requirements. Built up of secure and clean code, the theme provides faster page load time. The theme is SEO friendly, translation-ready, retina ready, multipurpose, and highly responsive. An online booking form is what makes this theme different from the others. So, get this theme to build a selling platform for pets goods and services. Furthermore, the Pet store WordPress theme has a Contact Form 7 and integrated Google map.', 'pet-animal-store' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'pet-animal-store' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'pet-animal-store' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode0', 'pet-animal-store' ); ?></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?', 'pet-animal-store' ); ?></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.', 'pet-animal-store' ); ?></P>
						<a href="<?php echo esc_url( PET_ANIMAL_STORE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'pet-animal-store' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'pet-animal-store'); ?></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.', 'pet-animal-store' ); ?></P>
						<a href="<?php echo esc_url( PET_ANIMAL_STORE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'pet-animal-store'); ?></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', 'pet-animal-store'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>