<?php
//about theme info
add_action( 'admin_menu', 'industrial_manufacturing_gettingstarted' );
function industrial_manufacturing_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'industrial-manufacturing'), esc_html__('Demo Theme Content', 'industrial-manufacturing'), 'edit_theme_options', 'industrial_manufacturing_guide', 'industrial_manufacturing_mostrar_guide');   
}

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

//guidline for about theme
function industrial_manufacturing_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'industrial-manufacturing' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Industrial Manufacturing WordPress Theme', 'industrial-manufacturing' ); ?></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', 'industrial-manufacturing' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'industrial-manufacturing' ); ?></p>
					<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'industrial-manufacturing'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'industrial-manufacturing' ); ?></h3>
			<p><?php esc_html_e( 'The Industrial Manufacturing Theme is a modern, professional, and fully responsive solution built for manufacturing companies, engineering firms, metalworks industries, metallurgy businesses, factories, laboratories, industrial cleaning services, grinding and cutting units, and construction-related enterprises aiming to strengthen their digital presence. Ideal for showcasing industrial products, technical services, machinery, and operational expertise, the theme offers a clean and highly customizable layout with one-click demo import, global color settings, advanced color palettes, logo and favicon upload options, title and tagline controls, and access to over 100 font families. Users can easily enable or disable sections, customize backgrounds, images, typography, and layouts to create a visually strong and brand-aligned industrial website. SEO-optimized and compatible with WooCommerce, the theme supports better search visibility while allowing product listings and service promotions, along with multilingual readiness for global outreach. With its retina-ready design, fast-loading performance, and seamless responsiveness across desktops, tablets, and smartphones, the Industrial Manufacturing Theme includes well-structured templates, minimal yet impactful visual effects, and powerful customization features to engage visitors, improve traffic, and build a credible, high-performing online presence for industrial and manufacturing businesses.', 'industrial-manufacturing')?></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', 'industrial-manufacturing'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'industrial-manufacturing'); ?></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', 'industrial-manufacturing'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'industrial-manufacturing'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'industrial-manufacturing'); ?></a> <?php esc_html_e('your website.', 'industrial-manufacturing'); ?></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', 'industrial-manufacturing'); ?></h3>
					<ol>
						<li>
							<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'industrial-manufacturing'); ?></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', 'industrial-manufacturing' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Industrial Manufacturing Lite', 'industrial-manufacturing' ); ?> <a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'industrial-manufacturing' ); ?></a></li>
					</ol>
				</div>
			</div>
	
			<h3><?php esc_html_e( 'Get started with Industrial Manufacturing Theme', 'industrial-manufacturing' ); ?></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', 'industrial-manufacturing' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'industrial-manufacturing' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'industrial-manufacturing' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'industrial-manufacturing' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'industrial-manufacturing' ); ?> </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( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'industrial-manufacturing'); ?></a>
				<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'industrial-manufacturing'); ?></a>
				<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'industrial-manufacturing'); ?></a>
				<a href="<?php echo esc_url( INDUSTRIAL_MANUFACTURING_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'industrial-manufacturing'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'industrial-manufacturing'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "courses" listing', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Events" listing', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Search courses', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Courses categories listing', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Plugin with shortcode', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Instructor" listing', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Newsletter with contact form 7', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Woocommerce Product section on home', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Record Section', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'industrial-manufacturing'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'industrial-manufacturing'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>