From: Anthony Talarico Date: Fri, 18 Dec 2015 17:06:33 +0000 (-0500) Subject: changed button positions and added menu icon X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b7e507db1a113bec90493b3adaea8e935aec9d7e;p=WP-Plugins%2Fmichsci-products.git changed button positions and added menu icon --- 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 ="