logo carre@4x

Avec les dernières versions d’Astra & Astra Pro, megamenu ne prend en charge que les menus primaires, secondaires et menu-3. Voici une solution pour contourner le problème et avoir sur votre front-end, des megamenus pour tous les menus que vous souhaitez.

add_filter( 'astra_nav_mega_menu_support', 'custom_megamenu_support', 10, 1 );
function custom_megamenu_support( $nav_menus ) {
	$nav_menus[] = 'menu_custom';
	$nav_menus[] = 'menu_private';
	return $nav_menus;
}

Search

About

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book.

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Tags

There’s no content to show here yet.

Gallery