<?php
//about theme info
add_action( 'admin_menu', 'charity_fundraiser_gettingstarted' );
function charity_fundraiser_gettingstarted() {    	
	add_theme_page( esc_html__('Demo Theme Content', 'charity-fundraiser'), esc_html__('Demo Theme Content', 'charity-fundraiser'), 'edit_theme_options', 'charity_fundraiser_guide', 'charity_fundraiser_mostrar_guide');   
}
// Add a Custom CSS file to WP Admin Area
function charity_fundraiser_admin_theme_style() {
   wp_enqueue_style('custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getting-started/getting-started.css');

   	// Admin notice code START
	wp_register_script('charity-fundraiser-notice', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('charity-fundraiser-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'charity_fundraiser_admin_theme_style');

//guidline for about theme
function charity_fundraiser_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'charity-fundraiser' );
?>
<div class="wrapper-info">
	<div class="intro">
		<h3><?php esc_html_e( 'Welcome to Charity Fundraiser WordPress Theme', 'charity-fundraiser' ); ?></h3>
		<p>( Version: <?php echo esc_html($theme['Version']);?> )</p>
	</div>
	<div class="col-left">
		<div class="left-box">
			<div class="color_bg_blue color-info">
				<div class="intro-text"><img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/themesglance-logo.png" alt="" />
				</div>
				<p class="intro_version"><span class="highlight1">Congratulations!</span></p>
				<?php
					/* Demo Import */
					require get_parent_theme_file_path( '/inc/getting-started/demo-content.php' );
				?>
			</div>
			<div class="best-offers">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/best-offer.png" alt="best-offer" />
				<div class="offers">
					<p class="offer-text"><?php echo esc_html__( 'On Premium WordPress Theme', 'charity-fundraiser' ); ?></p>
					<p class="coupon"><?php echo esc_html__( 'Use Coupon Code:" GET20 "', 'charity-fundraiser' ); ?></p>
					<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_PRO_THEME_URL ); ?>" class="btn-pro" target="_blank" >
						<?php esc_html_e('Get Pro', 'charity-fundraiser'); ?>
					</a>
				</div>
			</div>
		</div>
		<div class="started">
			<h3><?php esc_html_e( 'Lite Theme Info', 'charity-fundraiser' ); ?></h3>
			<p><?php esc_html_e( 'Charity Fundraiser is a robust, engaging, and beautifully designed charity theme ideal for charities, non-profit organizations, foundations, churches, NGOs, disaster relief funds, helping hands initiatives, welfare activities, volunteer groups, social trust campaigns, animal welfare, refugee support, community services, old age homes, foster care, environmental conservation, crowdfunding, activism, and fundraising events or donation drives. Perfect for organizing donation camps, campaigns, and social initiatives, the theme features an inviting layout, attention-grabbing banners and sliders, and a responsive, mobile-friendly design for seamless browsing on all devices. With SEO optimization, cross-browser compatibility, RTL support, and fast loading times, it ensures maximum visibility and performance. Highly customizable via the theme customizer, you can adjust colors, fonts, layouts, and sections without coding knowledge. The theme integrates essential plugins like Contact Form 7 for inquiries and donations, Instagram feed for trendy post displays, and WooCommerce for managing fundraising products, while social media integration and strategically placed call-to-action buttons help boost engagement and outreach. Built on a Bootstrap framework with clean, secure code, Charity Fundraiser provides a professional, functional, and user-friendly platform for NGOs, foundations, and social organizations to make a real impact online.', 'charity-fundraiser')?></p>
			<hr>
			<div class="service">
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-media-document"></span> <?php esc_html_e('Get Support', 'charity-fundraiser'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'charity-fundraiser'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-welcome-widgets-menus"></span> <?php esc_html_e('Getting Started', 'charity-fundraiser'); ?></h3>
					<ol>
						<li> <?php esc_html_e('Start', 'charity-fundraiser'); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'charity-fundraiser'); ?></a> <?php esc_html_e('your website.', 'charity-fundraiser'); ?></li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e('Rate This Theme', 'charity-fundraiser'); ?></h3>
					<ol>
						<li>
						<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Rate it here', 'charity-fundraiser'); ?></a>
						</li>
					</ol>
				</div>
				<div class="info col-lg-3 col-md-3">
					<h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Help Docs', 'charity-fundraiser' ); ?></h3>
					<ol>
						<li><?php esc_html_e( 'Charity Fundraiser Lite', 'charity-fundraiser' ); ?> <a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'charity-fundraiser' ); ?></a></li>
					</ol>
				</div>
			</div>
			
			<h3><?php esc_html_e( 'Get started with Charity Fundraiser Theme', 'charity-fundraiser' ); ?></h3>
			<div class="col-left-inner"> 
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/free-screenshot.png" alt="" />
			</div>		
			<div class="col-right-inner">
				<p><?php esc_html_e( 'Go to', 'charity-fundraiser' ); ?> <a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e( 'Customizer', 'charity-fundraiser' ); ?> </a> <?php esc_html_e( 'and start customizing your website', 'charity-fundraiser' ); ?></p>
				<ul>
					<li><?php esc_html_e( 'Easily customizable ', 'charity-fundraiser' ); ?> </li>
					<li><?php esc_html_e( 'Absolutely free', 'charity-fundraiser' ); ?> </li>
				</ul>
			</div>
		</div>
	</div>
	<div class="col-right">
		<div class="centerbold">
			<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/responsive.png" alt="" />
			<hr class="firsthr">
			<div class="btn-grp">
				<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e('Get Premium', 'charity-fundraiser'); ?></a>
				<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'charity-fundraiser'); ?></a>
				<a href="<?php echo esc_url( CHARITY_FUNDRAISER_THEMESGLANCE_THEME_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'charity-fundraiser'); ?></a>
				<a href="<?php echo esc_url( CHARITY_FUNDRAISER_BUNDLE_URL ); ?>" target="_blank"><?php esc_html_e('Bundle of 176+ Premium WP Themes at $79', 'charity-fundraiser'); ?></a>
			</div>
			<hr class="secondhr">
		</div>
		<h3><?php esc_html_e( 'PREMIUM THEME FEATURES', 'charity-fundraiser'); ?></h3>
		<ul>
		 	<li><?php esc_html_e( 'Slider with unlimited slides', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Cause" listing', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Events" listing', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Donation form with contact form 7', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Gallery Plugin with shortcode', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Volunteers" listing', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Social Icon widget', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Testimonials" listing', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Contact widget for footer', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Custom Posttype for "Donators" listing', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Contact page Template', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Partner listing with slider', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Recent Post Widget with thumbnails', 'charity-fundraiser'); ?></li>
		 	<li><?php esc_html_e( 'Blog full width, With Left and Right sidebar Template', 'charity-fundraiser'); ?></li>
		</ul>
	</div>
	
</div>
<?php } ?>