CMB2 not showing on object type
-
I downloaded the CMB2 from Github and uploaded it to plugins. The structure became wp-content/plugins/cmb2/
After activating it, it said it has an update, I updated it.
I then copied example-functions.php, filtered what I needed and created functions.php in cmb2 directory and pasted the filtered code there.
But it just does not show on ‘page’.
I tried adding and removing following code as well, but that too didn’t help.
if ( file_exists( dirname( __FILE__ ) . '/cmb2/init.php' ) ) { require_once dirname( __FILE__ ) . '/cmb2/init.php'; } elseif ( file_exists( dirname( __FILE__ ) . '/CMB2/init.php' ) ) { require_once dirname( __FILE__ ) . '/CMB2/init.php'; }
PS. Am on latest WP version and Genesis 2.2
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘CMB2 not showing on object type’ is closed to new replies.