function layers_demo_meta_box_callback($post)
{
    // Add an nonce field so we can check for it later.
    wp_nonce_field('layers_demo_meta_box', 'layers_demo_meta_box_nonce');
    /*
    * Use get_post_meta() to retrieve an existing value
    * from the database and use the value for the form.
    */
    $credit_name = get_post_meta($post->ID, 'my_photo_credit', true);
    $credit_url = get_post_meta($post->ID, 'my_credit_url', true);
    // form elements go here
    if (class_exists('Layers_Form_Elements')) {
        $form_elements = new Layers_Form_Elements();
        //Photo Source
        echo '<p class="layers-form-item">';
        echo '<label>' . __('Photo Source', 'layerswp') . '</label> ';
        echo $form_elements->input(array('type' => 'text', 'name' => 'my_photo_credit', 'id' => 'my_photo_credit', 'placeholder' => __('Photo Source', 'layerswp'), 'value' => isset($credit_name) ? $credit_name : '', 'class' => 'layers-text'));
        echo '</p>';
        // Photo Source URL
        echo '<p class="layers-form-item">';
        echo '<label>' . __('Photo Source URL', 'layerswp') . '</label> ';
        echo $form_elements->input(array('type' => 'text', 'name' => 'my_credit_url', 'id' => 'my_credit_url', 'placeholder' => __('Photo Credit URL', 'layerswp'), 'value' => isset($credit_url) ? $credit_url : '', 'class' => 'layers-text'));
        echo '</p>';
        $photo_description = get_post_meta($post->ID, 'my_photo_desc', true);
        /* Add WP Editor as replacement of textarea */
        echo '<p class="layers-form-item">';
        echo '<label>' . __('Photo Description', 'layerswp') . '</label> ';
        wp_editor($photo_description, 'my_photo_desc', array('wpautop' => true, 'media_buttons' => false, 'textarea_name' => 'my_photo_desc', 'textarea_rows' => 10, 'teeny' => true));
        echo '</p>';
    }
    // If Class exists
}
示例#2
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">

					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<?php 
            if ('' != $this->description) {
                ?>
						<div class="description customize-control-description">
							<?php 
                echo $this->description;
                ?>
						</div>
					<?php 
            }
            ?>

					<div class="layers-form-item">
						<?php 
            echo $form_elements->input(array('type' => 'color', 'name' => '', 'id' => $this->id, 'value' => $this->value(), 'data' => $this->get_customize_data()));
            ?>
					</div>
				</div>

			</div>
			<?php 
        }
示例#3
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >
				
				<?php 
            $this->render_history_actions();
            ?>
				
				<?php 
            if ('' != $this->heading_divider) {
                ?>
					<?php 
                $this->render_heading_divider($this->heading_divider);
                ?>
				<?php 
            }
            ?>
				
				<div class="layers-form-item">
					<div class="layers-checkbox-wrapper layers-form-item">
						<?php 
            echo $form_elements->input(array('type' => 'checkbox', 'label' => $this->label, 'name' => '', 'id' => $this->id, 'data' => $this->get_customize_data()));
            ?>
					</div>
				</div>
				
				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }
示例#4
0
        public function render_content()
        {
            // Exit if there are no choises
            if (empty($this->choices)) {
                return;
            }
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">
					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<div class="layers-font-wrapper layers-form-item">
						<?php 
            echo $form_elements->input(array('type' => 'select', 'label' => isset($this->label) ? $this->label : '', 'name' => '', 'id' => $this->id, 'options' => $this->choices, 'data' => $this->get_customize_data()));
            ?>
					</div>
				</div>

				<div class="description customize-control-description" data-base-url="https://www.google.com/fonts/specimen/">
						<?php 
            echo sprintf(__('<em>Click <a href="%1s" target="_blank">here</a> to see this font on Google Fonts.</em>', 'layerswp'), 'https://www.google.com/fonts/specimen/' . $this->value());
            ?>
				</div>
			</div>
			<?php 
        }
示例#5
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">
					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<?php 
            echo $form_elements->input(array('type' => 'image', 'label' => __('Choose Background', 'layerswp'), 'name' => '', 'id' => $this->id, 'value' => isset($values['background']['image']) ? $values['background']['image'] : $this->value(), 'data' => $this->get_customize_data()));
            ?>
				</div>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo esc_html($this->description);
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }
示例#6
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">
					<div class="<?php 
            echo esc_attr($this->id);
            ?>
-wrapper layers-form-item">

						<?php 
            echo $form_elements->input(array('type' => 'button', 'label' => $this->text, 'id' => $this->id, 'tag' => 'a', 'href' => $this->href));
            ?>

					</div>
				</div>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }
