<?php
//about theme info
add_action( 'admin_menu', 'medical_supplements_store_gettingstarted' );
function medical_supplements_store_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'medical-supplements-store'), esc_html__('Theme Demo Content', 'medical-supplements-store'), 'edit_theme_options', 'medical_supplements_store_guide', 'medical_supplements_store_mostrar_guide');   
}

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

//guidline for about theme
function medical_supplements_store_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'medical-supplements-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', 'medical-supplements-store'); ?></a>
			<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'medical-supplements-store' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/premium-medical-supplements-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'medical-supplements-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', 'medical-supplements-store' ); ?></a>
			</span>
		</div>
	</div>

	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="medical_supplements_store_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'medical-supplements-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="medical_supplements_store_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'medical-supplements-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="medical_supplements_store_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'medical-supplements-store' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="medical_supplements_store_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'medical-supplements-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 Medical Supplements Store', 'medical-supplements-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 Medical Supplements Store', 'medical-supplements-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 Medical Supplements Store Theme', 'medical-supplements-store' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'medical-supplements-store' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'medical-supplements-store'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'medical-supplements-store'); ?></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( 'Medical Supplements Store is a clean, professional, and multipurpose theme designed for medicine stores, health centers, clinics, pharmacies, medical personnel, wellness and nutrition shops, Ayurvedic and herbal stores, gyms, fitness institutes, personal trainers, diet specialists, yoga teachers, wellness centers, spas, CrossFit centers, protein and vitamin supplement shops, weight loss programs, preventive medicines, COVID relief medicines, emergency supplies, oxometers, and other health-focused businesses. It includes relevant search terms such as medical shop theme, pharmacy store theme, nutrition store design, supplement ecommerce layout, health product template, fitness product marketplace, herbal medicine shop layout, organic supplement theme, diet and wellness template, and supports key functionalities through plugins like WooCommerce and Contact Form 7 for smooth product management and customer interaction. Built on Bootstrap 4, it features a highly responsive and modern layout that adapts seamlessly across all devices and browsers. The theme offers a professional and structured design with extensive customization options through the theme panel, including sidebars, colors, typography, and layouts. SEO-friendly and optimized for faster page load times, it ensures an excellent user experience and encourages longer visitor engagement. Interactive elements, Call to Action Buttons (CTA), and a clean interface make it user-friendly for both store owners and customers. It fully supports WooCommerce, making it easy to create an online supplement store, manage products, and process secure transactions.', 'medical-supplements-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( 'Medical Supplements Store Theme Information', 'medical-supplements-store' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'medical-supplements-store' ); ?></a>
					<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'medical-supplements-store' ); ?></a>
					<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'medical-supplements-store' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/resize1.png" alt="" />
				</div>
			<div class="col-pro-5">
			<h4><?php esc_html_e( 'Medical Pro Theme', 'medical-supplements-store' ); ?></h4>
			<P><?php esc_html_e( 'Do you sell medical supplements? Are you interested in flourishing your business online? We our here to help you! Our Medical Supplements Store WordPress Theme is an ideal solution for you to sell pills, medicines, nutrition products, health & beauty products, etc. It is useful for doctors, nutritionists, surgeons, dieticians, and medical personnel to build their online supplements store, health blog, pharmacy, healthcentre consultancy, drug store, medical center, etc. The theme has a beautiful design with ample of customization and personalization options to create a competitive and stunning website. Our theme has advanced features and functionalities that cater to the ever-growing needs of a medical supplements business. The theme is 100% mobile-friendly so that your website is accessible from any device. Its an SEO friendly theme that brings your website to top ranks in search engines. It makes a user-friendly website encouraging the visitors to make a comeback to your site as they get an amazing user experience. Various call to action buttons (CTA) aid the users to explore your medical supplements store. Additionally, this Nutrition WordPress theme is clean, interactive, professional, multipurpose, and social media friendly. So, start selling to a wide market with this Medical Supplements Store WordPress Theme now! ','medical-supplements-store' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'medical-supplements-store' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Simple and Mega Menu Option', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with multiple effects and control options', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Parallax Image-Background Section', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Gallery, Banner & Post Type Plugin Functionality', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'medical-supplements-store' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'medical-supplements-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?', 'medical-supplements-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.', 'medical-supplements-store' ); ?></P>
						<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'medical-supplements-store' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'medical-supplements-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.', 'medical-supplements-store' ); ?></P>
						<a href="<?php echo esc_url( MEDICAL_SUPPLEMENTS_STORE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'medical-supplements-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', 'medical-supplements-store'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>