Skip to content

Instantly share code, notes, and snippets.

@hasanTheBest
Last active February 13, 2019 06:00
Show Gist options
  • Save hasanTheBest/c13bd223bed5bb6a6563733358f7fce7 to your computer and use it in GitHub Desktop.
Save hasanTheBest/c13bd223bed5bb6a6563733358f7fce7 to your computer and use it in GitHub Desktop.
Add font awesome field for the WordPress customizer framework kirki
Kirki::add_field( 'gangster_demo', array(
'type' => 'fontawesome',
'settings' => 'fontawesome_setting',
'label' => esc_attr__( 'Font Awesome Control', 'kirki' ),
'description' => esc_attr__( 'Description Here.', 'kirki' ),
'section' => 'left_section',
'default' => 'bath',
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment