Skip to content

thanks-to-it/wp-fontawesome-iconpicker-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-fontawesome-iconpicker-control

FontAwesome IconPicker for WordPress Customizer

Installation

Composer

{ 
  "repositories": [    
    {
      "type": "vcs",
      "url": "https://github.com/thanks-to-it/wp-fontawesome-iconpicker-control"
    },
  ],
  "require": {
      "thanks-to-it/wp-fontawesome-iconpicker-control": "dev-master"
  }
}

Usage

$section = $wp_customize->add_section( 'Section', array(
	'title'       => __( 'My Section' ),
	'description' => __( 'My Description' ),	
	'panel'       => 'prefix_mypanel',
) );

$wp_customize->add_control( new \ThanksToIT\WPFAIPC\IconPicker_Control(
	$wp_customize,
	'ttt_pnwc_success_icon',
	array(
		'label'    => __( 'Icon Class' ),
		'section'  => $section->id,
		'settings' => $setting->id,
		'options'  => array( 'placement' => 'bottom' )
	)
) );

About

FontAwesome IconPicker for WordPress Customizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published