Home Forums WoodMart support forum WoodMart templates library

WoodMart templates library

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #230931

    WoodyP
    Participant

    Hello,
    how can i disable the display of “WoodMart templates library” in WpBakery?
    I would like to deactivate it for some parts or for all.

    Thank you

    #231045

    Hello,

    There is no option to disable it partially, it can be disabled globally.

    Best Regards

    #231052

    WoodyP
    Participant

    OK.
    Where is the global setting, I can’t find it

    Thank you

    #231285

    Hello,

    Please add this code to the functions.php of the child theme:

    function woodmart_load_classes() {
    	$classes = array(
    		'Singleton.php',
    		'Ajaxresponse.php',
    		'Api.php',
    		'Cssgenerator.php',
    		'Googlefonts.php',
    		'Import.php',
    		'Importversion.php',
    		'Layout.php',
    		'License.php',
    		'Notices.php',
    		'Options.php',
    		'Stylesstorege.php',
    		'Theme.php',
    		'Themesettingscss.php',
    		'Wpbcssgenerator.php',
    		'Registry.php',
    	);
    	foreach ( $classes as $class ) {
    		$file_name = WOODMART_CLASSES . DIRECTORY_SEPARATOR . $class;
    		if ( file_exists( $file_name ) ) {
    			require $file_name;
    		}
    	}
    }

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)