<?php
//about theme info
add_action( 'admin_menu', 'luxury_travel_gettingstarted' );
function luxury_travel_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'luxury-travel'), esc_html__('Demo Theme Content', 'luxury-travel'), 'edit_theme_options', 'luxury_travel_guide', 'luxury_travel_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function luxury_travel_admin_theme_style() {
   wp_enqueue_style('custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getting-started/getting-started.css');

    // Admin notice code START
	wp_register_script('luxury-travel-notice', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('luxury-travel-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'luxury_travel_admin_theme_style');

//guidline for about theme
function luxury_travel_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'luxury-travel' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Luxury Travel WordPress Theme', 'luxury-travel' ); ?></h3>
		<p>( Version: <?php echo esc_html($theme['Version']);?> )</p>
	</div>
	<div class="col-left">
		<div class="left-box">
			<div class="color_bg_blue color-info">
				<div class="intro-text"><img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/themesglance-logo.png" alt="" />
				</div>
				<p class="intro_version"><span class="highlight1"><?php echo esc_html__( 'Congratulations!', 'luxury-travel' ); ?></span></p>
				
				<?php
					/* Demo Import */
					require get_parent_theme_file_path( '/inc/getting-started/demo-content.php' );
				?>
			</div>
			<div class="best-offers">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/best-offer.png" alt="best-offer" />
				<div class="offers">
					<p class="offer-text"><?php echo esc_html__( 'On Premium WordPress Theme', 'luxury-travel' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'luxury-travel' ); ?></p>
					<a href="<?php echo esc_url( LUXURY_TRAVEL_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'luxury-travel'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'luxury-travel' ); ?></h3>
			<p><?php esc_html_e( 'Luxury Travel is a modern and versatile theme crafted for travel agencies, tour operators, adventure planners, and tourism businesses looking to highlight every kind of voyage, from serene seaside escapes to vibrant city explorations and thrilling yachting sports experiences. Ideal for travel guides, vacation planners, honeymoon packages, safari tours, lifestyle travel blogs, airlines, hotels, and photography-focused travel sites, this theme delivers a professional and engaging platform to present travel services, itineraries, packages, destinations, and client testimonials. Its responsive, mobile-friendly design, clean and optimized code, and cross-browser compatibility ensure fast loading speeds and a seamless user experience across all devices. With built-in customization options, integrated Call-to-Action (CTA) buttons, social media connectivity, and an SEO-optimized structure, it helps businesses attract more visitors, increase engagement, and improve search rankings. Featuring visually appealing layouts along with dedicated sections for testimonials and team showcases, Luxury Travel enables travel brands to present their services, curated packages, and unforgettable experiences in a compelling way while building a strong global online presence.', 'luxury-travel')?></p>
			<hr>
			<div class="service">
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-media-document"></span> <?php esc_html_e('Get Support', 'luxury-travel'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( LUXURY_TRAVEL_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'luxury-travel'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-welcome-widgets-menus"></span> <?php esc_html_e('Getting Started', 'luxury-travel'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'luxury-travel'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'luxury-travel'); ?></a> <?php esc_html_e('your website.', 'luxury-travel'); ?></li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e('Rate This Theme', 'luxury-travel'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( LUXURY_TRAVEL_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'luxury-travel'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-md-3">
					<h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Help Docs', 'luxury-travel' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Luxury Travel Lite', 'luxury-travel' ); ?> <a href="<?php echo esc_url( LUXURY_TRAVEL_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'luxury-travel' ); ?></a></li>
					</ol>
				</div>
			</div>
			
			<h3><?php esc_html_e( 'Get started with Luxury Travel Theme', 'luxury-travel' ); ?></h3>
			<div class="col-left-inner"> 
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/customizer-image.png" alt="" />
			</div>		
			<div class="col-right-inner">
				<p><?php esc_html_e( 'Go to', 'luxury-travel' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'luxury-travel' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'luxury-travel' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'luxury-travel' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'luxury-travel' ); ?> </li>
				</ul>
			</div>
		</div>
	</div>
	<div class="col-right">
		<div class="centerbold">
			<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/responsive-tg.png" alt="" />
			<hr class="firsthr">
			<div class="btn-grp">
				<a href="<?php echo esc_url( LUXURY_TRAVEL_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'luxury-travel'); ?></a>
				<a href="<?php echo esc_url( LUXURY_TRAVEL_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'luxury-travel'); ?></a>
				<a href="<?php echo esc_url( LUXURY_TRAVEL_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'luxury-travel'); ?></a>
				<a href="<?php echo esc_url( LUXURY_TRAVEL_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'luxury-travel'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'luxury-travel'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Theme options using customizer API', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Inbuilt BMI Calculator', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Responsive Design', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Advanced Color Options and Color Pallets', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( '100+ Font Family Options', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'RTL & Translation Ready', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Support to Add Custom CSS/JS', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'SEO Friendly', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Pagination Option', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Footer Customization Options', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Fully Integrated with Font Awesome Icon', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Short Codes', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Woo Commerce Compatible', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Gallery, Banner & Post Type Plugin Functionality', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Multiple Inner Page Templates', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Customizable Home Page', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Advance Social Media Feature', 'luxury-travel'); ?></li>
		 	<li><?php esc_html_e( 'Left and Right Sidebar', 'luxury-travel'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>