add_theme_support bug
By Semih Memiş, 9 years ago. Last reply by Semih Memiş, 9 years ago
Hi, I can not activate PageBuilder editor on “mycustom” post type and not set “margin-bottom” in settings page with this code in functions.php. I’m using version 2.3.2 add_action( ‘after_setup_theme’, myfn ); function myfn(){ add_theme_support( ‘siteorigin-panels’, array( ‘tablet-layout’ => true, ‘tablet-width’ => 640, ‘margin-bottom’ => 0, ‘post-types’ => array( ‘post’, ‘paget’, ‘mycustom’ ), ) ); }…