CSF::createWidget('csf_widget_carousel_3', array(
'title' => 'ویجت کلاکت فیلم: ویجت کروسل مطالب دسته custom',
'classname' => 'csf-widget-classname',
'description' => 'ویجت اختصاصی کلاکت فیلم برای نمایش کروسل مطالب دسته',
'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => 'عنوان ویجت',
),
array(
'id' => 'icon',
'type' => 'text',
'subtitle' => 'از FontAwesome استفاده شود',
'placeholder' => 'مثلا: film',
'title' => 'آیکون ویجت',
),
array(
'id' => 'count',
'type' => 'text',
'title' => 'تعداد مطالب',
),
array(
'id' => 'archive',
'type' => 'switcher',
'title' => 'نمایش دکمه آرشیو',
'text_on' => 'فعال',
'text_off' => 'غیرفعال',
'text_width' => 75,
'default' => false
),
array(
'id' => 'film_cat',
'type' => 'select',
'title' => 'انتخاب دسته بندی',
'placeholder' => 'دسته بندی را انتخاب کنید',
'chosen' => true,
'ajax' => false,
'multiple' => false,
'sortable' => true,
'options' => 'categories',
),
)
));
if (!function_exists('csf_widget_carousel_3')) {
function csf_widget_carousel_3($args, $instance)
{ ?>
}
}