Cool-Shortcode icon indicating copy to clipboard operation
Cool-Shortcode copied to clipboard

How to install the plugin?

Open lcarradas opened this issue 9 years ago • 2 comments

lcarradas avatar Jun 28 '16 19:06 lcarradas

This is not really a real plugin but more an example of building a plugin using the WDS-Shortcodes and Shortcode_Button libraries.

jtsternberg avatar Jun 28 '16 19:06 jtsternberg

I'm using sage theme. I have the CMB2 out of the plugins folder. I put the CMB2 inside of the folder theme/admin/cmb2. I'm using the CMB2grid and other other resources. But with Shortcode_Button i've some errors like, Fatal error: Class 'Shortcode_Button' not found on line 48 $button = new Shortcode_Button( $button_slug, $js_button_data, $additional_args );

I comment the line 4, because I call all the library's in functions.php

Thanks

lcarradas avatar Jun 28 '16 21:06 lcarradas