<?php

add_action( 'admin_menu', 'call_center_services_gettingstarted' );
function call_center_services_gettingstarted() {
	add_theme_page( esc_html__('Begin Installation', 'call-center-services'), esc_html__('Begin Installation', 'call-center-services'), 'edit_theme_options', 'call-center-services-guide-page', 'call_center_services_guide');
}

if ( ! defined( 'CALL_CENTER_SERVICES_SUPPORT' ) ) {
define('CALL_CENTER_SERVICES_SUPPORT',__('https://wordpress.org/support/theme/call-center-services/','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_REVIEW' ) ) {
define('CALL_CENTER_SERVICES_REVIEW',__('https://wordpress.org/support/theme/call-center-services/reviews/','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_LIVE_DEMO' ) ) {
define('CALL_CENTER_SERVICES_LIVE_DEMO',__('https://trial.ovationthemes.com/call-center-services/','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_BUY_PRO' ) ) {
define('CALL_CENTER_SERVICES_BUY_PRO',__('https://www.ovationthemes.com/products/call-center-wordpress-theme','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_PRO_DOC' ) ) {
define('CALL_CENTER_SERVICES_PRO_DOC',__('https://trial.ovationthemes.com/docs/call-center-services-doc/','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_FREE_DOC' ) ) {
define('CALL_CENTER_SERVICES_FREE_DOC',__('https://trial.ovationthemes.com/docs/call-center-services-free-doc/','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_THEME_NAME' ) ) {
define('CALL_CENTER_SERVICES_THEME_NAME',__('Premium Call Center Services Theme','call-center-services'));
}
if ( ! defined( 'CALL_CENTER_SERVICES_BUNDLE_LINK' ) ) {
define('CALL_CENTER_SERVICES_BUNDLE_LINK',__('https://www.ovationthemes.com/products/wordpress-bundle','call-center-services'));
}
/**
 * Theme Info Page
 */
function call_center_services_guide() {

	// Theme info
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( '' ); ?>

	<div class="getting-started__header">
		<div class="header-box-left">
			<h2><?php echo esc_html( $theme ); ?></h2>
			<p><?php esc_html_e('Version: ', 'call-center-services'); ?><?php echo esc_html($theme['Version']);?></p>
		</div>
		<div class="header-box-right">
			<div class="btn_box">
				<a class="button-primary" href="<?php echo esc_url( CALL_CENTER_SERVICES_FREE_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation', 'call-center-services'); ?></a>
				<a class="button-primary" href="<?php echo esc_url( CALL_CENTER_SERVICES_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support', 'call-center-services'); ?></a>
				<a class="button-primary" href="<?php echo esc_url( CALL_CENTER_SERVICES_REVIEW ); ?>" target="_blank"><?php esc_html_e('Review', 'call-center-services'); ?></a>
			</div>
		</div>
	</div>

	<div class="wrap getting-started">
		<div class="box-container">
			<div class="box-left-main">
				<div class="leftbox">
					<h3><?php esc_html_e('Documentation','call-center-services'); ?></h3>
					<p><?php $theme = wp_get_theme(); 
						echo wp_kses_post( apply_filters( 'description', esc_html( $theme->get( 'Description' ) ) ) );
					?></p>

					<h4><?php esc_html_e('Edit Your Site','call-center-services'); ?></h4>
					<p><?php esc_html_e('Now create your website with easy drag and drop powered by gutenburg.','call-center-services'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url() . 'site-editor.php' ); ?>" target="_blank"><?php esc_html_e('Edit Your Site','call-center-services'); ?></a>

					<h4><?php esc_html_e('Visit Your Site','call-center-services'); ?></h4>
					<p><?php esc_html_e('To check your website click here','call-center-services'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( home_url() ); ?>" target="_blank"><?php esc_html_e('Visit Your Site','call-center-services'); ?></a>

					<h4><?php esc_html_e('Theme Documentation','call-center-services'); ?></h4>
					<p><?php esc_html_e('Check the theme documentation to easily set up your website.','call-center-services'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( CALL_CENTER_SERVICES_FREE_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation','call-center-services'); ?></a>
				</div>
       	</div>
			<div class="box-right-main">
				<h3><?php echo esc_html(CALL_CENTER_SERVICES_THEME_NAME); ?></h3>
				<img class="call_center_services_img_responsive" style="width: 100%;" src="<?php echo esc_url( $theme->get_screenshot() ); ?>" />
				<div class="pro-links">
					<div class="pro-links-inner">
						<a class="button-primary livedemo" href="<?php echo esc_url( CALL_CENTER_SERVICES_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'call-center-services'); ?></a>
						<a class="button-primary buynow" href="<?php echo esc_url( CALL_CENTER_SERVICES_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Buy Now', 'call-center-services'); ?></a>
						<a class="button-primary docs" href="<?php echo esc_url( CALL_CENTER_SERVICES_PRO_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation', 'call-center-services'); ?></a>
					</div>
						<a class="button-primary bundle-btn" href="<?php echo esc_url( CALL_CENTER_SERVICES_BUNDLE_LINK ); ?>" target="_blank"><?php esc_html_e('WordPress Theme Bundle (125+ Themes at Just $89)', 'call-center-services'); ?></a>
				</div>
				<ul style="padding-top:10px">
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Responsive Design', 'call-center-services');?> </li>                 
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Demo Importer', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Section Reordering', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Contact Page Template', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Multiple Blog Layouts', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Unlimited Color Options', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Cross Browser Support', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Detailed Documentation Included', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('WPML Compatible (Translation Ready)', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Woo-commerce Compatible', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Full Support', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('10+ Sections', 'call-center-services');?> </li>
					<li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('SEO Friendly', 'call-center-services');?> </li>
               <li class="upsell-call_center_services"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Supper Fast', 'call-center-services');?> </li>
            </ul>
        	</div>
		</div>
	</div>

<?php }?>