<?php
//about theme info
add_action( 'admin_menu', 'multipurpose_magazine_gettingstarted' );
function multipurpose_magazine_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'multipurpose-magazine'), esc_html__('Demo Theme Content', 'multipurpose-magazine'), 'edit_theme_options', 'multipurpose_magazine_guide', 'multipurpose_magazine_mostrar_guide');   
}

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

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

//guidline for about theme
function multipurpose_magazine_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'multipurpose-magazine' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Multipurpose Magazine WordPress Theme', 'multipurpose-magazine' ); ?></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', 'multipurpose-magazine' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'multipurpose-magazine' ); ?></p>
					<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'multipurpose-magazine'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'multipurpose-magazine' ); ?></h3>
			<p><?php esc_html_e( 'Multipurpose Magazine is a dynamic and feature-rich theme crafted for online magazine and newspaper platforms, making it an excellent choice for bloggers, editors, journalists, and digital publishers who want to present engaging stories in a clean and organized journal-style layout. Designed with a modern grid structure, it showcases articles, reviews, and multimedia content including image, video, and audio formats across niches like lifestyle, gaming, fitness, education, technology, and entertainment. Built on a robust Bootstrap framework, it delivers a fully responsive and retina-ready experience, ensuring your magazine content looks sharp and performs smoothly on all devices. With unlimited color options, diverse Google Fonts, and advanced customization settings, you can easily align your newspaper or magazine platform with your brand identity. Integrated social media features enhance audience engagement, while multilingual and RTL support allow your stories to reach a global audience. Optimized for SEO and fast loading speeds, this powerful grid-based journal theme improves search visibility and user experience, making it ideal for anyone looking to build a professional, visually appealing magazine or newspaper-style publishing platform.', 'multipurpose-magazine')?></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', 'multipurpose-magazine'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'multipurpose-magazine'); ?></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', 'multipurpose-magazine'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'multipurpose-magazine'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'multipurpose-magazine'); ?></a> <?php esc_html_e('your website.', 'multipurpose-magazine'); ?></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', 'multipurpose-magazine'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'multipurpose-magazine'); ?></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', 'multipurpose-magazine' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Multipurpose Magazine Lite', 'multipurpose-magazine' ); ?> <a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'multipurpose-magazine' ); ?></a></li>
					</ol>
				</div>
			</div><hr>
			
			<h3><?php esc_html_e( 'Get started with Multipurpose Magazine Theme', 'multipurpose-magazine' ); ?></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', 'multipurpose-magazine' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'multipurpose-magazine' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'multipurpose-magazine' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'multipurpose-magazine' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'multipurpose-magazine' ); ?> </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( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'multipurpose-magazine'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'multipurpose-magazine'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'multipurpose-magazine'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_MAGAZINE_BUNDLE_URL); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'multipurpose-magazine'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'multipurpose-magazine'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Simple Menu option', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Seperate Posttype for the Courses', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'About Section for the company description', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "testimonial" listing', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Gallery section with the plugin', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Team section with the custom posttype', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Video Promotion', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Plans listing', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Record section', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Book now with contact form 7', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Frequently asked question', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Latest Blog Post Section', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'multipurpose-magazine'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'multipurpose-magazine'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>