

<?php
/**
 * Add theme page
 */

function vw_furniture_shop_menu() {
	add_theme_page( esc_html__( 'VW Furniture Shop', 'vw-furniture-shop' ), esc_html__( 'VW Furniture Shop Theme', 'vw-furniture-shop' ), 'edit_theme_options', 'vw-furniture-shop-info', 'vw_furniture_shop_theme_page_display' );
}
add_action( 'admin_menu', 'vw_furniture_shop_menu' );

function vw_furniture_shop_admin_theme_style() {
	wp_enqueue_style('vw-furniture-shop-custom-admin-style', esc_url(get_template_directory_uri()) . '/css/admin-style.css');
	wp_enqueue_script('vw-furniture-shop-tabs', esc_url(get_template_directory_uri()) . '/js/tab.js');
}
add_action('admin_enqueue_scripts', 'vw_furniture_shop_admin_theme_style');

/**
 * Display About page
 */
function vw_furniture_shop_theme_page_display() {
	$vw_furniture_shop_theme = wp_get_theme();

	if ( is_child_theme() ) {
		$vw_furniture_shop_theme = wp_get_theme()->parent();
	} ?>

<div class="wrapper-info">  
	<div id="tc-header">
		<div class="tc-container">
			<a class="tc-logo">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/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', 'vw-furniture-shop'); ?></a>
			<a href="<?php echo esc_url( VW_FURNITURE_SHOP_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'vw-furniture-shop' ); ?></a>
			<a href="<?php echo esc_url( VW_FURNITURE_SHOP_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'vw-furniture-shop' ); ?></a>
			<a href="<?php echo esc_url( VW_FURNITURE_SHOP_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank" class="bundle-btn"> <?php esc_html_e( 'Bundle Of 220+ Themes at $99', 'vw-furniture-shop' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container">
		<div class="tc-tabs">
			<ul>
				
				<li class="tablinks home active" onclick="vw_furniture_shop_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'vw-furniture-shop' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="vw_furniture_shop_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'vw-furniture-shop' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="vw_furniture_shop_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'vw-furniture-shop' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to VW Furniture Shop Theme', 'vw-furniture-shop' ); ?> <span class="version">Version: <?php echo esc_html($vw_furniture_shop_theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a class="get-pro" href="<?php echo esc_url( home_url() ); ?>" target="_blank"><?php esc_html_e('Visit Site', 'vw-furniture-shop'); ?></a>
					<a href="<?php echo esc_url( VW_FURNITURE_SHOP_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'vw-furniture-shop' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'vw-furniture-shop'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( VW_FURNITURE_SHOP_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'vw-furniture-shop'); ?></a>
					
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'VW Furniture Shop is a versatile and feature-rich theme designed for furniture stores, interior designers, furniture retailers, home décor brands, showrooms, and furnishing businesses, providing a sleek, modern platform to showcase furniture collections, interior styling services, and home furnishing products while driving online sales. Ideal for modern furniture stores, luxury furnishings, furniture boutiques, custom furniture makers, residential and office furniture sellers, office décor providers, and interior design studios, it features a clean, stylish layout with elegant typography and refined color schemes that highlight products and build brand trust. The theme supports ecommerce functionality through WooCommerce for selling furniture items, décor accessories, and home furnishings with product galleries, carts, and secure checkout, while Contact Form 7 enables customer inquiries, custom order requests, and consultations, and Yoast SEO improves visibility for searches related to furniture store online, modern furniture shop, home décor store, interior design services, and office furniture suppliers. With flexible layout options, customizable headers and footers, widget-ready sections, responsive design, intuitive navigation, and conversion-focused product displays, VW Furniture Shop delivers a professional, user-friendly shopping experience that helps furniture and décor businesses attract customers, showcase craftsmanship, and grow sales effectively. Demo:https://preview.themescaliber.com/tc-furniture-pro/', 'vw-furniture-shop' ); ?></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( 'VW Furniture Shop Theme Information', 'vw-furniture-shop' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( VW_FURNITURE_SHOP_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'vw-furniture-shop' ); ?></a>
					<a href="<?php echo esc_url( VW_FURNITURE_SHOP_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'vw-furniture-shop' ); ?></a>
					<a href="<?php echo esc_url( VW_FURNITURE_SHOP_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'vw-furniture-shop' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/images/VW-Furniture-Shop-Responsive.png" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'VW Furniture Shop Pro Theme', 'vw-furniture-shop' ); ?></h4>
				<p><?php esc_html_e( 'VW Furniture Shop is a versatile and feature-rich WordPress theme designed specifically for furniture stores, interior designers, and home decor businesses. With its sleek design, intuitive features, and robust functionality, this theme provides the perfect platform to showcase furniture collections, highlight design expertise, and drive sales. At the heart of the VW Furniture Shop theme is its modern and stylish design, crafted to captivate visitors and inspire confidence in your brand. With clean lines, elegant typography, and tasteful color schemes, the theme creates a visually appealing backdrop for showcasing furniture products and interior design services. Customization options abound with the VW Furniture Shop WordPress Theme, empowering users to personalize their websites to reflect their unique brand identity and style preferences. From customizable headers and footers to versatile layout options and widgetized areas, users have full control over the look and feel of their site without the need for coding knowledge. The theme also boasts seamless integration with popular e-commerce plugins like WooCommerce, enabling users to effortlessly set up online stores and start selling furniture products directly from their websites. With features like product galleries, shopping carts, and secure payment gateways, the VW Furniture Shop theme provides everything needed to create a seamless and enjoyable shopping experience for customers.', 'vw-furniture-shop' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'vw-furniture-shop' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Easy Setup', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Responsive Design', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'SEO Friendly', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Banner Settings', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Template Pages', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Home Page Template', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Theme sections', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Contact us Page Template', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Blog Templates & Layout', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Section Reordering', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Demo Importer', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Full Documentation', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Latest WordPress Compatibility', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Support 3rd Party Plugins', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Secure and Optimized Code', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Exclusive Functionalities', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Section Enable / Disable', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Section Google Font Choices', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Gallery', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Simple & Mega Menu Option', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Support to add custom CSS / JS', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Shortcodes', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Custom Background, Colors, Header, Logo & Menu', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Premium Membership', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Budget Friendly Value', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Priority Error Fixing', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Custom Feature Addition', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'All Access Theme Pass', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Seamless Customer Support', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'WordPress 6.4 or later', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'PHP 8.2 or 8.3', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'MySQL 5.6 (or greater) | MariaDB 10.0 (or greater)', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Influence Registration', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Detailed Influencer Portfolio', 'vw-furniture-shop' ); ?></li>
					<li><?php esc_html_e( 'Premium Pricing Plan', 'vw-furniture-shop' ); ?></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?', 'vw-furniture-shop' ); ?></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.', 'vw-furniture-shop' ); ?></P>
						<a href="<?php echo esc_url( VW_FURNITURE_SHOP_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'vw-furniture-shop' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'vw-furniture-shop'); ?></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.', 'vw-furniture-shop' ); ?></P>
						<a href="<?php echo esc_url( VW_FURNITURE_SHOP_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'vw-furniture-shop'); ?></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', 'vw-furniture-shop'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>

