<?php
/**
 *	Basic Settings
 *  Background Image
 *  Homepage
 *  Archives
 *  Search Results Page
 *  Page Settings
 *  Single Post Settings
 *  404 Error Page
 */ 
function phnewspaper_help_support_customize_register( $wp_customize ) {
	
	$wp_customize->add_section(
		'phnewspaper-help-support', array(
			'title'		=>	__('Theme Support & Docs', 'ph-news-paper'),
			'priority'	=>	10,
		)
	);
	
	$wp_customize->add_setting('pixahive-welcome-message', array(
		'sanitize_callback'	=>	'sanitize_text_field' 
		)
	);
	
	$wp_customize->add_control(
		new phnewspaper_Custom_Notice_Control(
			$wp_customize, 'pixahive-welcome-message', array(
				'label'		=>	__('Thank you for choosing PH News Center theme by PixaHive.', 'ph-news-paper'),
				'description'	=>	__('PH News Paper theme is a brilliant theme in the making. We need your help make it even more better. If you have any feature suggestions, you are more than welcome. <br />. <a href="https://docs.google.com/document/d/1L2PgEgX_g5BeEWSVlLOKRURTCql9RMoFJ35tr5cyXLs/edit" target="_blank">Read Documentation / Contact Us</a> for support, requests, suggestions or just to say how awesome this theme is. To know what your site should look like, <a href="https://pixahive.com/themes/ph-newspaper-demos/" target="_blank">view Theme Demo</a>.', 'ph-news-paper'),
				'priority'		=>	10,
				'section'		=>	'phnewspaper-help-support',
				'input_attrs' => array('class'=>'help-msg'),
			)
		)
	);
	
}
add_action('customize_register', 'phnewspaper_help_support_customize_register');