Ver código fonte

Custom menu location added

Md Mozahidur Rahman 1 ano atrás
pai
commit
1d32b8fd38
2 arquivos alterados com 14 adições e 1 exclusões
  1. 1 1
      archive-faculty.php
  2. 13 0
      functions.php

+ 1 - 1
archive-faculty.php

@@ -35,7 +35,7 @@ get_header();
 					<div class="main-title">Faculty Members</div>
 
 					<div class="short-details">
-						As a graduate you will have access to all University of London alumni services.
+						As a graduate you will have access to all United International University faculty  members
 					</div>
 
 					<div class="links">

+ 13 - 0
functions.php

@@ -166,6 +166,19 @@ function uiu_cse_scripts()
 }
 add_action('wp_enqueue_scripts', 'uiu_cse_scripts');
 
+
+function uiu_cse_header_menu()
+{
+	register_nav_menus(
+		array(
+			'uiu-header-menu' => __('UIU Header Menu'),
+			'cse-header-menu' => __('CSE Header Menu'),
+			'uiu-footer-menu' => __('UIU Footer Menu')
+		)
+	);
+}
+add_action('init', 'uiu_cse_header_menu');
+
 /**
  * Implement the Custom Header feature.
  */