<?php
//about theme info
add_action( 'admin_menu', 'home_construction_company_gettingstarted' );
function home_construction_company_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'home-construction-company'), esc_html__('Theme Demo Content', 'home-construction-company'), 'edit_theme_options', 'home_construction_company_guide', 'home_construction_company_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function home_construction_company_admin_theme_style() {
   wp_enqueue_style('home-construction-company-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('home-construction-company-notice', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('home-construction-company-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'home_construction_company_admin_theme_style');

//guidline for about theme
function home_construction_company_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'home-construction-company' );
?>

<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', 'home-construction-company'); ?></a>
			<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'home-construction-company' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/construction-company-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'home-construction-company' ); ?></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', 'home-construction-company' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container  tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="home_construction_company_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'home-construction-company' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="home_construction_company_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'home-construction-company' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="home_construction_company_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'home-construction-company' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="home_construction_company_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'home-construction-company' ); ?>
					</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 Home Construction Company', 'home-construction-company' ); ?> <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 Home Construction Company', 'home-construction-company' ); ?></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 Home Construction Company Theme', 'home-construction-company' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'home-construction-company' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'home-construction-company'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'home-construction-company'); ?></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( 'Home Construction Company is a robust, responsive, and SEO-optimized theme designed for construction businesses, building contractors, architects, civil engineers, real estate developers, renovation experts, home builders, interior and exterior design firms, remodeling specialists, and property development companies looking to establish a strong professional presence online. Ideal for showcasing house construction services, residential and commercial construction projects, architectural design solutions, interior renovation, exterior remodeling, custom home building, property development, flooring, painting, plumbing, electrical work, and complete construction services, this theme combines modern aesthetics with practical functionality. It offers flexible customization options for layouts, color schemes, typography, and sections, making it easy to align the website with your brand identity. A dedicated project portfolio section allows you to display completed and ongoing construction work with detailed descriptions and high-quality visuals, while structured service sections help highlight core expertise and specialties. Integrated with Contact Form 7 for client inquiries and compatible with popular tools like Slider Revolution for engaging visuals and WooCommerce for service listings, the theme also includes social media integration to boost visibility and engagement. Lightweight, fast-loading, cross-browser compatible, and mobile-friendly, Home Construction Company provides a reliable and professional foundation for growing your construction business and building client trust online.
', 'home-construction-company' ); ?></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( 'Home Construction Company Theme Information', 'home-construction-company' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'home-construction-company' ); ?></a>
					<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'home-construction-company' ); ?></a>
					<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'home-construction-company' ); ?></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( 'Home Construction Company Pro Theme', 'home-construction-company' ); ?></h4>
				<P><?php esc_html_e( 'The Construction Company WordPress Theme is a high-quality and feature-rich theme designed specifically for construction companies, contractors, and related businesses. It can be used by construction business owners to create a professional and stunning online presence for their company. With its advanced functionality, sleek design, and extensive customization options, this theme offers a comprehensive solution for creating a professional and impactful website.The Construction Company WordPress Theme comes with a modern and visually appealing design. It provides a sleek and polished look to your website, instantly impressing visitors and establishing your brand’s credibility. The theme is fully responsive and optimized for all devices, ensuring a seamless browsing experience across desktops, tablets, and mobile devices. The Construction Company WordPress Theme offers a wide range of customization options, allowing you to tailor your website to match your brand identity. You can easily modify colors, fonts, layouts, and other visual elements. Additionally, the theme comes with a variety of pre-designed templates and page layouts, making it effortless to showcase your services, projects, team members, testimonials, and more.', 'home-construction-company' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'home-construction-company' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'home-construction-company' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'home-construction-company' ); ?></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?', 'home-construction-company' ); ?></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.', 'home-construction-company' ); ?></P>
						<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'home-construction-company' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'home-construction-company'); ?></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.', 'home-construction-company' ); ?></P>
						<a href="<?php echo esc_url( HOME_CONSTRUCTION_COMPANY_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'home-construction-company'); ?></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', 'home-construction-company'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>