icon ) ) ? ' hidden' : ''; $icon = ( ! empty( $item->icon ) ) ? ' class="' . themeoo_icon_class( $item->icon ) . '"' : ''; $highlights = array( 'info' => __( 'Info', 'ayyash' ), 'success' => __( 'Success', 'ayyash' ), 'warning' => __( 'Warning', 'ayyash' ), 'danger' => __( 'Danger', 'ayyash' ), ); $mega_width = array( 'natural' => __( 'Natural Width', 'ayyash' ), 'custom' => __( 'Custom Width', 'ayyash' ), ); $column_width = array( 'col-md-1' => '1 Col', 'col-md-2' => '2 Col', 'col-md-3' => '3 Col', 'col-md-4' => '4 Col', 'col-md-5' => '5 Col', 'col-md-6' => '6 Col (half)', 'col-md-7' => '7 Col', 'col-md-8' => '8 Col', 'col-md-9' => '9 Col', 'col-md-10' => '10 Col', 'col-md-11' => '11 Col', 'col-md-12' => '12 Col (full-width)', ); ?>
' . esc_html__( 'Mega Menu', 'ayyash' ) . ''; $out .= '' . esc_html__( 'Column', 'ayyash' ) . ''; echo wp_kses_post( $out ); } /** * * Custom Menu Args * * @param array $args menu args. * * @return array */ public function wp_nav_menu_args( $args ) { $location = $args['theme_location']; if ( ( 'primary' == $location || 'right' == $location ) && ! isset( $args['mobile'] ) ) { $args['container'] = false; $args['menu_class'] = 'main-navigation sf-menu'; $args['walker'] = new Themeoo_Walker_Nav_Menu_Custom(); } elseif ( isset( $args['mobile'] ) || 'mobile' == $location ) { $args['after'] = '