'wp_core_fields', 'title' => __('General Settings', 'bootmag'), 'settings' => array( // site logo array( 'name' => 'myt4wp_upload_logo', 'control' => array( 'label' => __('Custom site logo', 'bootmag' ), 'type' => 'image', ), ), // site bg image array( 'name' => 'myt4wp_upload_background', 'control' => array( 'label' => __('Custom site background', 'bootmag' ), 'type' => 'image', ), ), // site bg color array( 'name' => 'myt4wp_bg_color', 'default' => '#ffffff', 'control' => array( 'label' => __('Site background color', 'bootmag' ), 'type' => 'color', ), ), // breadcrumbs array( 'name' => 'myt4wp_breadcrumbs', 'control' => array( 'label' => __('Breadcrumbs', 'bootmag' ), 'type' => 'checkbox', ), ), // header ad array( 'name' => 'myt4wp_header_ad', 'control' => array( 'label' => __('Header Ad', 'bootmag' ), 'type' => 'textarea', ), ), ), ); // ----------------------------------------- // Customize Panel Options Fields - // ----------------------------------------- $options[] = array( 'name' => 'codestar_panel_1', 'title' => 'Styling Options', 'sections' => array( // begin: section array( 'name' => 'colors', 'title' => 'Colors', 'settings' => array( // heading header array( 'name' => 'myt4wp_heading_header', 'control' => array( 'type' => 'cs_field', 'options' => array( 'type' => 'heading', 'content' => __('Header Colors (more options available only in Pro version)', 'bootmag' ), ), ), ), // header bg color array( 'name' => 'myt4wp_header_bg_color', 'default' => '#ffffff', 'control' => array( 'type' => 'cs_field', 'options' => array( 'type' => 'color_picker', 'title' => __('Header Background Color', 'bootmag' ), ), ), ), ), ), // end: section // begin: section array( 'name' => 'category_select', 'title' => 'Homepage Categories', 'settings' => array( // Slider category array( 'name' => 'myt4wp_slider_cat', 'default' => '1', 'control' => array( 'label' => __('Category for slider', 'bootmag' ), 'type' => 'text', ), ), // Carousel title array( 'name' => 'myt4wp_carousel_title', 'default' => 'Carousel title', 'control' => array( 'label' => __('Carousel title', 'bootmag' ), 'type' => 'text', ), ), // Carousel category array( 'name' => 'myt4wp_carousel_cat', 'default' => '1', 'control' => array( 'label' => __('Category for carousel', 'bootmag' ), 'type' => 'text', ), ), // Category title array( 'name' => 'myt4wp_cat_title', 'default' => 'Category title', 'control' => array( 'label' => __('Category title', 'bootmag' ), 'type' => 'text', ), ), // Category section array( 'name' => 'myt4wp_home_cat', 'default' => '1', 'control' => array( 'label' => __('Category for category section', 'bootmag' ), 'type' => 'text', ), ), // Posts in pictures title array( 'name' => 'myt4wp_blog_title', 'default' => 'Blog', 'control' => array( 'label' => __('Blog title', 'bootmag' ), 'type' => 'text', ), ), ), ), // end: section ), // end: sections ); CSFramework_Customize::instance( $options );