2017 © Pedro Peláez
 

wordpress-plugin icon-picker

Pick an icon of your choice.

image

kucrut/icon-picker

Pick an icon of your choice.

  • Saturday, February 4, 2017
  • by kucrut
  • Repository
  • 0 Watchers
  • 14 Stars
  • 252 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 4 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Icon Picker

Pick an icon of your choice., (*1)

Contributors: kucrut
Tags: icons, image, svg
Requires at least: 4.3
Tested up to: 4.7.2
Stable tag: 0.5.0
License: GPLv2
Donate Link: http://kucrut.org/#coffee, (*2)

Build Status Built with Grunt, (*3)

Description

An icon picker library plugin., (*4)

Screenshots

Icon selector

Icon selector, (*5)

Icon fields in a post meta box using CMB

Icon fields in a post meta box using [CMB](https://github.com/humanmade/Custom-Meta-Boxes/), (*6)

Frequently Asked Questions

How do I use css file from CDN?

You can use the icon_picker_icon_type_stylesheet_uri filter, eg:, (*7)

/**
 * Load Font Awesome's CSS from CDN
 *
 * @param  string                $stylesheet_uri Icon type's stylesheet URI.
 * @param  string                $icon_type_id   Icon type's ID.
 * @param  Icon_Picker_Type_Font $icon_type      Icon type's instance.
 *
 * @return string
 */
function myprefix_font_awesome_css_from_cdn( $stylesheet_uri, $icon_type_id, $icon_type ) {
    if ( 'fa' === $icon_type_id ) {
        $stylesheet_uri = sprintf(
            'https://maxcdn.bootstrapcdn.com/font-awesome/%s/css/font-awesome.min.css',
            $icon_type->version
        );
    }

    return $stylesheet_uri;
}
add_filter( 'icon_picker_icon_type_stylesheet_uri', 'myprefix_font_awesome_css_from_cdn', 10, 3 );

Changelog

0.5.0

0.4.1

  • Improve support for CMB: Make the field usable in a repeatable field.

0.4.0

  • Introduce icon_picker_icon_type_stylesheet_uri filter hook.
  • Font Awesome 4.6.1

0.3.0

  • Fix CSS classname conflicts.

0.2.0

  • Introduce icon_picker_field().
  • Add support for CMB.

0.1.1

0.1.0

  • Initial

The Versions

04/02 2017

dev-master

9999999-dev https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

04/02 2017

dev-develop

dev-develop https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

04/02 2017

v0.5.0

0.5.0.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

27/04 2016

v0.4.0

0.4.0.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

29/03 2016

0.3.0

0.3.0.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

20/11 2015

v0.2.0

0.2.0.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

17/11 2015

v0.1.1

0.1.1.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons

16/11 2015

v0.1.0

0.1.0.0 https://github.com/kucrut/wp-icon-picker

Pick an icon of your choice.

  Sources   Download

GPL-2.0

The Requires

 

plugin wordpress icons font-awesome genericons dashicons elusive foundation-icons