anderly / piklist-field-addons

Piklist Field Addons
8 stars 1 forks source link

Not working #2

Open prasenjithaty opened 10 years ago

prasenjithaty commented 10 years ago

Hi,

Even after installing your plugin, and defining the field type to select2, I am seeing the usual select field. Is it incompatible with the latest version of Wordpress and Piklist?

piklist( 'field', array(
    'type'     => 'select2',
    'field'    => 'books',
    'label'    => __( 'Books' ),
    'value'    => '',
    'columns'  => 12,
    'choices'  => piklist(
        get_terms( 'book', array(
            'hide_empty' => false
        ) ),
        array(
            'term_id',
            'name'
        )
    ),
    'options'  => array(
        'allowClear'  => true,
        'placeholder' => 'Select Books',
        'width'       => '200px'
    )
) );
anderly commented 10 years ago

Actually, I have not tested it with the latest version of Piklist. This plugin was from a very early version of Piklist.

prasenjithaty commented 10 years ago

So should I understand that this plugin is abandoned?