__( 'General', 'agama' ), 'description' => __( 'General settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 10 ) ); Kirki::add_field( 'agama_favicon', array( 'label' => __( 'Favicon', 'agama' ), 'description' => __( 'Upload a 16x16px png/gif image that will be your favicon.', 'agama' ), 'settings' => 'agama_favicon', 'section' => 'agama_general_section', 'type' => 'image' ) ); Kirki::add_field( 'agama_search_page_thumbnails', array( 'label' => __( 'Search Page Post Thumbnails', 'agama' ), 'description' => __( 'Enable posts thumbnails on search page ?', 'agama' ), 'section' => 'agama_general_section', 'settings' => 'agama_search_page_thumbnails', 'type' => 'switch', 'default' => false ) ); Kirki::add_field( 'agama_nicescroll', array( 'label' => __( 'Nicescroll', 'agama' ), 'description' => __( 'Enable browser nicescroll ?', 'agama' ), 'section' => 'agama_general_section', 'settings' => 'agama_nicescroll', 'type' => 'switch', 'default' => false ) ); Kirki::add_field( 'agama_to_top', array( 'label' => __( 'Back to Top', 'agama' ), 'description' => __( 'Enable back to top button ?', 'agama' ), 'section' => 'agama_general_section', 'settings' => 'agama_to_top', 'type' => 'switch', 'default' => true ) ); ################################################################################### # LAYOUT ################################################################################### Kirki::add_section( 'agama_layout_section', array( 'title' => __( 'Layout', 'agama' ), 'description' => __( 'Layout settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 20, ) ); Kirki::add_field( 'agama_layout_style', array( 'label' => __( 'Layout Style', 'agama' ), 'description' => __( 'Select layout style.', 'agama' ), 'section' => 'agama_layout_section', 'settings' => 'agama_layout_style', 'type' => 'select', 'choices' => array( 'fullwidth' => __( 'Full-Width', 'agama' ), 'boxed' => __( 'Boxed', 'agama' ) ), 'default' => 'fullwidth' ) ); Kirki::add_field( 'agama_sidebar_position', array( 'label' => __( 'Sidebar Position', 'agama' ), 'description' => __( 'Select sidebar position.', 'agama' ), 'section' => 'agama_layout_section', 'settings' => 'agama_sidebar_position', 'type' => 'select', 'choices' => array( 'left' => __( 'Left', 'agama' ), 'right' => __( 'Right', 'agama' ) ), 'default' => 'right' ) ); ################################################################################### # HEADER ################################################################################### Kirki::add_panel( 'agama_header_panel', array( 'title' => __( 'Header', 'agama' ), 'description' => __( 'Header section.', 'agama' ), 'priority' => 30 ) ); Kirki::add_section( 'agama_header_section', array( 'title' => __( 'General', 'agama' ), 'description' => __( 'Header general section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_header_panel' ) ); Kirki::add_field( 'agama_logo', array( 'label' => __( 'Logo', 'agama' ), 'description' => __( 'Upload custom logo.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_logo', 'type' => 'image' ) ); Kirki::add_field( 'agama_logo_max_height', array( 'label' => __( 'Logo Max-Height', 'agama' ), 'description' => __( 'Set logo max-height in PX.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_logo_max_height', 'type' => 'slider', 'choices' => array( 'step' => '1', 'min' => '0', 'max' => '250' ), 'default' => '90' ) ); Kirki::add_field( 'agama_top_navigation', array( 'label' => __( 'Top Navigation', 'agama' ), 'description' => __( 'Enable top navigation ?', 'agama' ), 'help' => __( 'This feature works only with header V2 & V3.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_top_navigation', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_header_style', array( 'label' => __( 'Header Style', 'agama' ), 'description' => __( 'Select header style.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_header_style', 'type' => 'radio-buttonset', 'choices' => array( 'transparent' => __( 'Header V1', 'agama' ), 'default' => __( 'Header V2', 'agama' ), 'sticky' => __( 'Header V3', 'agama' ) ), 'default' => 'transparent' ) ); Kirki::add_field( 'agama_header_top_margin', array( 'label' => __( 'Top Margin', 'agama' ), 'description' => __( 'Set header top margin in PX.', 'agama' ), 'help' => __( 'This feature works only with header V2.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_header_top_margin', 'type' => 'slider', 'choices' => array( 'step' => '1', 'min' => '0', 'max' => '100' ), 'default' => '0' ) ); Kirki::add_field( 'agama_header_top_border_size', array( 'label' => __( 'Top Border', 'agama' ), 'description' => __( 'Select header top border height in PX.', 'agama' ), 'help' => __( 'This feature works with header V2 & V3.', 'agama' ), 'section' => 'agama_header_section', 'settings' => 'agama_header_top_border_size', 'type' => 'number', 'default' => '3' ) ); Kirki::add_section( 'header_image', array( 'title' => __( 'Header Image', 'agama' ), 'description' => __( 'Header image section.', 'agama' ), 'panel' => 'agama_header_panel' ) ); ################################################################################### # SLIDER ################################################################################### Kirki::add_panel( 'agama_slider_panel', array( 'title' => __( 'Slider', 'agama' ), 'description' => __( 'Slider settings.', 'agama' ), 'priority' => 40, ) ); Kirki::add_section( 'agama_slider_general_section', array( 'title' => __( 'General', 'agama' ), 'description' => __( 'Slider general section.', 'agama' ), 'panel' => 'agama_slider_panel', 'capability' => 'edit_theme_options' ) ); Kirki::add_field( 'agama_slider_enable', array( 'label' => __( 'Enable', 'agama' ), 'description' => __( 'Enable slider ?', 'agama' ), 'section' => 'agama_slider_general_section', 'settings' => 'agama_slider_enable', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_slider_height', array( 'label' => __( 'Height', 'agama' ), 'description' => __( 'Set slider height in pixels (px).', 'agama' ), 'help' => __( 'Set 0 for full-screen slider.', 'agama' ), 'section' => 'agama_slider_general_section', 'settings' => 'agama_slider_height', 'type' => 'number', 'choices' => array( 'min' => '0', 'max' => '1000', 'step' => '1' ), 'default' => '0' ) ); Kirki::add_field( 'agama_slider_time', array( 'label' => __( 'Time', 'agama' ), 'description' => __( 'Milliseconds between the end of the sliding effect and the start of the nex one.', 'agama' ), 'help' => __( '1000ms = 1sec.', 'agama' ), 'section' => 'agama_slider_general_section', 'settings' => 'agama_slider_time', 'type' => 'number', 'choices' => array( 'min' => '1000', 'max' => '28000', 'step' => '1' ), 'default' => '7000' ) ); Kirki::add_field( 'agama_slider_visibility', array( 'label' => __( 'Visibility', 'agama' ), 'description' => __( 'Select where the slider should be visible.', 'agama' ), 'section' => 'agama_slider_general_section', 'settings' => 'agama_slider_visibility', 'type' => 'select', 'choices' => array( 'homepage' => __( 'Homepage', 'agama' ), 'frontpage' => __( 'Front Page', 'agama' ) ), 'default' => 'homepage' ) ); Kirki::add_section( 'agama_slide_1_section', array( 'title' => __( 'Slide #1', 'agama' ), 'description' => __( 'Upload slider image.', 'agama' ), 'panel' => 'agama_slider_panel', 'capability' => 'edit_theme_options' ) ); Kirki::add_field( 'agama_slider_image_1', array( 'label' => __( 'Image', 'agama' ), 'settings' => 'agama_slider_image_1', 'section' => 'agama_slide_1_section', 'type' => 'image', 'default' => AGAMA_IMG . 'header_img.jpg' ) ); Kirki::add_field( 'agama_slider_title_1', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Add custom slide title.', 'agama' ), 'help' => __( 'If empty the title will be hidden.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_title_1', 'type' => 'text', 'default' => __( 'Welcome to Agama', 'agama' ) ) ); Kirki::add_field( 'agama_slider_title_animation_1', array( 'label' => __( 'Title Animation', 'agama' ), 'description' => __( 'Select title slide animation.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_title_animation_1', 'type' => 'select', 'choices' => AgamaAnimate::choices(), 'default' => 'bounceInLeft' ) ); Kirki::add_field( 'agama_slider_title_color_1', array( 'label' => __( 'Title Color', 'agama' ), 'description' => __( 'Select slide title color.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_title_color_1', 'type' => 'color', 'default' => '#fff' ) ); Kirki::add_field( 'agama_slider_content_top_1', array( 'label' => __( 'Slider Content Top Distance', 'agama' ), 'description' => __( 'Set slider content top distance in %.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_content_top_1', 'type' => 'slider', 'choices' => array( 'step' => '1', 'min' => '0', 'max' => '100' ), 'default' => '40' ) ); Kirki::add_field( 'agama_slider_button_title_1', array( 'label' => __( 'Button Title', 'agama' ), 'description' => __( 'Set custom button title.', 'agama' ), 'help' => __( 'If field empty the button will be hidden.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_button_title_1', 'type' => 'text', 'default' => __( 'Learn More', 'agama' ) ) ); Kirki::add_field( 'agama_slider_button_animation_1', array( 'label' => __( 'Button Animation', 'agama' ), 'description' => __( 'Select button slide animation.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_button_animation_1', 'type' => 'select', 'choices' => AgamaAnimate::choices(), 'default' => 'bounceInRight' ) ); Kirki::add_field( 'agama_slider_button_url_1', array( 'label' => __( 'Button URL', 'agama' ), 'description' => __( 'Set button url.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_button_url_1', 'type' => 'text', 'default' => '#' ) ); Kirki::add_field( 'agama_slider_button_bg_color_1', array( 'label' => __( 'Button BG Color', 'agama' ), 'description' => __( 'Select button background color.', 'agama' ), 'section' => 'agama_slide_1_section', 'settings' => 'agama_slider_button_bg_color_1', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_section( 'agama_slide_2_section', array( 'title' => __( 'Slide #2', 'agama' ), 'description' => __( 'Upload slider image.', 'agama' ), 'panel' => 'agama_slider_panel', 'capability' => 'edit_theme_options' ) ); Kirki::add_field( 'agama_slider_image_2', array( 'label' => __( 'Image', 'agama' ), 'settings' => 'agama_slider_image_2', 'section' => 'agama_slide_2_section', 'type' => 'image', 'default' => AGAMA_IMG . 'header_img.jpg' ) ); Kirki::add_field( 'agama_slider_title_2', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Add custom slide title.', 'agama' ), 'help' => __( 'If empty the title will be hidden.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_title_2', 'type' => 'text', 'default' => __( 'Welcome to Agama', 'agama' ) ) ); Kirki::add_field( 'agama_slider_title_animation_2', array( 'label' => __( 'Title Animation', 'agama' ), 'description' => __( 'Select title slide animation.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_title_animation_2', 'type' => 'select', 'choices' => AgamaAnimate::choices(), 'default' => 'bounceInLeft' ) ); Kirki::add_field( 'agama_slider_title_color_2', array( 'label' => __( 'Title Color', 'agama' ), 'description' => __( 'Select slide title color.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_title_color_2', 'type' => 'color', 'default' => '#fff' ) ); Kirki::add_field( 'agama_slider_content_top_2', array( 'label' => __( 'Slider Content Top Distance', 'agama' ), 'description' => __( 'Set slider content top distance in %.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_content_top_2', 'type' => 'slider', 'choices' => array( 'step' => '1', 'min' => '0', 'max' => '100' ), 'default' => '40' ) ); Kirki::add_field( 'agama_slider_button_title_2', array( 'label' => __( 'Button Title', 'agama' ), 'description' => __( 'Set custom button title.', 'agama' ), 'help' => __( 'If field empty the button will be hidden.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_button_title_2', 'type' => 'text', 'default' => __( 'Learn More', 'agama' ) ) ); Kirki::add_field( 'agama_slider_button_animation_2', array( 'label' => __( 'Button Animation', 'agama' ), 'description' => __( 'Select button slide animation.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_button_animation_2', 'type' => 'select', 'choices' => AgamaAnimate::choices(), 'default' => 'bounceInRight' ) ); Kirki::add_field( 'agama_slider_button_url_2', array( 'label' => __( 'Button URL', 'agama' ), 'description' => __( 'Set button url.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_button_url_2', 'type' => 'text', 'default' => '#' ) ); Kirki::add_field( 'agama_slider_button_bg_color_2', array( 'label' => __( 'Button BG Color', 'agama' ), 'description' => __( 'Select button background color.', 'agama' ), 'section' => 'agama_slide_2_section', 'settings' => 'agama_slider_button_bg_color_2', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_section( 'agama_slide_3_section', array( 'title' => __( 'Slide #3', 'agama' ), 'description' => __( 'Slide #3 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_4_section', array( 'title' => __( 'Slide #4', 'agama' ), 'description' => __( 'Slide #4 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_5_section', array( 'title' => __( 'Slide #5', 'agama' ), 'description' => __( 'Slide #5 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_6_section', array( 'title' => __( 'Slide #6', 'agama' ), 'description' => __( 'Slide #6 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_7_section', array( 'title' => __( 'Slide #7', 'agama' ), 'description' => __( 'Slide #7 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_8_section', array( 'title' => __( 'Slide #8', 'agama' ), 'description' => __( 'Slide #8 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_9_section', array( 'title' => __( 'Slide #9', 'agama' ), 'description' => __( 'Slide #9 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); Kirki::add_section( 'agama_slide_10_section', array( 'title' => __( 'Slide #10', 'agama' ), 'description' => __( 'Slide #10 section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_slider_panel' ) ); ################################################################################### # BREADCRUMB ################################################################################### Kirki::add_section( 'agama_breadcrumb_section', array( 'title' => __( 'Breadcrumb', 'agama' ), 'description' => __( 'Breadcrumb settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 50, ) ); Kirki::add_field( 'agama_breadcrumb', array( 'label' => __( 'Breadcrumb', 'agama' ), 'description' => __( 'Enable breadcrumb ?', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_breadcrumb_homepage', array( 'label' => __( 'Breadcrumb on Homepage', 'agama' ), 'description' => __( 'Disable breadcrumb on homepage ?', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb_homepage', 'type' => 'switch', 'default' => false ) ); Kirki::add_field( 'agama_breadcrumb_style', array( 'label' => __( 'Breadcrumb Style', 'agama' ), 'description' => __( 'Select breadcrumb style.', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb_style', 'type' => 'select', 'choices' => array( 'mini' => __( 'Mini', 'agama' ), 'normal' => __( 'Normal', 'agama' ) ), 'default' => 'mini' ) ); Kirki::add_field( 'agama_breadcrumb_bg_color', array( 'label' => __( 'Background Color', 'agama' ), 'description' => __( 'Select breadcrumb background color.', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb_bg_color', 'type' => 'color', 'default' => '#F5F5F5' ) ); Kirki::add_field( 'agama_breadcrumb_text_color', array( 'label' => __( 'Font Color', 'agama' ), 'description' => __( 'Select breadcrumb font color.', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb_text_color', 'type' => 'color', 'default' => '#444' ) ); Kirki::add_field( 'agama_breadcrumb_links_color', array( 'label' => __( 'Links Color', 'agama' ), 'description' => __( 'Select breadcrumb links color.', 'agama' ), 'section' => 'agama_breadcrumb_section', 'settings' => 'agama_breadcrumb_links_color', 'type' => 'color', 'default' => '#444' ) ); ################################################################################### # FRONTPAGE BOXES ################################################################################### Kirki::add_panel( 'agama_frontpage_boxes_panel', array( 'title' => __( 'Frontpage Boxes', 'agama' ), 'description' => __( 'Frontpage boxes section.', 'agama' ), 'priority' => 60 ) ); Kirki::add_section( 'agama_frontpage_general_section', array( 'title' => __( 'General', 'agama' ), 'description' => __( 'Frontpage boxes general section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_field( 'agama_frontpage_boxes_visibility', array( 'label' => __( 'Visibility', 'agama' ), 'description' => __( 'Select where you want frontpage boxes to be visible.', 'agama' ), 'section' => 'agama_frontpage_general_section', 'settings' => 'agama_frontpage_boxes_visibility', 'type' => 'select', 'choices' => array( 'homepage' => __( 'Homepage', 'agama' ), 'frontpage' => __( 'Front Page', 'agama' ), 'allpages' => __( 'All Pages', 'agama' ) ), 'default' => 'homepage' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_1', array( 'title' => __( 'Frontpage Box #1', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_field( 'agama_frontpage_box_1_enable', array( 'label' => __( 'Box 1', 'agama' ), 'description' => __( 'Enable box 1.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_enable', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_frontpage_box_1_title', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Set box title.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_title', 'type' => 'text', 'default' => 'Responsive Layout' ) ); Kirki::add_field( 'agama_frontpage_box_1_icon', array( 'label' => __( 'FontAwesome Icon', 'agama' ), 'description' => sprintf('%s here %s', __('Accepted inputs is "fa-*" ex: fa-tablet, check', 'agama'), __('for all FontAwesome icon classes.', 'agama')), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_icon', 'type' => 'text', 'default' => 'fa-tablet' ) ); Kirki::add_field( 'agama_frontpage_box_1_icon_color', array( 'label' => __( 'Icon Color', 'agama' ), 'description' => __( 'Set icon color.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_icon_color', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_field( 'agama_frontpage_1_img', array( 'label' => __( 'Image', 'agama' ), 'description' => __('You can use image instead of FontAwesome icon, just upload it here.', 'agama'), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_1_img', 'type' => 'image' ) ); Kirki::add_field( 'agama_frontpage_box_1_icon_url', array( 'label' => __( 'Box Icon / Image URL', 'agama' ), 'description' => __( 'Starting with: http://', 'agama' ), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_icon_url', 'type' => 'text' ) ); Kirki::add_field( 'agama_frontpage_box_1_text', array( 'label' => __( 'Box Text', 'agama' ), 'description' => __( 'Add custom text.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_1', 'settings' => 'agama_frontpage_box_1_text', 'type' => 'textarea', 'default' => 'Powerful Layout with Responsive functionality that can be adapted to any screen size.' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_2', array( 'title' => __( 'Frontpage Box #2', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_field( 'agama_frontpage_box_2_enable', array( 'label' => __( 'Box 2', 'agama' ), 'description' => __( 'Enable box 2.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_enable', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_frontpage_box_2_title', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Set box title.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_title', 'type' => 'text', 'default' => 'Endless Possibilities' ) ); Kirki::add_field( 'agama_frontpage_box_2_icon', array( 'label' => __( 'FontAwesome Icon', 'agama' ), 'description' => sprintf('%s here %s', __('Accepted inputs is "fa-*" ex: fa-tablet, check', 'agama'), __('for all FontAwesome icon classes.', 'agama')), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_icon', 'type' => 'text', 'default' => 'fa-cogs' ) ); Kirki::add_field( 'agama_frontpage_box_2_icon_color', array( 'label' => __( 'Icon Color', 'agama' ), 'description' => __( 'Set icon color.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_icon_color', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_field( 'agama_frontpage_2_img', array( 'label' => __( 'Image', 'agama' ), 'description' => __('You can use image instead of FontAwesome icon, just upload it here.', 'agama'), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_2_img', 'type' => 'image' ) ); Kirki::add_field( 'agama_frontpage_box_2_icon_url', array( 'label' => __( 'Box Icon / Image URL', 'agama' ), 'description' => __( 'Starting with: http://', 'agama' ), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_icon_url', 'type' => 'text' ) ); Kirki::add_field( 'agama_frontpage_box_2_text', array( 'label' => __( 'Box Text', 'agama' ), 'description' => __( 'Add custom text.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_2', 'settings' => 'agama_frontpage_box_2_text', 'type' => 'textarea', 'default' => 'Complete control on each & every element that provides endless customization possibilities.' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_3', array( 'title' => __( 'Frontpage Box #3', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_field( 'agama_frontpage_box_3_enable', array( 'label' => __( 'Box 3', 'agama' ), 'description' => __( 'Enable box 3.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_enable', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_frontpage_box_3_title', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Set box title.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_title', 'type' => 'text', 'default' => 'Boxed & Wide Layouts' ) ); Kirki::add_field( 'agama_frontpage_box_3_icon', array( 'label' => __( 'FontAwesome Icon', 'agama' ), 'description' => sprintf('%s here %s', __('Accepted inputs is "fa-*" ex: fa-tablet, check', 'agama'), __('for all FontAwesome icon classes.', 'agama')), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_icon', 'type' => 'text', 'default' => 'fa-laptop' ) ); Kirki::add_field( 'agama_frontpage_box_3_icon_color', array( 'label' => __( 'Icon Color', 'agama' ), 'description' => __( 'Set icon color.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_icon_color', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_field( 'agama_frontpage_3_img', array( 'label' => __( 'Image', 'agama' ), 'description' => __('You can use image instead of FontAwesome icon, just upload it here.', 'agama'), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_3_img', 'type' => 'image' ) ); Kirki::add_field( 'agama_frontpage_box_3_icon_url', array( 'label' => __( 'Box Icon / Image URL', 'agama' ), 'description' => __( 'Starting with: http://', 'agama' ), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_icon_url', 'type' => 'text' ) ); Kirki::add_field( 'agama_frontpage_box_3_text', array( 'label' => __( 'Box Text', 'agama' ), 'description' => __( 'Add custom text.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_3', 'settings' => 'agama_frontpage_box_3_text', 'type' => 'textarea', 'default' => 'Stretch your Website to the Full Width or make it boxed to surprise your visitors.' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_4', array( 'title' => __( 'Frontpage Box #4', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_field( 'agama_frontpage_box_4_enable', array( 'label' => __( 'Box 4', 'agama' ), 'description' => __( 'Enable box 4.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_enable', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_frontpage_box_4_title', array( 'label' => __( 'Title', 'agama' ), 'description' => __( 'Set box title.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_title', 'type' => 'text', 'default' => 'Powerful Performance' ) ); Kirki::add_field( 'agama_frontpage_box_4_icon', array( 'label' => __( 'FontAwesome Icon', 'agama' ), 'description' => sprintf('%s here %s', __('Accepted inputs is "fa-*" ex: fa-tablet, check', 'agama'), __('for all FontAwesome icon classes.', 'agama')), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_icon', 'type' => 'text', 'default' => 'fa-magic' ) ); Kirki::add_field( 'agama_frontpage_box_4_icon_color', array( 'label' => __( 'Icon Color', 'agama' ), 'description' => __( 'Set icon color.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_icon_color', 'type' => 'color', 'default' => '#A2C605' ) ); Kirki::add_field( 'agama_frontpage_4_img', array( 'label' => __( 'Image', 'agama' ), 'description' => __('You can use image instead of FontAwesome icon, just upload it here.', 'agama'), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_4_img', 'type' => 'image' ) ); Kirki::add_field( 'agama_frontpage_box_4_icon_url', array( 'label' => __( 'Box Icon / Image URL', 'agama' ), 'description' => __( 'Starting with: http://', 'agama' ), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_icon_url', 'type' => 'text' ) ); Kirki::add_field( 'agama_frontpage_box_4_text', array( 'label' => __( 'Box Text', 'agama' ), 'description' => __( 'Add custom text.', 'agama' ), 'section' => 'agama_frontpage_boxes_section_4', 'settings' => 'agama_frontpage_box_4_text', 'type' => 'textarea', 'default' => 'Optimized code that are completely customizable and deliver unmatched fast performance.' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_5', array( 'title' => __( 'Frontpage Box #5', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_6', array( 'title' => __( 'Frontpage Box #6', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_7', array( 'title' => __( 'Frontpage Box #7', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); Kirki::add_section( 'agama_frontpage_boxes_section_8', array( 'title' => __( 'Frontpage Box #8', 'agama' ), 'description' => __( 'Frontpage boxes settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 60, 'panel' => 'agama_frontpage_boxes_panel' ) ); ################################################################################### # BLOG ################################################################################### Kirki::add_section( 'agama_blog_section', array( 'title' => __( 'Blog', 'agama' ), 'description' => __( 'Blog settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 70, ) ); Kirki::add_field( 'agama_blog_layout', array( 'label' => __( 'Layout', 'agama' ), 'description' => __( 'Select blog layout.', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_layout', 'type' => 'select', 'choices' => array( 'list' => __( 'List Layout', 'agama' ), 'grid' => __( 'Grid Layout', 'agama' ), 'small_thumbs' => __( 'Small Thumbs Layout', 'agama' ) ), 'default' => 'list' ) ); Kirki::add_field( 'agama_blog_single_post_thumbnail', array( 'label' => __( 'Single Post Thumbnails', 'agama' ), 'description' => __( 'Enable thumbnails on single post / page ?', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_single_post_thumbnail', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_thumbnails_permalink', array( 'label' => __( 'Thumbnails Permalink', 'agama' ), 'description' => __( 'Enable blog thumbnails permalinks ?', 'agama' ), 'help' => __( 'If enabled, blog thumbnails will become clickable links.', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_thumbnails_permalink', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_post_meta', array( 'label' => __( 'Post Meta', 'agama' ), 'description' => __( 'Enable blog post meta ?', 'agama' ), 'help' => __('If enabled, post details like: date, category, author & comments count will be shown below post title.', 'agama'), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_post_meta', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_post_author', array( 'label' => __( 'Post Author', 'agama' ), 'description' => __( 'Enable post author ?', 'agama' ), 'help' => __( 'If enabled, article author will be shown on every post.', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_post_author', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_excerpt', array( 'label' => __( 'Excerpt', 'agama' ), 'description' => __( 'Set posts lenght on blog loop page.', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_excerpt', 'type' => 'slider', 'choices' => array( 'step' => '1', 'min' => '0', 'max' => '500' ), 'default' => '70' ) ); Kirki::add_field( 'agama_blog_readmore_url', array( 'label' => __( 'Read More', 'agama' ), 'description' => __( 'Enable read more url on blog excerpt ?', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_readmore_url', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_about_author', array( 'label' => __( 'About Author', 'agama' ), 'description' => __( 'Enable about author section below single post content ?', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_about_author', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_blog_infinite_scroll', array( 'label' => __( 'Infinite Scroll', 'agama' ), 'description' => __( 'Enable infinite scroll ?', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_infinite_scroll', 'type' => 'switch', 'default' => false ) ); Kirki::add_field( 'agama_blog_infinite_trigger', array( 'label' => __( 'Infinite Trigger', 'agama' ), 'description' => __( 'Select infinite scroll trigger.', 'agama' ), 'help' => __( 'Select how blog posts will be loading. Automaticaly or on Button click. NOTICE: Infinite scroll must be enabled first.', 'agama' ), 'section' => 'agama_blog_section', 'settings' => 'agama_blog_infinite_trigger', 'type' => 'select', 'choices' => array( 'auto' => __( 'Automatic', 'agama' ), 'button' => __( 'Button', 'agama' ) ), 'default' => 'button' ) ); ################################################################################### # STYLING ################################################################################### Kirki::add_panel( 'agama_styling_panel', array( 'title' => __( 'Styling', 'agama' ), 'description' => __( 'Styling section.', 'agama' ), 'priority' => 80 ) ); Kirki::add_section( 'background_image', array( 'title' => __( 'Background Image', 'agama' ), 'description' => __( 'Body background image.', 'agama' ), 'panel' => 'agama_styling_panel' ) ); Kirki::add_section( 'agama_styling_general_section', array( 'title' => __( 'General', 'agama' ), 'description' => __( 'General styling section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_styling_panel' ) ); Kirki::add_field( 'agama_skin', array( 'label' => __( 'Skin', 'agama' ), 'description' => __( 'Select theme skin.', 'agama' ), 'section' => 'agama_styling_general_section', 'settings' => 'agama_skin', 'type' => 'select', 'choices' => array( 'light' => __( 'Light', 'agama' ), 'dark' => __( 'Dark', 'agama' ) ), 'default' => 'light' ) ); Kirki::add_field( 'agama_primary_color', array( 'label' => __( 'Primary Color', 'agama' ), 'description' => __( 'Set theme primary color.', 'agama' ), 'section' => 'agama_styling_general_section', 'settings' => 'agama_primary_color', 'type' => 'color', 'output' => array( array( 'element' => 'a:hover, .entry-title a:hover, .entry-meta a:hover, .entry-content a:hover, .comment-content a:hover, .single-line-meta a:hover, a.comment-reply-link:hover, a.comment-edit-link:hover, article header a:hover, .comments-title span, .comment-reply-title span, .widget a:hover, .comments-link a:hover, .entry-meta a:hover, .entry-header header a:hover, footer[role="contentinfo"] a:hover', 'property' => 'color' ), array( 'element' => '.top-links > ul > li.current-menu-item, .top-links > div > ul > li.current-menu-item, .top-links > ul > li.current_page_item, .top-links > div > ul > li.current_page_item, #top-navigation > ul > li.current-menu-item, #top-navigation > ul > li.current_page_item, header#masthead nav > ul > li.current-menu-item, header#masthead nav > ul > li.current_page_item, header#masthead nav ul li ul.sub-menu, header#masthead nav > div > ul > li.current_page_item, header#masthead nav > div > ul > li.current-menu-item, header#masthead nav > div > ul > li > ul.sub-menu', 'property' => 'border-color' ), array( 'element' => 'header#masthead nav ul li ul.sub-menu li:hover', 'property' => 'border-left-color' ), array( 'element' => 'header#masthead nav ul li ul.sub-menu li ul.sub-menu li:hover', 'property' => 'border-right-color' ) ), 'default' => '#A2C605' ) ); Kirki::add_section( 'agama_styling_headers_general_section', array( 'title' => __( 'Headers', 'agama' ), 'description' => __( 'Headers general section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_styling_panel' ) ); Kirki::add_field( 'agama_header_logo_color', array( 'label' => __( 'Logo Color', 'agama' ), 'description' => __( 'Select logo color.', 'agama' ), 'tooltip' => __( 'Work\'s only with textual logo.', 'agama' ), 'section' => 'agama_styling_headers_general_section', 'settings' => 'agama_header_logo_color', 'type' => 'color', 'output' => array( array( 'element' => 'header.site-header h1 a, header.site-header .sticky-header h1 a', 'property' => 'color' ) ), 'default' => '#A2C605' ) ); Kirki::add_field( 'agama_header_logo_hover_color', array( 'label' => __( 'Logo Hover Color', 'agama' ), 'description' => __( 'Select logo hover color.', 'agama' ), 'tooltip' => __( 'Work\'s only with textual logo.', 'agama' ), 'section' => 'agama_styling_headers_general_section', 'settings' => 'agama_header_logo_hover_color', 'type' => 'color', 'output' => array( array( 'element' => 'header.site-header h1 a:hover, header.site-header .sticky-header h1 a:hover', 'property' => 'color' ), ), 'default' => '#000' ) ); Kirki::add_field( 'agama_header_bg_color', array( 'label' => __( 'Header BG Color', 'agama' ), 'description' => __( 'Select header background color.', 'agama' ), 'tooltip' => __( 'Doesn\'t work with header V1 style.', 'agama' ), 'section' => 'agama_styling_headers_general_section', 'settings' => 'agama_header_bg_color', 'alpha' => true, 'type' => 'color', 'output' => array( array( 'element' => 'header#masthead', 'property' => 'background-color' ), array( 'element' => 'header#masthead nav ul li ul', 'property' => 'background-color' ) ), 'default' => 'rgba( 255, 255, 255, 1 )' ) ); Kirki::add_field( 'agama_header_shrink_bg_color', array( 'label' => __( 'Header Shrinked BG Color', 'agama' ), 'description' => __( 'Select header shrinked background color.', 'agama' ), 'tooltip' => __( 'Work\'s only with header V1 & V3.', 'agama' ), 'section' => 'agama_styling_headers_general_section', 'settings' => 'agama_header_shrink_bg_color', 'alpha' => true, 'type' => 'color', 'output' => array( array( 'element' => 'header.shrinked .sticky-header', 'property' => 'background-color' ), array( 'element' => 'header.shrinked nav ul li ul', 'property' => 'background-color', 'suffix' => '!important' ) ), 'default' => 'rgba(255, 255, 255, .9)' ) ); Kirki::add_field( 'agama_header_border_color', array( 'label' => __( 'Header Borders Color', 'agama' ), 'description' => __( 'Select header borders color.', 'agama' ), 'section' => 'agama_styling_headers_general_section', 'settings' => 'agama_header_border_color', 'alpha' => true, 'type' => 'color', 'output' => array( array( 'element' => '#top-bar', 'property' => 'border-color' ), array( 'element' => '.main-navigation', 'property' => 'border-color' ), array( 'element' => '.sticky-nav ul li ul li, .sticky-nav li ul li', 'property' => 'border-color' ), array( 'element' => '.sticky-nav ul li ul li:last-child, .sticky-nav li ul li:last-child', 'property' => 'border-color' ) ), 'default' => 'rgba(238, 238, 238, 1)' ) ); Kirki::add_section( 'agama_styling_navigation_section', array( 'title' => __( 'Navigation', 'agama' ), 'description' => __( 'Navigation styling section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_styling_panel' ) ); Kirki::add_field( 'agama_header_nav_color', array( 'label' => __( 'Navigation Color', 'agama' ), 'description' => __( 'Set headers navigation color.', 'agama' ), 'section' => 'agama_styling_navigation_section', 'settings' => 'agama_header_nav_color', 'type' => 'color', 'output' => array( array( 'element' => 'header#masthead nav ul li a', 'property' => 'color' ) ), 'default' => '#444' ) ); Kirki::add_field( 'agama_header_nav_hover_color', array( 'label' => __( 'Navigation Hover Color', 'agama' ), 'description' => __( 'Set headers navigation hover color.', 'agama' ), 'section' => 'agama_styling_navigation_section', 'settings' => 'agama_header_nav_hover_color', 'type' => 'color', 'output' => array( array( 'element' => 'header#masthead nav ul li a:hover', 'property' => 'color' ) ), 'default' => '#000' ) ); Kirki::add_section( 'agama_styling_footer_section', array( 'title' => __( 'Footer', 'agama' ), 'description' => __( 'Footer styling section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_styling_panel' ) ); Kirki::add_field( 'agama_footer_widget_bg_color', array( 'label' => __( 'Widget Area BG Color', 'agama' ), 'description' => __( 'Set footer widget area background color.', 'agama' ), 'help' => __( 'Widget area is area above footer.', 'agama' ), 'section' => 'agama_styling_footer_section', 'settings' => 'agama_footer_widget_bg_color', 'type' => 'color', 'default' => '#314150' ) ); Kirki::add_field( 'agama_footer_bottom_bg_color', array( 'label' => __( 'Footer Area BG Color', 'agama' ), 'description' => __( 'Set footer area background color.', 'agama' ), 'section' => 'agama_styling_footer_section', 'settings' => 'agama_footer_bottom_bg_color', 'type' => 'color', 'default' => '#293744' ) ); Kirki::add_section( 'agama_custom_css_section', array( 'title' => __( 'Custom CSS', 'agama' ), 'description' => __( 'Custom css settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_styling_panel' ) ); Kirki::add_field( 'agama_custom_css', array( 'label' => __( 'Custom CSS', 'agama' ), 'description' => __( 'Add own custom css.', 'agama' ), 'section' => 'agama_custom_css_section', 'settings' => 'agama_custom_css', 'type' => 'code', 'choices' => array( 'language' => 'css', 'theme' => 'monokai', 'height' => '300' ), 'default' => '' ) ); ################################################################################### # SOCIAL ICONS ################################################################################### Kirki::add_section( 'agama_social_icons_section', array( 'title' => __( 'Social Icons', 'agama' ), 'description' => __( 'Social icons settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 90, ) ); Kirki::add_field( 'agama_top_nav_social', array( 'label' => __( 'Top Navigation', 'agama' ), 'description' => __( 'Enable social icons on top navigation ?', 'agama' ), 'help' => __( 'Works with header V2 & V3.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'agama_top_nav_social', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_footer_social', array( 'label' => __( 'Footer', 'agama' ), 'description' => __( 'Enable social icons on footer ?', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'agama_footer_social', 'type' => 'switch', 'default' => true ) ); Kirki::add_field( 'agama_social_url_target', array( 'label' => __( 'URL Target', 'agama' ), 'description' => __( 'Set social icons url target.', 'agama' ), 'help' => __( 'If "blank" selected all urls will be open in new tab.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'agama_social_url_target', 'type' => 'select', 'choices' => array( '_self' => '_self', '_blank' => '_blank' ), 'default' => '_self' ) ); Kirki::add_field( 'social_facebook', array( 'label' => __( 'Facebook URL', 'agama' ), 'description' => __( 'Set your facebook page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_facebook', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_twitter', array( 'label' => __( 'Twitter URL', 'agama' ), 'description' => __( 'Set your twitter page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_twitter', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_flickr', array( 'label' => __( 'Flickr URL', 'agama' ), 'description' => __( 'Set your flickr page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_flickr', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_rss', array( 'label' => __( 'RSS URL', 'agama' ), 'description' => __( 'Set your rss page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_rss', 'type' => 'text', 'default' => esc_url_raw( get_bloginfo('rss2_url') ) ) ); Kirki::add_field( 'social_vimeo', array( 'label' => __( 'Vimeo URL', 'agama' ), 'description' => __( 'Set your vimeo page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_vimeo', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_youtube', array( 'label' => __( 'Youtube URL', 'agama' ), 'description' => __( 'Set your youtube page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_youtube', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_instagram', array( 'label' => __( 'Instagram URL', 'agama' ), 'description' => __( 'Set your instagram page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_instagram', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_pinterest', array( 'label' => __( 'Pinterest URL', 'agama' ), 'description' => __( 'Set your pinterest page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_pinterest', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_tumblr', array( 'label' => __( 'Tumblr URL', 'agama' ), 'description' => __( 'Set your tumblr page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_tumblr', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_google', array( 'label' => __( 'Google+ URL', 'agama' ), 'description' => __( 'Set your google+ page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_google', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_dribbble', array( 'label' => __( 'Dribbble URL', 'agama' ), 'description' => __( 'Set your dribbble page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_dribbble', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_digg', array( 'label' => __( 'Digg URL', 'agama' ), 'description' => __( 'Set your digg page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_digg', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_linkedin', array( 'label' => __( 'LinkedIn URL', 'agama' ), 'description' => __( 'Set your linkedin page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_linkedin', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_blogger', array( 'label' => __( 'Blogger URL', 'agama' ), 'description' => __( 'Set your blogger page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_blogger', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_skype', array( 'label' => __( 'Skype URL', 'agama' ), 'description' => __( 'Set your skype page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_skype', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_forrst', array( 'label' => __( 'Forrst URL', 'agama' ), 'description' => __( 'Set your forrst page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_forrst', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_myspace', array( 'label' => __( 'MySpace URL', 'agama' ), 'description' => __( 'Set your myspace page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_myspace', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_deviantart', array( 'label' => __( 'Deviantart URL', 'agama' ), 'description' => __( 'Set your deviantart page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_deviantart', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_yahoo', array( 'label' => __( 'Yahoo URL', 'agama' ), 'description' => __( 'Set your yahoo page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_yahoo', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_reddit', array( 'label' => __( 'Reddit URL', 'agama' ), 'description' => __( 'Set your reddit page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_reddit', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_paypal', array( 'label' => __( 'PayPal URL', 'agama' ), 'description' => __( 'Set your paypal page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_paypal', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_dropbox', array( 'label' => __( 'Dropbox URL', 'agama' ), 'description' => __( 'Set your dropbox page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_dropbox', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_soundcloud', array( 'label' => __( 'SoundCloud URL', 'agama' ), 'description' => __( 'Set your soundcloud page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_soundcloud', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_vk', array( 'label' => __( 'VK URL', 'agama' ), 'description' => __( 'Set your vk page url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_vk', 'type' => 'text', 'default' => '' ) ); Kirki::add_field( 'social_email', array( 'label' => __( 'E-mail URL', 'agama' ), 'description' => __( 'Set your e-mail contact url.', 'agama' ), 'section' => 'agama_social_icons_section', 'settings' => 'social_email', 'type' => 'text', 'default' => '' ) ); ################################################################################### # FOOTER ################################################################################### Kirki::add_section( 'agama_footer_section', array( 'title' => __( 'Footer', 'agama' ), 'description' => __( 'Footer settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 110, ) ); Kirki::add_field( 'agama_footer_copyright', array( 'label' => __( 'Copyright', 'agama' ), 'description' => __( 'Add custom footer copyright.', 'agama' ), 'section' => 'agama_footer_section', 'settings' => 'agama_footer_copyright', 'type' => 'editor', 'default' => '' ) ); ################################################################################### # AGAMA SUPPORT ################################################################################### Kirki::add_section( 'agama_support_section', array( 'title' => __( 'Agama Support', 'agama' ), 'description' => __( 'Hey! Buy us a cofee and we shall come with new features and updates.', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 130 ) ); ################################################################################### # PRO FEATURES ################################################################################### Kirki::add_panel( 'agama_pro_panel', array( 'title' => __( 'Agama PRO Features', 'agama' ), 'description' => __( 'Agama PRO features.', 'agama' ), 'priority' => 140 ) ); Kirki::add_section( 'agama_share_icons_section', array( 'title' => __( 'Share Box', 'agama' ), 'description' => __( 'Share box settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_pro_panel' ) ); Kirki::add_section( 'agama_typography_section', array( 'title' => __( 'Typography', 'agama' ), 'description' => __( 'Typography settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_pro_panel' ) ); Kirki::add_section( 'agama_lightbox_section', array( 'title' => __( 'Lightbox', 'agama' ), 'description' => __( 'Lightbox settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_pro_panel' ) ); Kirki::add_section( 'agama_woocommerce_section', array( 'title' => __( 'WooCommerce', 'agama' ), 'description' => __( 'WooCommerce settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_pro_panel' ) ); Kirki::add_section( 'agama_contact_section', array( 'title' => __( 'Contact', 'agama' ), 'description' => __( 'Contact settings section.', 'agama' ), 'capability' => 'edit_theme_options', 'panel' => 'agama_pro_panel' ) ); ################################################################################### # WordPress Options ################################################################################### Kirki::add_section( 'title_tagline', array( 'title' => __( 'Site Identity', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 200 ) ); Kirki::add_panel( 'nav_menus', array( 'title' => __( 'Menus', 'agama' ), 'priority' => 210 ) ); Kirki::add_section( 'static_front_page', array( 'title' => __( 'Static Front Page', 'agama' ), 'capability' => 'edit_theme_options', 'priority' => 230 ) ); Kirki::add_panel( 'widgets', array( 'title' => __( 'Widgets', 'agama' ), 'priority' => 240 ) ); /** * Implement Theme Customizer additions and adjustments. * * @since Agama v1.0.7 * */ function agama_customize_support_register($wp_customize){ class Agama_Customize_Agama_Support extends WP_Customize_Control { public function render_content() { ?>