UCF / WP-Shortcode-Interface

Creates a shortcode interface that provides a form for inserting and updating shortcodes.
0 stars 0 forks source link

Shortcode interface - shortcode options of type 'checkbox' are added to all shortcodes #6

Closed cjg89 closed 7 years ago

cjg89 commented 7 years ago

Whenever I add a new shortcode using the shortcode interface, fields from other shortcodes will populate into the generated shortcode if the field type is 'checkbox'.

For example, between two available shortcodes: [foo] with text field name, and [bar] with checkbox field is_enabled, If I insert the shortcode [foo] into the wysiwyg, the resulting shortcode looks like: [foo name="..." is_enabled="false"].