<?php
//about theme info
add_action( 'admin_menu', 'car_repair_mechanic_gettingstarted' );
function car_repair_mechanic_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'car-repair-mechanic'), esc_html__('Demo Theme Content', 'car-repair-mechanic'), 'edit_theme_options', 'car_repair_mechanic_guide', 'car_repair_mechanic_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function car_repair_mechanic_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('car-repair-mechanic-notice', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('car-repair-mechanic-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'car_repair_mechanic_admin_theme_style');

//guidline for about theme
function car_repair_mechanic_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'car-repair-mechanic' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Car Repair Mechanic WordPress Theme', 'car-repair-mechanic' ); ?></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">Congratulations!</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', 'car-repair-mechanic' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'car-repair-mechanic' ); ?></p>
					<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'car-repair-mechanic'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'car-repair-mechanic' ); ?></h3>
			<p><?php esc_html_e( 'The Car Repair Mechanic Theme is a powerful, flexible, and fully responsive solution created for auto repair shops, car garages, mechanic workshops, automobile service centers, car wash businesses, and vehicle maintenance providers aiming to establish a strong professional online presence. Ideal for car repair services, tyre and brake servicing, engine diagnostics, oil changes, truck and bike repair, auto detailing, body shops, towing services, and car rental support, the theme features a purpose-driven layout with dedicated sections for service listings, pricing details, business hours, appointment requests, free consultations, testimonials, and image sliders to highlight expertise and build trust. Built with SEO-optimized and fast-loading code, it delivers excellent performance and visibility across desktops, tablets, and smartphones. The theme supports online selling of automotive parts, accessories, service packages, and maintenance plans, and integrates smoothly with Contact Form 7 for bookings and inquiries, WPML for multilingual support, and Yoast SEO for search optimization. With clean coding, smooth navigation, easy customization options, and a mobile-ready design, the Car Repair Mechanic Theme provides a conversion-focused, professional platform to attract customers, showcase services, and grow an automotive repair business effectively. ', 'car-repair-mechanic')?></p>
			<hr>
			<div class="service">
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-media-document"></span> <?php esc_html_e('Get Support', 'car-repair-mechanic'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'car-repair-mechanic'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-welcome-widgets-menus"></span> <?php esc_html_e('Getting Started', 'car-repair-mechanic'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'car-repair-mechanic'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'car-repair-mechanic'); ?></a> <?php esc_html_e('your website.', 'car-repair-mechanic'); ?></li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e('Rate This Theme', 'car-repair-mechanic'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'car-repair-mechanic'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Help Docs', 'car-repair-mechanic' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Car Repair Mechanic Lite', 'car-repair-mechanic' ); ?> <a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'car-repair-mechanic' ); ?></a></li>
					</ol>
				</div>
			</div>
	
			<h3><?php esc_html_e( 'Get started with Car Repair Mechanic Theme', 'car-repair-mechanic' ); ?></h3>
			<div class="col-left-inner"> 
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/free-screenshot.png" alt="" />
			</div>		
			<div class="col-right-inner">
				<p><?php esc_html_e( 'Go to', 'car-repair-mechanic' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'car-repair-mechanic' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'car-repair-mechanic' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'car-repair-mechanic' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'car-repair-mechanic' ); ?> </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.png" alt="" />
			<hr class="firsthr">
			<div class="btn-grp">
				<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'car-repair-mechanic'); ?></a>
				<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'car-repair-mechanic'); ?></a>
				<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'car-repair-mechanic'); ?></a>
				<a href="<?php echo esc_url( CAR_REPAIR_MECHANIC_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'car-repair-mechanic'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'car-repair-mechanic'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "courses" listing', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Events" listing', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Search courses', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Courses categories listing', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Plugin with shortcode', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Instructor" listing', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Newsletter with contact form 7', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Woocommerce Product section on home', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Record Section', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'car-repair-mechanic'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'car-repair-mechanic'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>