<?php

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
/*********************
News Ticker settings.
*******************/
	$wp_customize->add_section('poster_tagcloud_set',
		array(
			'title'       => __( 'Tags Cloud', 'poster' ),
			'capability'  => 'edit_theme_options',						
			'panel'			=> 'poster_theme_elements',
		));		
		
		$wp_customize->add_setting(
				'poster_header_heading',
				array(
					'sanitize_callback' => 'wp_kses',
				));

			$wp_customize->add_control(
				new poster_Customizer_Heading_Control(
					$wp_customize,
					'poster_header_heading',
					array(
						'label'    => esc_html__( 'Choose Tags Style', 'poster' ),
						'section'  => 'poster_tagcloud_set',
						'priority' => 15,
					)));
			$wp_customize->add_setting(
			'poster_newsticker_style',
			array(
				'default'           => 'styleone',
				'type'              => 'theme_mod',
				'sanitize_callback' => 'poster_customize_sanitize_select',
				'capability'        => 'edit_theme_options',
			)
		);

		$wp_customize->add_control(
			new poster_Image_Radio_Control(
				$wp_customize,
				'poster_newsticker_style',
				array(
					'label'       => __( 'Ticker Style', 'poster' ),
					'description' => __( 'Choose News Ticker Style. After Choosing & Publish You need to REFRESH Website', 'poster' ),
					'section'     => 'poster_ticker_set',
					'choices'     => array(
						'styleone'  => get_template_directory_uri() . '/images/newsticker/newstickerone.png',
						'styletwo' => get_template_directory_uri() . '/images/newsticker/newstickertwo.png',
						'stylethree' => get_template_directory_uri() . '/images/newsticker/newstickerthree.png',
					),
					'priority'    => apply_filters( 'poster_authorprofile_style_priority', 20 ),
				)
			));
		
		