jcchavezs / cmb2-conditionals

Plugin to relate fields in a CMB2 metabox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activate without using plugins

K15Lmk98 opened this issue · comments

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_