WP Manifestindependent plugin directory
manifest / content / cmb2_rgba_picker

CMB2 RGBa Colorpicker

A RGBa Colorpicker for CMB2

★ 15stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/jaywood/cmb2_rgba_picker/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A RGBa colorpicker for CMB2, I couldn't find one, so I made this plugin, that is all.

Big thanks to 23r9io for the JS.

Usage

array(
    'name'    => __( 'RGBa Colorpicker', 'cmb2' ),
    'desc'    => __( 'Field description (optional)', 'cmb2' ),
    'id'   => $prefix . 'test_colorpicker',
    'type' => 'rgba_colorpicker',
    'default'  => '#ffffff',
),

Changelog

0.2.0

  • Fixes #2 - Repeatable groups fix thanks to leolweb

0.1.0

  • Initial Commit