30118', true ); wp_enqueue_script( 'smartmenus.js', get_template_directory_uri() . '/includes/smartmenus/jquery.smartmenus.js', array(), '20130121', true ); wp_localize_script( 'hood-script', 'hood_ajax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ))); } add_action( 'wp_enqueue_scripts', 'hood_theme_scripts' ); // Woocommerce add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10); add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10); function my_theme_wrapper_start() { echo '
'; } function my_theme_wrapper_end() { echo '
'; } add_action( 'after_setup_theme', 'woocommerce_support' ); function woocommerce_support() { add_theme_support( 'woocommerce' ); } /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function hood_admin_scripts_styles() { wp_enqueue_script( 'hood-admin', get_template_directory_uri() . '/includes/custom-menu/js/admin-scripts.js', array('jquery'), '', true); wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_script( 'wp-color-picker' ); wp_enqueue_script( 'jquery-ui-spinner' ); wp_enqueue_script( 'jquery-ui-sortable' ); wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_style( 'thickbox' ); wp_enqueue_script( 'thickbox' ); wp_enqueue_media(); return; } add_action('admin_enqueue_scripts','hood_admin_scripts_styles'); function hood_theme_content_width() { $GLOBALS['content_width'] = apply_filters( 'hood_theme_content_width', 640 ); } add_action( 'after_setup_theme', 'hood_theme_content_width', 0 ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function hood_theme_widgets_init_first() { register_sidebar( array( 'name' => esc_html__( 'Default Sidebar', 'hood-theme' ), 'id' => 'default_sidebar', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Product Category Sidebar', 'hood-theme' ), 'id' => 'product_category_sidebar', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Product Detail Sidebar', 'hood-theme' ), 'id' => 'product_detail_sidebar', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Blog Sidebar', 'hood-theme' ), 'id' => 'blog_sidebar', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Copyright', 'hood-theme' ), 'id' => 'footer_copy', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 1', 'hood-theme' ), 'id' => 'footer_1', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 2', 'hood-theme' ), 'id' => 'footer_2', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 3', 'hood-theme' ), 'id' => 'footer_3', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 4', 'hood-theme' ), 'id' => 'footer_4', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', ) ); } add_action( 'widgets_init', 'hood_theme_widgets_init_first' ); /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom breadcrumbs */ require get_template_directory() . '/inc/breadcrumbs.php'; /** * Get Theme Functions */ require get_template_directory() . '/inc/hood-functions.php'; require get_template_directory() . '/includes/custom-menu/custom-menu.php'; require get_template_directory() . '/inc/plugins/tgm-init.php'; function hood_include_files($path) { $files = glob( $path ); if ( ! empty( $files ) ) { foreach ( $files as $file ) { include $file; } } }

Fatal error: Uncaught Error: Call to undefined function hood_mobile_menu() in /home/customer/www/eptaxlaw.com/public_html/wp-content/themes/hood-theme/template-parts/mobile-header.php:29 Stack trace: #0 /home/customer/www/eptaxlaw.com/public_html/wp-includes/template.php(792): require() #1 /home/customer/www/eptaxlaw.com/public_html/wp-includes/template.php(725): load_template('/home/customer/...', false, Array) #2 /home/customer/www/eptaxlaw.com/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home/customer/www/eptaxlaw.com/public_html/wp-content/themes/hood-theme/template-parts/header.php(17): get_template_part('template-parts/...') #4 /home/customer/www/eptaxlaw.com/public_html/wp-includes/template.php(792): require('/home/customer/...') #5 /home/customer/www/eptaxlaw.com/public_html/wp-includes/template.php(725): load_template('/home/customer/...', false, Array) #6 /home/customer/www/eptaxlaw.com/public_html/wp-includes/general-template.php(206): locate_template(Array, in /home/customer/www/eptaxlaw.com/public_html/wp-content/themes/hood-theme/template-parts/mobile-header.php on line 29