From: Anthony Talarico Date: Tue, 19 Jan 2016 21:46:25 +0000 (-0500) Subject: added additional sub cat drop down space X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=67bd75a208aebfd9f2261b017f6059c91115d216;p=WP-Plugins%2Fmichsci-products.git added additional sub cat drop down space --- diff --git a/index.php b/index.php index 5d68dfc..63bb1eb 100644 --- a/index.php +++ b/index.php @@ -511,7 +511,7 @@ function michsci_get_terms_dropdown($cat_id) } $output .= '>' . $parent->name . ''; foreach($child_terms as $child){ - $grandchildren = get_terms($taxonomyName, array( 'child_of' => $child->term_id, 'orderby' => 'name', 'hide_empty' => false)); + $grandchildren = get_terms($taxonomyName, array('parent'=> $child->term_id, 'child_of' => $child->term_id, 'orderby' => 'name', 'hide_empty' => false)); $output .= '