CMB2-Snippet-Library
CMB2-Snippet-Library copied to clipboard
CMB2 Code Snippet Library
Hi @jtsternberg I tried to set up follow cmb2 widget snippet (just copy and run). But error Javascript appear when i click button Add or Upload File:: `Uncaught Error: Syntax...
I think there is an issue with this snippet, and perhaps more specifically with the below part. Under certain conditions, the Row Numbers get off. One replicatable condition is if...
This is an automatic translation. Hello, Url: CMB2-Snippet-Library/javascript/limit-number-of-repeat-groups.php I report that the CMB2-Snippet-Library/javascript/limit-number-of-repeat-groups.php script currently generates an error. By executing an alert: alert("fieldGroupTable = " + fieldGroupTable); I get the...
I tried to set up a this field using the cmb2 widget snippet without luck to get it working The field definition is: ```php array( 'name' => 'Test', 'type' =>...
I followed this example: https://github.com/WebDevStudios/CMB2/wiki/Adding-your-own-field-types#example-4-multiple-inputs-one-field-lets-create-an-address-field Everything works fine until I change type of 'state' field from ``select`` to ``multicheck``. ### Expected Behavior: Change select dropdown to multicheck checkboxes. ### Actual...
@jtsternberg A few days ago I ran into the need to get this working in this commit - https://github.com/WebDevStudios/CMB2-Snippet-Library/commit/8cd6c298c7a31629c1c2f0902b0178f5f9b3ee2e Obviously manage_options was too high, but upload_files is all that's really...
Hi guys! Is there any way to set autoload parameter for created option to false? Reference: https://codex.wordpress.org/Function_Reference/add_option
Scenario: User has the repeatable address fields in a plugin or theme like so: https://gist.github.com/DevinWalker/4cfbc188b23e6e63bdcc When saving the field a new group is created after every save: Example 1: ![7-29-2015...
I've noticed with the address field type, if the values are empty, the array keys are still added _IF_ the field type is set to repeatable in the metabox. This...