link()); $bug_blog_social_links = bug_blog_social_links(); ?> 10, 'title' => __('Contact & Social', 'bug-blog'), //'description' => __( '', 'bug-blog' ), ));; Kirki::add_section('bug_blog_social', array( 'title' => __('Social Profile Links', 'bug-blog'), 'description' => __('Social media site profile links.', 'bug-blog'), 'panel' => 'bug_blog_contact', // Not typically needed. 'priority' => 160, 'capability' => 'edit_theme_options', 'theme_supports' => '', // Rarely needed. )); Kirki::add_field('bug_blog_social_links', array( 'type' => 'repeater', 'label' => esc_attr__('Social Profile Links', 'bug-blog'), 'section' => 'bug_blog_social', 'priority' => 10, 'row_label' => array( 'type' => 'text', 'value' => esc_attr__('Social link', 'bug-blog'), ), 'settings' => 'bug_blog_social_links', 'default' => array( bug_blog_social_links() ), 'fields' => array( 'link_icon' => array( 'type' => 'textarea', 'label' => esc_attr__('Link Icon', 'bug-blog'), 'description' => esc_attr__('This will be the icon for your link, use font awesome icons. ', 'bug-blog'), 'default' => '', 'sanitize_callback' => 'wp_kses_post' ), 'link_url' => array( 'type' => 'link', 'label' => esc_attr__('Link URL', 'bug-blog'), 'description' => esc_attr__('This will be the link URL', 'bug-blog'), 'default' => '', ), ) ));