', 'media="none" onload="if(media!=\'all\')media=\'all\'">', $tag); } return $tag; } add_filter('style_loader_tag', 'bny_css_async'); //Nav Menu custom class --------------- class bny_nav_walker extends Walker_Nav_Menu { function start_lvl(&$output, $depth = 0, $args = array()) { $output .= '
'; } } //Sidebar Widget ------------- if (!function_exists('bonyo_widgets_init')): function bonyo_widgets_init() { register_sidebar(array( 'name' => esc_html__('Sidebar', 'bonyo'), 'id' => 'sidebar-1', 'description' => esc_html__('Add widgets here.', 'bonyo'), 'before_widget' => '', 'before_title' => '