[FW2.0] Increase the Main nav Depth for showing more submenus

Add the following code into the wp-content/themes/[theme-name]/functions.php at the end of the file.

function yit_yit_main_nav_depth( $depth ) {
   $depth = 4;
   return $depth;
}
add_filter( 'yit_main_nav_depth', 'yit_yit_main_nav_depth' );

Theme Support: All themes with the Yit Framework 2.0, right now: Nielsen, Regency, Mindig and Bishop

Was this article helpful?
2 out of 2 found this helpful

Back to Help Center

Powered by Zendesk