<?php
//about theme info
add_action( 'admin_menu', 'feminine_style_lite_gettingstarted' );
function feminine_style_lite_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'feminine-style-lite'), esc_html__('Theme Demo Content', 'feminine-style-lite'), 'edit_theme_options', 'feminine_style_lite_guide', 'feminine_style_lite_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function feminine_style_lite_admin_theme_style() {
   wp_enqueue_style('feminine-style-lite-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('feminine-style-lite-notice', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('feminine-style-lite-notice');
	// Admin notice code END

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

//guidline for about theme
function feminine_style_lite_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'feminine-style-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', 'feminine-style-lite'); ?></a>
			<a href="<?php echo esc_url( FEMININE_STYLE_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'feminine-style-lite' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/feminine-style-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'feminine-style-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', 'feminine-style-lite' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="feminine_style_lite_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'feminine-style-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="feminine_style_lite_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'feminine-style-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="feminine_style_lite_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'feminine-style-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="feminine_style_lite_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'feminine-style-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 Feminine style lite', 'feminine-style-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 Feminine style lite', 'feminine-style-lite' ); ?></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 Feminine style lite Theme', 'feminine-style-lite' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( FEMININE_STYLE_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'feminine-style-lite' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'feminine-style-lite'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( FEMININE_STYLE_LITE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'feminine-style-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( 'Feminine Style Lite is a chic and versatile WordPress theme designed for fashion bloggers, lifestyle writers, beauty experts, and women-focused brands. Ideal for fashion blogs, skincare tips, wellness blogs, beauty salons, style guides, and personal journals, this theme combines a stylish, clean, and professional design with easy customization options. Built with lightweight and SEO-friendly code, it ensures faster loading times and better visibility in search engines, helping your content reach a wider audience. The responsive, mobile-friendly layout adapts beautifully to all devices, while strategically placed Call to Action (CTA) buttons enhance user engagement and conversions. With elegant typography, subtle animation effects, and integrated social media options, Feminine Style Lite makes it simple to share your voice, promote products, and grow your online presence. Whether you’re a blogger, coach, consultant, or boutique owner, this theme provides the perfect balance of beauty, functionality, and performance for a professional and captivating website.', 'feminine-style-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( 'Feminine style lite Theme Information', 'feminine-style-lite' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( FEMININE_STYLE_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'feminine-style-lite' ); ?></a>
					<a href="<?php echo esc_url( FEMININE_STYLE_LITE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'feminine-style-lite' ); ?></a>
					<a href="<?php echo esc_url( FEMININE_STYLE_LITE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'feminine-style-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( 'Feminine Style Lite Pro Theme', 'feminine-style-lite' ); ?></h4>
				<P><?php esc_html_e( 'Considering the fact that people love websites that have feminine touch; we have come up with this interesting and attractive Feminine Style WordPress theme. It is a gorgeous theme that can cater well to any business and profession. In particular, it gives top-notch websites for blogging and fashion. Its fully customizable design gives you the advantage of transforming the default look and using it for any of your website projects. There is a live theme customizer bringing you quick customization options for doing the desired changes. This Feminine Style WordPress Theme doesn’t need you to write codes for creating a website. Rather, it has the demo data that you can import with a single click. On top of that, the drag and drop page builder tool sets you free to create customized pages for your website by simply dragging and dropping the elements. From header, menus to footer; everything can be customized. Woocommerce is also integrated making it a breeze to start an online shop. You don’t need to have any second thoughts while using this Feminine Style WordPress Theme even if you are not from the coding background since this premium theme brings you 24/7 support from the developers as well as theme updates.', 'feminine-style-lite' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'feminine-style-lite' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'feminine-style-lite' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'feminine-style-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?', 'feminine-style-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.', 'feminine-style-lite' ); ?></P>
						<a href="<?php echo esc_url( FEMININE_STYLE_LITE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'feminine-style-lite' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'feminine-style-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.', 'feminine-style-lite' ); ?></P>
						<a href="<?php echo esc_url( FEMININE_STYLE_LITE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'feminine-style-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', 'feminine-style-lite'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>