<?php
//about theme info
add_action( 'admin_menu', 'multipurpose_portfolio_gettingstarted' );
function multipurpose_portfolio_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'multipurpose-portfolio'), esc_html__('Demo Theme Content', 'multipurpose-portfolio'), 'edit_theme_options', 'multipurpose_portfolio_guide', 'multipurpose_portfolio_mostrar_guide');   
}

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

//guidline for about theme
function multipurpose_portfolio_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'multipurpose-portfolio' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Multipurpose Portfolio WordPress Theme', 'multipurpose-portfolio' ); ?></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-portfolio' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'multipurpose-portfolio' ); ?></p>
					<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'multipurpose-portfolio'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'multipurpose-portfolio' ); ?></h3>
			<p><?php esc_html_e( 'Multipurpose Portfolio is a versatile, minimal, and stylish portfolio theme crafted for creatives, digital agencies, freelancers, and professionals who want to showcase their work with impact. Ideal for illustrators, photographers, vloggers, actors, web developers, engineers, architects, content creators, crypto ventures, and consulting firms, it supports building everything from resume sites, vCards, and CV portfolios to fashion blogs and full-scale creative agency platforms. The theme includes multiple layout options, advanced typography controls, full-width templates, featured content sections, smooth ajax transitions, and breadcrumb support, ensuring a highly customizable and user-friendly experience for beginners and experts alike. With secure, clean, and SEO-optimized code, it delivers fast loading speeds, seamless performance, and better search engine visibility. Integrated Call To Action (CTA) buttons, interactive elements, and social media connectivity help boost engagement, while compatibility with tools like Contact Form 7, WooCommerce for showcasing services or products, WPML for multilingual capabilities, and Yoast SEO for improved rankings makes it a complete solution for building a modern personal portfolio, business card-style site, or dynamic creative agency website.', 'multipurpose-portfolio')?></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-portfolio'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'multipurpose-portfolio'); ?></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-portfolio'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'multipurpose-portfolio'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'multipurpose-portfolio'); ?></a> <?php esc_html_e('your website.', 'multipurpose-portfolio'); ?></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-portfolio'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'multipurpose-portfolio'); ?></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-portfolio' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Multipurpose Portfolio Resume Lite', 'multipurpose-portfolio' ); ?> <a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'multipurpose-portfolio' ); ?></a></li>
					</ol>
				</div>
			</div>
			
			<h3><?php esc_html_e( 'Get started with Multipurpose Portfolio Theme', 'multipurpose-portfolio' ); ?></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-portfolio' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'multipurpose-portfolio' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'multipurpose-portfolio' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'multipurpose-portfolio' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'multipurpose-portfolio' ); ?> </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_PORTFOLIO_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'multipurpose-portfolio'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'multipurpose-portfolio'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'multipurpose-portfolio'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_PORTFOLIO_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'multipurpose-portfolio'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'multipurpose-portfolio'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Simple Menu option', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Default demo Importer', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Primary color option', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Woocommerce Products Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'About Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Custom Post type for “testimonial” listing', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Features Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Team section with the custom post type', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Newsletter Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Services section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on the home', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Frequently asked question', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Latest Blog Post Section', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Contact Page Template', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'multipurpose-portfolio'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Templat', 'multipurpose-portfolio'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>