jcchavezs / cmb2-conditionals

Plugin to relate fields in a CMB2 metabox
GNU General Public License v2.0
86 stars 61 forks source link

Activate without using plugins #52

Open K15Lmk98 opened 6 years ago

K15Lmk98 commented 6 years ago

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_