<?php
//about theme info
add_action( 'admin_menu', 'vw_painter_gettingstarted' );
function vw_painter_gettingstarted() {
	add_theme_page( esc_html__('About VW Painter', 'vw-painter'), esc_html__('Theme Demo Import', 'vw-painter'), 'edit_theme_options', 'vw_painter_guide', 'vw_painter_mostrar_guide');
}

// Add a Custom CSS file to WP Admin Area
function vw_painter_admin_theme_style() {
   wp_enqueue_style('vw-painter-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getstart/getstart.css');
   wp_enqueue_script('vw-painter-tabs', esc_url(get_template_directory_uri()) . '/inc/getstarted/js/tab.js');
}
add_action('admin_enqueue_scripts', 'vw_painter_admin_theme_style');

//guidline for about theme
function vw_painter_mostrar_guide() { 
	//custom function about theme customizer
	$vw_painter_return = add_query_arg( array()) ;
	$vw_painter_theme = wp_get_theme( 'vw-painter' );
?>

<div class="wrap getting-started">
		<div class="getting-started__header">
	    	<div>
                <h2 class="tgmpa-notice-warning"></h2>
            </div>
			<div class="row">
				<div class="col-md-5 intro">
					<div class="pad-box">
						<h2><?php esc_html_e( 'Welcome to VW Painter ', 'vw-painter' ); ?></h2>
						
						<p class="version"><?php esc_html_e( 'Version', 'vw-painter' ); ?>: <?php echo esc_html($vw_painter_theme['Version']);?></p>
						<span class="intro__version"><?php esc_html_e( 'Congratulations! You are about to use the most easy to use and flexible WordPress theme.', 'vw-painter' ); ?>	
						</span>
    					
						<div class="powered-by">
							<p><strong><?php esc_html_e( 'Click the below run importer button to import demo content', 'vw-painter' ); ?></strong></p>

						   <div class="demo-content">
						    <?php
						      /* Get Started. */
						      require get_parent_theme_file_path( '/inc/getstart/demo-content.php' );
						    ?>
						   </div>
						</div>
					</div>
				</div>
				<div class="col-md-7">
					<div class="pro-links">
				    	<a href="<?php echo esc_url( VW_PAINTER_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'vw-painter'); ?></a>
						<a href="<?php echo esc_url( VW_PAINTER_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Pro', 'vw-painter'); ?></a>
						<a href="<?php echo esc_url( VW_PAINTER_PRO_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'vw-painter'); ?></a>
					</div>
					<div class="install-plugins">
						<img src="<?php echo esc_url(get_template_directory_uri() . '/inc/getstart/images/responsive.png'); ?>" alt="" />
					</div>
				</div>
			</div>
			<h2 class="tg-docs-section intruction-title" id="section-4"><?php esc_html_e( '1) Setup VW Painter Theme', 'vw-painter' ); ?></h2>
			<div class="row">
				<div class="theme-instruction-block col-md-7">
					<div class="pad-box">
	                    <p><?php esc_html_e( 'VW Painter is a stylish, colourful, fresh and dynamic painter WordPress theme for painters, panting companies, individual painters, Artist, Painting company, Contractor, Construction companies, Carpenter workshops, Decor, graphic designers, Artwork, Wall Painting, architecture, handyman, cleaning, services, building services, property maintenance, ceiling, exterior designing, building services agency, Polisher Engineering, abrasive blasting, sand blasting, furniture polishing, plastering bureau, plumbing, carpentry, contractors, engineer, maintenance, Industrial Painting, Face Painting, paint company, vehicle paint job, wall paint shop, painting company, painting website, Painting Services, Home Renovation, Interior Design, Contractor Websites, Artistic Professionals, architect studio, garage, decoration, maid service, mechanic, celings, roofingweb designers, UI/UX designers, installation contractor, home remodeling, building, plastering, partitioning, artistic works, art galleries and panting exhibitions, renovation business and other artists like dancers, singers, interior work, engineering, welding, refurbishment, spare parts, manufacturing, musicians etc. and for portfolio, photo studio, plumber, spray guns, or rollers, Handicrafts Shop, Electrician, craftsman, workshop, photographers and other relevant businesses and websites. The theme can be made more appealing with the use of banners and sliders. Exhibit your best work in gallery. This responsive theme holds mobile-first approach which makes it look beautiful on all devices. It loads comfortably on any browser and can be translated to numerous other languages. Its functionality can be expanded by using third party plugins. It is configured to bring large traffic using its SEO. It has beautiful blog templates to keep visitors interest alive. VW Painter has so many options to customize, custom colors, Custom Logo, multiple customization option, full width template, threaded comments, custom header its look like it provides stylish layouts for header, footer and sidebars. Alter its slider settings to give different effects. Its clean and secure codes make it a strong base for bug-free website. Use of social media icons will make your content shareable on various networking platforms.', 'vw-painter' ); ?><p><br>
						<ol>
							<li><?php esc_html_e( 'Start','vw-painter'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizing','vw-painter'); ?></a> <?php esc_html_e( 'your website.','vw-painter'); ?> </li>
							<li><?php esc_html_e( 'VW Painter','vw-painter'); ?> <a target="_blank" href="<?php echo esc_url( VW_PAINTER_FREE_THEME_DOC ); ?>"><?php esc_html_e( 'Documentation','vw-painter'); ?></a> </li>
						</ol>
                    </div>
              	</div>
				<div class="col-md-5">
					<div class="pad-box">
              			<img class="logo" src="<?php echo esc_url(get_template_directory_uri()); ?>/screenshot.png" alt="" />
              		 </div> 
              	</div>
            </div>
			<div class="col-md-12 text-block">
					<h2 class="dashboard-install-title"><?php esc_html_e( '2) Premium Theme Information.','vw-painter'); ?></h2>
					<div class="row">
						<div class="col-md-7">
							<img src="<?php echo esc_url(get_template_directory_uri() . '/inc/getstart/images/responsive1.png'); ?>" alt="">
							<div class="pad-box">
								<h3><?php esc_html_e( 'Pro Theme Description','vw-painter'); ?></h3>
	                    		<p class="pad-box-p"><?php esc_html_e( 'This painter WordPress theme is colourful, youthful, eye-catching, dynamic and technologically advanced. It is made for painters, painting companies, web designers and other type of artists. Its stunning design is apt to create an appealing website within minutes of installing it. It has an easy to understand interface of backend where you will not face any problem in using the theme to its full potent. Even if you get stuck, just refer to our thoroughly explained documentation which will help you install, configure and make small changes to it. You can use this painter WordPress theme for commercial purpose by integrating it with WooCommerce and sell anything on it. It has seamless compatibility with third party plugins to include any functionality. It is written in clean and secure codes to yield a bug-free website having compatibility with the latest WordPress version.', 'vw-painter' ); ?><p>
	                    	</div>
						</div>
						<div class="col-md-5 install-plugin-right">
							<div class="pad-box">								
								<h3><?php esc_html_e( 'Pro Theme Features','vw-painter'); ?></h3>
								<div class="dashboard-install-benefit">
									<ul>
										<li><?php esc_html_e( 'Theme options using customizer API','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Responsive design','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Favicon, logo, title, and tagline customization','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Advanced color options and color pallets','vw-painter'); ?></li>
										<li><?php esc_html_e( '100+ font family options','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Simple menu option','vw-painter'); ?></li>
										<li><?php esc_html_e( 'SEO friendly','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Pagination option','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Compatible with different WordPress famous plugins like contact form 7','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Enable-Disable options on all sections','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Well sanitized as per WordPress standards.','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Responsive Layout for All Devices','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Footer customization options','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Fully integrated with the latest font awesome','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Background image option','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Custom Page Templates','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Allow To Set Site Title, Tagline, Logo','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Sticky post & comment threads','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Parallax image-background section','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Customizable home page','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Footer widgets & editor style','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Social media feature','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Slider with unlimited number of slides','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Services section','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Awesome gallery','vw-painter'); ?></li>

										<li><?php esc_html_e( 'Project section with custom post type','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Woocommerce products section for showing products','vw-painter'); ?></li>
										<li><?php esc_html_e( 'FAQ section with the custom post type','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Testimonial section with custom post type','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Contact us with contact form 7','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Blog post section','vw-painter'); ?></li>						
										<li><?php esc_html_e( 'Contact page template','vw-painter'); ?></li>	
										<li><?php esc_html_e( 'Shortcodes for the Custom Posttype','vw-painter'); ?></li>	
										<li><?php esc_html_e( 'Contact us widget','vw-painter'); ?></li>
										<li><?php esc_html_e( 'Social icons widget','vw-painter'); ?></li>											
									</ul>
								</div>
							</div>
						</div>
				</div>
			</div>
		</div>
		<div class="dashboard__blocks">
			<div class="row">
				<div class="col-md-3">
					<h3><?php esc_html_e( 'Get Support','vw-painter'); ?></h3>
					<ol>
						<li><a target="_blank" href="<?php echo esc_url( VW_PAINTER_SUPPORT ); ?>"><?php esc_html_e( 'Free Theme Support','vw-painter'); ?></a></li>
						<li><a target="_blank" href="<?php echo esc_url( VW_PAINTER_PRO_SUPPORT ); ?>"><?php esc_html_e( 'Premium Theme Support','vw-painter'); ?></a></li>
					</ol>
				</div>

				<div class="col-md-3">
					<h3><?php esc_html_e( 'Getting Started','vw-painter'); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Start','vw-painter'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizing','vw-painter'); ?></a> <?php esc_html_e( 'your website.','vw-painter'); ?> </li>
					</ol>
				</div>
				<div class="col-md-3">
					<h3><?php esc_html_e( 'Help Docs','vw-painter'); ?></h3>
					<ol>
						<li><a target="_blank" href="<?php echo esc_url( VW_PAINTER_FREE_THEME_DOC ); ?>"><?php esc_html_e( 'Free Theme Documentation','vw-painter'); ?></a></li>
						<li><a target="_blank" href="<?php echo esc_url( VW_PAINTER_PRO_DOC ); ?>"><?php esc_html_e( 'Premium Theme Documentation','vw-painter'); ?></a></li>
					</ol>
				</div>
				<div class="col-md-3">
					<h3><?php esc_html_e( 'Buy Premium','vw-painter'); ?></h3>
					<ol>
						<a href="<?php echo esc_url( VW_PAINTER_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Pro', 'vw-painter'); ?></a>
					</ol>
				</div>
			</div>
		</div>
</div>
<?php } ?>