From d84c7efad508d6e9153eff6b820ea0345ba5a4bd Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 12 Jan 2016 14:32:08 -0500 Subject: [PATCH] restricted dropdown need to fix link --- index.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 138ab36..5e66988 100644 --- a/index.php +++ b/index.php @@ -483,23 +483,20 @@ function michsci_get_terms_dropdown($cat_id) $taxonomyName = MICHSCI_CATEGORY_NAME; if($cat_id){ - $main = get_term($cat_id, MICHSCI_CATEGORY_NAME); $cats_child = get_term_children($cat_id, $taxonomyName); - $output =""; foreach($cats_child as $cat){ - echo $cat . " "; $output .= ''; + $output .= '>' . "   " . $catName->name. ''; } $output .=""; } else { - $parent_terms = get_terms($taxonomyName, array('parent' => 0, 'orderby' => 'name', 'hide_empty' => false)); $output ="