From b0a664a3b9c3bf1ec20f4cc776ca83466853825e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 17 Mar 2016 17:25:19 +0100 Subject: [PATCH] add an All link to category nav --- template-blogheader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template-blogheader.php b/template-blogheader.php index 8ceb16b..2af3e65 100644 --- a/template-blogheader.php +++ b/template-blogheader.php @@ -42,6 +42,8 @@ require 'controller/init.php'; $args = array( 'hide_empty' => 0 ); + echo "
  • All
  • "; + foreach((get_categories($args)) as $category) { if ($category->cat_name != 'Uncategorized') { echo '
  • name ) . '" ' . '>' . $category->name.'
  • ';