From b7e507db1a113bec90493b3adaea8e935aec9d7e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 18 Dec 2015 12:06:33 -0500 Subject: [PATCH] changed button positions and added menu icon --- index.php | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/index.php b/index.php index ad5688f..32d11fc 100644 --- a/index.php +++ b/index.php @@ -171,10 +171,11 @@ function michsci_shortcode($atts) extract( shortcode_atts( array( 'limit' => '10' ), $atts ) ); ob_start(); - echo '
'; + echo '
+
'; + echo michsci_get_terms_dropdown(); - - echo '
'; + echo '
'; echo '
'; if ( $product_id = filter_var( $_REQUEST['product'], FILTER_VALIDATE_INT ) ) { @@ -193,31 +194,15 @@ function michsci_shortcode($atts) function michsci_get_terms_dropdown() { + + $taxonomyName = "michsci_category"; - $parent_terms = get_terms($taxonomyName, array('parent' => 0, 'orderby' => 'name', 'hide_empty' => false)); -// -// -// $myterms = get_terms('michsci_category', array( -// 'orderby' => 'id', -// 'hierarchical' => 1, -// 'hide_empty' => false -// )); $output ="