Bläddra i källkod

Removes footer menu.

Jeffrey Pearce 6 år sedan
förälder
incheckning
0b81d04e2e
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      stratford/functions.php

+ 2 - 0
stratford/functions.php

@@ -99,6 +99,8 @@ if ( ! function_exists( 'stratford_setup' ) ) :
 				),
 				),
 			)
 			)
 		);
 		);
+		// Remove footer menu
+		unregister_nav_menu( 'menu-2' );
 	}
 	}
 endif;
 endif;
 add_action( 'after_setup_theme', 'stratford_setup', 12 );
 add_action( 'after_setup_theme', 'stratford_setup', 12 );