示例#7
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div data-test id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >
				
				<?php 
            $this->render_history_actions();
            ?>
				
				<?php 
            if ('' != $this->heading_divider) {
                ?>
					<?php 
                $this->render_heading_divider($this->heading_divider);
                ?>
				<?php 
            }
            ?>
				
				<?php 
            if ('' != $this->label) {
                ?>
					<span class="customize-control-title"><?php 
                echo $this->label;
                ?>
</span>
				<?php 
            }
            ?>

				<div class="layers-form-item">

					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<div class="layers-form-item <?php 
            echo $this->colspan ? esc_attr("layers-column-flush layers-span-{$this->colspan}") : '';
            ?>
">
						<?php 
            echo $form_elements->input(array('type' => 'number', 'label' => isset($this->label) ? $this->label : '', 'name' => '', 'id' => $this->id, 'value' => stripslashes($this->value()), 'data' => $this->get_customize_data()));
            ?>
					</div>
				</div>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }
示例#8
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="l_option-customize-control l_option-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<?php 
            $this->render_history_actions();
            ?>

				<?php 
            if ('' != $this->heading_divider) {
                ?>
					<?php 
                $this->render_heading_divider($this->heading_divider);
                ?>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->label) {
                ?>
					<span class="customize-control-title"><?php 
                echo $this->label;
                ?>
</span>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->subtitle) {
                ?>
					<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
				<?php 
            }
            ?>

				<div class="layers-form-item <?php 
            echo $this->colspan ? esc_attr("layers-column-flush layers-span-{$this->colspan}") : '';
            ?>
">
					<?php 
            echo $form_elements->input(array('type' => 'trbl-fields', 'name' => '', 'id' => $this->id, 'value' => array('top' => get_option("{$this->id}-top"), 'right' => get_option("{$this->id}-right"), 'bottom' => get_option("{$this->id}-bottom"), 'left' => get_option("{$this->id}-left")), 'fields' => $this->fields));
            ?>
				</div>

			</div>
			<?php 
        }
示例#9
0
    /**
     * Custom Meta Interface
     */
    public function display_post_meta($post, $callback_args)
    {
        // Get post type
        $post_type = get_post_type($post->ID);
        // Post Meta Value
        $post_meta = get_post_meta($post->ID, LAYERS_THEME_SLUG, true);
        // Set the meta index ie. the array we will loop over for our options
        $meta_index = $callback_args['args']['meta_index'];
        // If there is no post meta to show, return
        if (!isset($this->custom_meta[$meta_index])) {
            return;
        }
        // Instantiate form elements
        $form_elements = new Layers_Form_Elements();
        // If there is Post Meta, loop over the tabs.
        if (isset($this->custom_meta[$meta_index])) {
            ?>
			<!-- Tabs -->
			<div class="l_admin-nav l_admin-nav-tabs">
				<ul class="l_admin-tabs clearfix">
					<?php 
            foreach ($this->custom_meta[$meta_index]['custom-meta'] as $key => $meta_option) {
                ?>
						<li <?php 
                if (!isset($inactive)) {
                    echo 'class="active"';
                }
                ?>
><a href="#"><?php 
                echo $meta_option['title'];
                ?>
</a></li>
						<?php 
                $inactive = 1;
                ?>
					<?php 
            }
            // foreach $this->custom_meta[ $post_type ]['custom-meta']
            ?>
				</ul>
			</div>
			<!-- Tab Content -->
			<div class="l_admin-tab-content">
				<?php 
            foreach ($this->custom_meta[$meta_index]['custom-meta'] as $key => $meta_option) {
                ?>
					<section class="l_admin-accordion-section l_admin-content l_admin-tab-content <?php 
                if (isset($hide_tab)) {
                    echo 'l_admin-hide';
                }
                ?>
 customize-control"> <?php 
                // @TODO: Remove .customizer-control class
                ?>
						<div class="l_admin-row clearfix">
							<?php 
                if (isset($meta_option['elements'])) {
                    ?>
								<fieldset>
									<?php 
                    foreach ($meta_option['elements'] as $input_key => $input) {
                        ?>
										<p class="l_admin-form-item">
											<label><?php 
                        echo $input['label'];
                        ?>
</label>
											<?php 
                        echo $form_elements->input(array('type' => $input['type'], 'name' => LAYERS_THEME_SLUG . '[' . $input_key . ']', 'id' => $input_key, 'default' => isset($input['default']) ? $input['default'] : NULL, 'placeholder' => isset($input['placeholder']) ? $input['placeholder'] : NULL, 'value' => isset($post_meta[$input_key]) ? $post_meta[$input_key] : (isset($input['default']) ? $input['default'] : NULL), 'options' => isset($input['options']) ? $input['options'] : NULL, 'class' => 'layers-' . $input['type']));
                        ?>
										</p>
									<?php 
                    }
                    // foreach $meta_option[ 'elements' ]
                    ?>
								</fieldset>
							<?php 
                }
                // if $meta_option[ 'elements' ]
                ?>
						</div>
					</section>
					<?php 
                $hide_tab = 1;
                ?>
				<?php 
            }
            // foreach $this->custom_meta[ $post_type ]['custom-meta']
            ?>
			</div>
			<?php 
            wp_nonce_field(LAYERS_THEME_SLUG . '-post-meta', '_wp_nonce_' . LAYERS_THEME_SLUG);
            ?>
		<?php 
        }
        // if $this->custom_meta[ $post_type ]
        ?>
	<?php 
    }
