<?php
//about theme info
add_action( 'admin_menu', 'multipurpose_lawyer_gettingstarted' );
function multipurpose_lawyer_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'multipurpose-lawyer'), esc_html__('Demo Theme Content', 'multipurpose-lawyer'), 'edit_theme_options', 'multipurpose_lawyer_guide', 'multipurpose_lawyer_mostrar_guide');   
}

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

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

//guidline for about theme
function multipurpose_lawyer_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'multipurpose-lawyer' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Multipurpose Lawyer WordPress Theme', 'multipurpose-lawyer' ); ?></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-lawyer' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'multipurpose-lawyer' ); ?></p>
					<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'multipurpose-lawyer'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'multipurpose-lawyer' ); ?></h3>
			<p><?php esc_html_e( 'Multipurpose Lawyer is a bold and versatile theme designed for law firms, private attorneys, legal advisors, advising attorney services, consulting experts, corporations, solicitors, barristers, paralegals, and other legal professionals who want to establish a strong online presence. Its clean, modern design features a full-width homepage slider, advanced theme panel, and customizable layouts that allow you to showcase services, client testimonials, and case studies with professionalism and impact. The layout is fully responsive, ensuring a flawless browsing experience across desktops, tablets, and mobile devices, while multilingual support helps you connect with clients across different regions, including corporate clients and businesses. Built with SEO-friendly code and optimized for speed, Multipurpose Lawyer enhances search engine visibility and delivers smooth performance. It also includes flexible Call-to-Action (CTA) buttons, multiple post formats such as images, videos, and audio, along with easy customization options for branding. Ideal for promoting legal services, consulting solutions, sharing insightful law blogs, or managing a corporation-focused legal website, this theme combines functionality, accessibility, and professional aesthetics to help you attract and retain clients effectively.', 'multipurpose-lawyer')?></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-lawyer'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'multipurpose-lawyer'); ?></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-lawyer'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'multipurpose-lawyer'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'multipurpose-lawyer'); ?></a> <?php esc_html_e('your website.', 'multipurpose-lawyer'); ?></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-lawyer'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'multipurpose-lawyer'); ?></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-lawyer' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Multipurpose Lawyer Lite', 'multipurpose-lawyer' ); ?> <a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'multipurpose-lawyer' ); ?></a></li>
					</ol>
				</div>
			</div>

			<h3><?php esc_html_e( 'Get started with Multipurpose Lawyer Theme', 'multipurpose-lawyer' ); ?></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-lawyer' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'multipurpose-lawyer' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'multipurpose-lawyer' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'multipurpose-lawyer' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'multipurpose-lawyer' ); ?> </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_LAWYER_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'multipurpose-lawyer'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'multipurpose-lawyer'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'multipurpose-lawyer'); ?></a>
				<a href="<?php echo esc_url( MULTIPURPOSE_LAWYER_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'multipurpose-lawyer'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'multipurpose-lawyer'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Simple Menu option', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Default demo Importer', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Primary color option', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Seperate Posttype for the services', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'About Section for the company description', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "testimonial" listing', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Paractice listing', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Attorney section with the custom posttype', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Video Section', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Partner listing', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Record section', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Blog Post section on home', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Frequently asked question', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Latest Blog Post Section', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'multipurpose-lawyer'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'multipurpose-lawyer'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>