Shortcode_Button
Shortcode_Button copied to clipboard
Tinymce and Quicktag buttons for outputting shortcodes. Built to work with CMB2.
Checks if data.value is an array and converts to JSON string before being processed by data.value.replace (string only function).
I have a CMB2 field that looks like: ```php $fields[] = array( 'name' => __( 'Resource Type', 'gc-sermons' ), 'desc' => __( 'Select the type of resource to display.', 'gc-sermons'...
When I try to add a second button, the WYSIWYG editor on the second modal disables the visual mode, has transparent type, and the buttons are missing. I tried calling...
`function shortcode_button_cmb_config( $button_data ) { return array( 'id' => 'shortcode_' . $button_data[ 'slug' ], 'fields' => array( array( 'name' => 'Başlık', 'id' => 'baslik', 'type' => 'text', ), array( 'name'...
The ThemeFuse Unyson framework has a shortcode modal like this image below. 1. Click editor button 2. Popover is shown (like image below) which allows you to click on a...
Button is not showing up in a repeatable group field with a WYSIWYG sub field.
 The config could be something like: ``` 'parent_slugs' => array( 'parent_shorcode_slug' ), ```
Hi! Can I have textarea or simply text input fields for shortcode contents instead of wysiwyg type by default? And is there a way to add a media button above...
When I use the file field type, I get the shortcode with id and id_id like: `[inlayimage id="http://test.dev/wp-content/uploads/4618102_large.jpg" id_id="1017"][/inlayimage]` In case of file_list it puts it as an array: `[inlayimages...
Currently on an old version due to the newest not working for me but does this work for the `taxonomy_select` field? The verison I'm using doesn't add an argument for...