示例#10
0
<?php

// Fetch current user information
$user = wp_get_current_user();
?>

<?php 
// Instantiate Inputs
$form_elements = new Layers_Form_Elements();
?>

<?php 
// Get builder pages
$find_builder_page = layers_get_builder_pages();
?>

<section class="l_admin-area-wrapper" id="layers-add-new-page">
	<?php 
$this->header(__('Add New Page', 'layerswp'));
?>
	<div class="l_admin-well l_admin-content">
		<?php 
$this->load_partial('preset-layouts');
?>
	</div>
</section>

<section class="l_admin-modal-container l_admin-hide">
	<div class="l_admin-vertical-center l_admin-modal">
		<div class="l_admin-section-title l_admin-no-push-bottom">
示例#11
0
<?php

// Fetch current user information
$user = wp_get_current_user();
?>

<?php 
// Instantiate Inputs
$form_elements = new Layers_Form_Elements();
?>

<?php 
// Instantiate the widget migrator
$layers_migrator = new Layers_Widget_Migrator();
?>

<section class="layers-area-wrapper">

	<div class="layers-onboard-wrapper">

		<div class="layers-onboard-controllers">
			<div class="onboard-nav-dots layers-pull-left" id="layers-onboard-anchors"></div>
			<a class="layers-button btn-link layers-pull-right" href="" id="layers-onboard-skip"><?php 
_e('Skip', 'layerswp');
?>
</a>
		</div>

		<div class="layers-onboard-slider">

			<!-- Welcome -->
示例#12
0
<?php

// Fetch current user information
$user = wp_get_current_user();
// Instantiate Inputs
$form_elements = new Layers_Form_Elements();
// Instantiate the widget migrator
$layers_migrator = new Layers_Widget_Migrator();
?>
<section class="l_admin-area-wrapper">

	<div class="l_admin-onboard-wrapper">

		<div class="l_admin-onboard-controllers">
			<div class="onboard-nav-dots l_admin-pull-left" id="layers-onboard-anchors"></div>
			<a class="button btn-link l_admin-pull-right" href="" id="layers-onboard-skip"><?php 
_e('Skip', 'layerswp');
?>
</a>
		</div>

		<div class="l_admin-onboard-slider l_admin-row">

			<!-- Welcome -->
			<div class="l_admin-onboard-slide l_admin-animate l_admin-onboard-slide-current">
				<div class="l_admin-column l_admin-span-8 postbox">
					<div class="l_admin-content-large">
						<!-- Your content goes here -->
						<div class="l_admin-section-title l_admin-no-push-bottom">
							<h3 class="l_admin-heading">
								<?php 
示例#13
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div data-test id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">

					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<div class="layers-form-item">
						<?php 
            echo $form_elements->input(array('type' => 'range', 'label' => isset($this->label) ? $this->label : '', 'name' => '', 'id' => $this->id, 'value' => stripslashes($this->value()), 'data' => $this->get_customize_data(), 'min' => isset($this->min) ? $this->min : 0, 'max' => isset($this->max) ? $this->max : 100, 'step' => isset($this->step) ? $this->step : 1));
            ?>
					</div>
				</div>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }
示例#14
0
        public function render_content()
        {
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >
				
				<?php 
            $this->render_history_actions();
            ?>
				
				<?php 
            if ('' != $this->heading_divider) {
                ?>
					<?php 
                $this->render_heading_divider($this->heading_divider);
                ?>
				<?php 
            }
            ?>
				
				<?php 
            if ('' != $this->label) {
                ?>
					<span class="customize-control-title"><?php 
                echo $this->label;
                ?>
</span>
				<?php 
            }
            ?>
				
				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

				<div class="layers-code-wrapper layers-form-item">

					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>
					<?php 
            echo $form_elements->input(array('type' => 'textarea', 'label' => $this->label, 'name' => '', 'id' => $this->id, 'data' => $this->get_customize_data(), 'placeholder' => $this->placeholder));
            ?>
				</div>

			</div>
			<?php 
        }
