Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install the plugin? #1

Open
lcarradas opened this issue Jun 28, 2016 · 2 comments
Open

How to install the plugin? #1

lcarradas opened this issue Jun 28, 2016 · 2 comments

Comments

@lcarradas
Copy link

No description provided.

@jtsternberg
Copy link
Owner

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

@lcarradas
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants