<?php
//about theme info
add_action( 'admin_menu', 'interior_designs_gettingstarted' );
function interior_designs_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'interior-designs'), esc_html__('Theme Demo Content', 'interior-designs'), 'edit_theme_options', 'interior_designs_guide', 'interior_designs_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function interior_designs_admin_theme_style() {
   wp_enqueue_style('interior-designs-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/getstart.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/tab.js');

    // Admin notice code START
	wp_register_script('interior-designs-notice', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('interior-designs-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'interior_designs_admin_theme_style');

//guidline for about theme
function interior_designs_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'interior-designs' );
?>

<div class="wrapper-info">  
<div id="tc-header">
			<div class="tc-container main-header">
				<a class="tc-logo">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/logo.png" alt="" />
				</a>
				<span class="tc-header-action">
				<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customize', 'interior-designs'); ?></a>
				<a href="<?php echo esc_url( INTERIOR_DESIGNS_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'interior-designs' ); ?></a>
				<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/interior-design-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'interior-designs' ); ?></a>
				<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/wordpress-theme-bundle' ); ?>" class="bundle_btn" target="_blank"> <?php esc_html_e( 'Bundle of 220+ Themes at $99', 'interior-designs' ); ?></a>
				</span>
			</div>
		</div>
		<div class="tc-container tab-sec">
			<div class="tc-tabs">
				<ul>
					<li class="tablinks home active" onclick="interior_designs_openCity(event, 'tc_demo')">
						<a href="#">
							<?php esc_html_e( 'Theme Demo Import', 'interior-designs' ); ?>
						</a>
					</li>
					<li class="tablinks" onclick="interior_designs_openCity(event, 'tc_index')">
						<a href="#">
							<?php esc_html_e( 'Free Theme Information', 'interior-designs' ); ?>
						</a>
					</li>
					<li class="tablinks" onclick="interior_designs_openCity(event, 'tc_pro')">
						<a href="#">
							<?php esc_html_e( 'Premium Theme Information', 'interior-designs' ); ?>
						</a>
					</li>
					<li class="tablinks" onclick="interior_designs_openCity(event, 'tc_create')">
						<a href="#">
							<?php esc_html_e( 'Theme Support', 'interior-designs' ); ?>
						</a>
					</li>
				</ul>
			</div><!-- END .tc-tabs -->
		</div>

		<div class="tc-container">
			<div class="tc-section">
				<div  id="tc_demo" class="tabcontent">
					<h2><?php esc_html_e( 'Welcome to Interior Designs', 'interior-designs' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
					<hr>
					<div class="demo">
						<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for Interior Designs', 'interior-designs' ); ?></h4>
						<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/dashboard/demo-importer.php' );?>
					</div>
				</div><!-- END .tc-section -->
    	    </div>
		</div>

		<div class="tc-container">
			<div class="tc-section">
				<div  id="tc_index" class="tabcontent">
					<h2><?php esc_html_e( 'Welcome to Interior Designs Theme', 'interior-designs' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
					<hr>
					<div class="info-link">
						<a href="<?php echo esc_url( INTERIOR_DESIGNS_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'interior-designs' ); ?></a>
						<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'interior-designs'); ?></a>
						<a class="get-pro" href="<?php echo esc_url( INTERIOR_DESIGNS_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'interior-designs'); ?></a>
					</div>
					<div class="col-tc-6">
						<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/screenshot.png" alt="" />
					</div>
					<div class="col-tc-6">
						<P><?php esc_html_e( 'Interior Designs is a modern and aesthetically crafted theme perfect for interior design websites, home decor, architectural firms, furniture carpenters, small kitchens, bedroom design, garden landscaping, prefabricated garages, front doors, country houses, rock gardens, electric fittings, flooring, cleaning, plumbing, AC repair, and other maintenance or construction services. It is also ideal for creative professionals, fashion designers, home decorators, art studios, online furniture stores, home renovation experts, remodeling services, minimalist interiors, space planning, modular kitchen design, living room design, commercial interiors, office interiors, renovation contractors, handyman services, luxury interiors, and modern decor businesses. The theme features a stylish and modern design with carefully chosen color schemes, fully responsive layouts, grid options, and translation-ready functionality to cater to diverse audiences. Highly customizable without any coding, you can adjust colors, fonts, backgrounds, and layouts effortlessly. SEO-friendly and optimized for fast page load times, the theme includes interactive elements like banners, shortcodes, Call to Action Buttons (CTA), and social media icons for better engagement and promotion. It also supports Contact Form 7, enabling seamless communication, inquiries, and service bookings. With a clean, secure codebase and mobile-friendly design, Interior Designs provides an elegant and functional platform to showcase your work, create a portfolio, or run a professional blog. Multilingual support includes Arabic, German, Spanish, French, Italian, Russian, Turkish, and Chinese. ', 'interior-designs' ); ?></P>
					</div>
				</div>
			</div><!-- END .tc-section -->
    	</div>

		<div class="tc-container">
			<div class="tc-section">
				<div id="tc_pro" class="tabcontent">
					<h3><?php esc_html_e( 'Interior Designs Theme Information', 'interior-designs' ); ?></h3>
					<hr>
					<div class="info-link-pro">
						<a href="<?php echo esc_url( INTERIOR_DESIGNS_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'interior-designs' ); ?></a>
						<a href="<?php echo esc_url( INTERIOR_DESIGNS_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'interior-designs' ); ?></a>
						<a href="<?php echo esc_url( INTERIOR_DESIGNS_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'interior-designs' ); ?></a>
					</div>
					<div class="pro-image">
						<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/resize.png" alt="" />
					</div>
				<div class="col-pro-5">
				<h4><?php esc_html_e( 'Interior Designs Pro Theme', 'interior-designs' ); ?></h4>
				<P><?php esc_html_e( 'The premium interior design WordPress theme is stuffed with amazing features and functionality to make your site stand apart from others of the like. It has a modern and stylish yet classic look that will never be over the top. The theme can be used for interior designing, home decors, furnishing and decoration, furniture store, architecture, interior decorating company and so on. Growing and established businesses can equally reap benefits from it. This interior design responsive theme is also cross-browser compatible and translation ready. The SEO-friendly Interior Design WordPress Theme is optimized for speed and will give a higher rank to your site in search engine results. The customizability can be extended to change its color, background, images, header, footer, logo and other things to personalize the site according to your requirements. It is WooCommerce compatible and supports third party plugins effortlessly. Add widgets to your theme to organize the site content more precisely. Unlimited slides, multiple page layouts, 100+ Font families and unlimited colors will open more options to change the look of the theme. Enable/disable sections according to your wish. We have added a separate testimonial and newsletter section. Other than these features, a stunning look and good experience add to the fine quality of this interior design theme.', 'interior-designs' ); ?></P>			
				</div>
				<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'interior-designs' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'interior-designs' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'interior-designs' ); ?></li>
				</ul>				
				</div>	
			</div><!-- END .tc-section -->
    	</div>

		<div class="tc-container">
			<div class="tc-section">
				<div id="tc_create" class="tabcontent">
					<div class="tab-cont">
						<h4><?php esc_html_e( 'Need Support?', 'interior-designs' ); ?></h4>				
						<div class="info-link-support">
							<P><?php esc_html_e( 'Our team is obliged to help you in every way possible whenever you face any type of difficulties and doubts.', 'interior-designs' ); ?></P>
							<a href="<?php echo esc_url( INTERIOR_DESIGNS_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'interior-designs' ); ?></a>
						</div>
					</div>
					<div class="tab-cont">	
						<h4><?php esc_html_e('Reviews', 'interior-designs'); ?></h4>				
						<div class="info-link-support">
							<P><?php esc_html_e( 'It is commendable to have such a theme inculcated with amazing features and robust functionalities. I feel grateful to recommend this theme to one and all.', 'interior-designs' ); ?></P>
							<a href="<?php echo esc_url( INTERIOR_DESIGNS_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'interior-designs'); ?></a>
						</div>
					</div>

					<div class="tc-section large-section">
						<h2>Let‘s customize your website</h2>
						<p>There are many changes you can make to customize your website. Explore customization options and make it unique.</p>
						<div class="tc-buttons">
							<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>" class="tc-btn primary large-button"><?php esc_html_e('Start Customizing', 'interior-designs'); ?></a>
						</div><!-- END .tc-buttons -->
				    </div>
				</div>
			</div><!-- END .tc-section -->
    	</div>
</div>
<?php } ?>