__("Main navigation bar", 'bizflow'), 'mobile' => __("Mobile menu", 'bizflow'), 'secondary' => __("Secondary navigation bar", 'bizflow') ) ); } add_action('init', 'bizflow_setup'); } if (!function_exists('bizflow_support')) { function bizflow_support() { $GLOBALS['content_width'] = 1280; load_theme_textdomain('bizflow'); add_theme_support('automatic-feed-links'); add_theme_support("title-tag"); add_theme_support('html5'); add_theme_support('post-thumbnails'); add_theme_support('woocommerce'); add_theme_support( 'wp-block-styles' ); add_editor_style(BIZFLOW_URL . '/assets/css/style-editor.css'); } add_action('after_setup_theme', 'bizflow_support'); } if(!function_exists('bizflow_editor_style')){ function bizflow_editor_style(){ wp_enqueue_style( BIZFLOW . 'editor_style', BIZFLOW_URL . '/assets/css/style-editor.css', false, BIZFLOW_VERSION, 'all' ); } add_action('enqueue_block_editor_assets', 'bizflow_editor_style'); } if (!function_exists('bizflow_style')) { function bizflow_style() { wp_register_style(BIZFLOW . 'jasny_bootstrap', BIZFLOW_URL . '/assets/js/jasny-bootstrap/css/jasny-bootstrap.min.css'); wp_enqueue_style(BIZFLOW . 'jasny_bootstrap'); wp_register_script(BIZFLOW . 'jasny_bootstrap', BIZFLOW_URL . '/assets/js/jasny-bootstrap/js/jasny-bootstrap.min.js', array('jquery')); wp_enqueue_script(BIZFLOW . 'jasny_bootstrap'); wp_register_script(BIZFLOW . 'frontend', BIZFLOW_URL . '/assets/js/frontend.js', array('jquery'), BIZFLOW_VERSION); wp_enqueue_script(BIZFLOW . 'frontend'); wp_register_style(BIZFLOW . 'generated_style', BIZFLOW_URL . '/assets/css/stylesheet.css', array(), BIZFLOW_VERSION); wp_enqueue_style(BIZFLOW . 'generated_style'); wp_register_style(BIZFLOW . 'main_style', BIZFLOW_URL . '/style.css', array(), BIZFLOW_VERSION); wp_enqueue_style(BIZFLOW . 'main_style'); if (is_singular()) { wp_enqueue_script("comment-reply"); } } add_action('wp_enqueue_scripts', 'bizflow_style'); } if (!function_exists('bizflow_admin_style')) { function bizflow_admin_style() { wp_register_style('bizflow-admin-style', BIZFLOW_URL . '/assets/css/admin-style.css', array(), BIZFLOW_VERSION); } add_action('admin_enqueue_scripts', 'bizflow_admin_style', 9); } // Includes customization options for admin require_once BIZFLOW_PATH . 'inc/customize.php'; // Includes widget functions require_once BIZFLOW_PATH . 'inc/widgets.php'; //Includes helper functions require_once BIZFLOW_PATH . '/inc/functions/helpers.php'; // Includes functions used throughout the template files require_once BIZFLOW_PATH . '/inc/functions/template-functions.php'; //Includes Breadcrumbs require_once BIZFLOW_PATH . 'inc/breadcrumb.php'; //Includes action hooks and filter functions require_once BIZFLOW_PATH . 'inc/hooks.php'; //Includes metabox functions require_once BIZFLOW_PATH . '/inc/meta/posts-meta.php';