$tags_args = ['orderby' => 'count', 'order' => 'desc', 'hide_empty' => 0, 'number' => theme_custom_collection::get_options('tags-number') ? theme_custom_collection::get_options('tags-number') : 16];
if (class_exists('theme_custom_collection')) {
    $tags_ids = theme_custom_collection::get_options('tags');
    if (empty($tag_ids)) {
        $tags = get_tags($tags_args);
    } else {
        $tags = get_tags(['include' => implode($tags_ids), 'orderby' => 'count', 'order' => 'desc', 'hide_empty' => 0]);
    }
} else {
    $tags = get_tags($tags_args);
}
?>
<div class="panel">
	<div class="content">
		<?php 
echo theme_custom_collection::get_des();
?>
		<form action="javascript:;" id="fm-clt" class="form-horizontal">
			<div class="form-group">
				<label for="clt-title" class="g-tablet-1-6 control-label">
					<?php 
echo ___('Collection title');
?>
				</label>
				<div class="g-tablet-5-6">
					<input 
						type="text" 
						name="clt[post-title]"
						class="form-control" 
						id="clt-title" 
						placeholder="<?php