diff --git a/404.php b/404.php
index 4305675..6053940 100755
--- a/404.php
+++ b/404.php
@@ -19,7 +19,25 @@
-
+
+
+
+
+
+ '404',
+ 'container' => false,
+ 'items_wrap' => '%3$s',
+ 'depth' => 1,
+ 'fallback_cb' => false
+ );
+ wp_nav_menu( $defaults );
+ }
+ ?>
+
+
diff --git a/content-az.php b/content-az.php
index 62a82f7..8138a95 100644
--- a/content-az.php
+++ b/content-az.php
@@ -26,58 +26,72 @@
- post_title);
- $char = $title{0};
- if( !(is_numeric($char)) && !in_array($char, $letters) ){
- array_push($letters, $char);
- }
- }
- return $letters;
- }
-
- // Generate AZ Navigation
- echo '
';
-
- // Generate AZ List
- $pages = get_pages(array('sort_order' => 'asc', 'sort_column' => 'post_title', 'hierarchical' => false, 'exclude' => $exclude));
- if( !preg_match($pattern, $exclude, $matches) ){
- $letters = array();
- echo '
';
- foreach( (array) $pages as $pg ){
- $title = ucwords($pg->post_title);
- $char = $title{0};
- if( !( is_numeric($char) || empty($char) ) ){
- if( $char != end($letters) && !empty($letters) ){
- echo ' ';
- }
- if( !in_array($char, $letters) ){
- echo ''.$char.'
';
- array_push($letters, $char);
- }
- echo '- '.$title.'
';
- }
- }
- echo '
';
- } else {
- echo 'Invalid input in field: "exclude"
';
- }
- ?>
-
-