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

Activate without using plugins #52

Open
K15Lmk98 opened this issue Jan 6, 2018 · 0 comments
Open

Activate without using plugins #52

K15Lmk98 opened this issue Jan 6, 2018 · 0 comments

Comments

@K15Lmk98
Copy link

K15Lmk98 commented Jan 6, 2018

Sorry, this is an automatic translation.

WP 4.9.1 - Cmb2 2.3.0 - Genesis Framework 2.5.3 (child theme)

If loading cmb2-conditionals as a plugin it works perfectly.

But if I try to load it as a script it will not activate. In functions.php:
require_once( 'vendor/cmb2/cmb2-conditionals/cmb2-conditionals.php');

It's possible to do it?

Thanks, Claudio_

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

1 participant