diff --git a/components/navbar-pages.php b/components/navbar-pages.php index 8bf2c33..c6b5adc 100644 --- a/components/navbar-pages.php +++ b/components/navbar-pages.php @@ -9,7 +9,16 @@ if ($category->slug == "blog") { echo '' . $category->name . ''; } - }?> + } + $pages = get_pages(); + if ( $pages ) { + foreach( $pages as $page ) { + if ($page->post_name != "home") { + echo ''. $page->post_title .''; + } + } + }?> +