CMB2 Field Type: Visual Style Editor
CMB2 field type to setup style from small set of controls.
by Tsunoa · github.com/rubengc/cmb2-field-visual-style-editor · website
★ 14stars
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/rubengc/cmb2-field-visual-style-editor/archive/refs/heads/master.zipDeclares an update source (https://github.com/rubengc/cmb2-field-visual-style-editor), so updates arrive through the plugin's own updater.
From the readme
CMB2 Field Type: Visual Style Editor
Custom field for CMB2 setup style from small set of controls.
Examples
Parameters
- hidemargin (bool, default = false): Hide margin inputs square
- hideborder (bool, default = false): Hide border inputs square
- hidepadding (bool, default = false): Hide padding inputs square
- hidetextoptions (bool, default = false): Hide text color option
- hidebackgroundoptions (bool, default = false): Hide background color option
- hideborderoptions (bool, default = false): Hide border color, style and radius options
Retrieve the field value
Changelog
1.0.0
Initial commit