示例#15
0
<?php

// Fetch current user information
$user = wp_get_current_user();
?>

<?php 
// Instantiate Inputs
$form_elements = new Layers_Form_Elements();
?>

<?php 
// Get the API up and running for the plugin listing
$api = new Layers_API();
?>

<?php 
// Load up Layers theme info
$theme_info = wp_get_theme('layerswp');
?>

<section id="layers-dashboard-page" class="layers-area-wrapper">

	<?php 
$this->header(__('Dashboard', 'layerswp'));
?>

	<div class="layers-row layers-well layers-content-large">
		<div class="layers-container-large">

			<div class="layers-row">
示例#16
0
        public function render_content()
        {
            // Exit if there are no choices
            if (empty($this->choices)) {
                return;
            }
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="l_option-customize-control l_option-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
 <?php 
            echo esc_attr($this->class);
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<?php 
            $this->render_history_actions();
            ?>

				<?php 
            if ('' != $this->heading_divider) {
                ?>
					<?php 
                $this->render_heading_divider($this->heading_divider);
                ?>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->label) {
                ?>
					<span class="customize-control-title"><?php 
                echo $this->label;
                ?>
</span>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo $this->description;
                ?>
					</div>
				<?php 
            }
            ?>

				<?php 
            if ('' != $this->subtitle) {
                ?>
					<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
				<?php 
            }
            ?>

				<div class="layers-form-item layers-select-wrapper <?php 
            echo $this->colspan ? esc_attr("layers-column-flush layers-span-{$this->colspan}") : '';
            ?>
">
					<?php 
            echo $form_elements->input(array('type' => 'select', 'label' => isset($this->label) ? $this->label : '', 'name' => '', 'id' => $this->id, 'options' => $this->choices, 'data' => $this->get_customize_data()));
            ?>
				</div>

			</div>
			<?php 
        }
示例#17
0
<?php

// Fetch current user information
$user = wp_get_current_user();
// Instantiate Inputs
$form_elements = new Layers_Form_Elements();
// Instantiate the widget migrator
$layers_migrator = new Layers_Widget_Migrator();
?>
<section class="l_admin-area-wrapper">

	<div class="l_admin-onboard-wrapper">

		<div class="l_admin-onboard-controllers">
			<div class="onboard-nav-dots l_admin-pull-left" id="layers-onboard-anchors"></div>
			<a class="button btn-link l_admin-pull-right" href="" id="layers-onboard-skip"><?php 
_e('Skip', 'layerswp');
?>
</a>
		</div>

		<div class="l_admin-onboard-slider l_admin-row">

			<!-- Welcome -->
			<div class="l_admin-onboard-slide l_admin-animate l_admin-onboard-slide-current">
				<div class="l_admin-column l_admin-span-8 postbox">
					<div class="l_admin-content-large">
						<!-- Your content goes here -->
						<div class="l_admin-section-title l_admin-no-push-bottom">
							<h3 class="l_admin-heading">
								<?php 
示例#18
0
        public function render_content()
        {
            // Exit if there are no choises
            if (empty($this->choices)) {
                return;
            }
            $form_elements = new Layers_Form_Elements();
            $values = false;
            ?>

			<div data-test id="layers-customize-control-<?php 
            echo esc_attr($this->id);
            ?>
" class="layers-customize-control layers-customize-control-<?php 
            echo esc_attr(str_replace('layers-', '', $this->type));
            ?>
" <?php 
            echo $this->get_linked_data();
            ?>
 >

				<span class="customize-control-title">
					<?php 
            echo esc_html($this->label);
            ?>
				</span>

				<div class="layers-form-item">
					<?php 
            if ('' != $this->subtitle) {
                ?>
						<label class="layers-form-row"><?php 
                echo $this->subtitle;
                ?>
</label>
					<?php 
            }
            ?>

					<div class="layers-select-wrapper layers-form-item">
						<?php 
            echo $form_elements->input(array('type' => 'select', 'label' => isset($this->label) ? $this->label : '', 'name' => '', 'id' => $this->id, 'options' => $this->choices, 'data' => $this->get_customize_data()));
            ?>
					</div>
				</div>

				<?php 
            if ('' != $this->description) {
                ?>
					<div class="description customize-control-description">
						<?php 
                echo esc_html($this->description);
                ?>
					</div>
				<?php 
            }
            ?>

			</div>
			<?php 
        }