From: Anthony Talarico Date: Tue, 23 Jan 2018 15:53:35 +0000 (-0500) Subject: testing dropdown images in the topbar X-Git-Tag: v1.0.0^2~38 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f5a046d3e7ad499611b7b0bad056596a54a1b027;p=WP-Themes%2Fkhako.git testing dropdown images in the topbar testing different men walker code for the dropdown images --- diff --git a/lib/menu-walker.php b/lib/menu-walker.php index e3b7f0d..1a5d281 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -30,7 +30,17 @@ class Glm_Theme_Top_Bar_Walker extends Walker_Nav_Menu { $item_style = ''; if ($depth == 0 && has_post_thumbnail((int)$object->object_id)) { $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id), 'dropdown-image'); - $item_style .= ""; + // $item_style .= ""; + + $item_style .= ""; } else { $item_style .= ""; } diff --git a/package.json b/package.json index c2604a1..7e263f9 100644 --- a/package.json +++ b/package.json @@ -10,5 +10,9 @@ "grunt-contrib-uglify": "~0.7.0", "grunt-contrib-concat": "~0.5.0", "grunt-contrib-copy": "~0.7.0" + }, + "dependencies": { + "request": "~2.81.0", + "node-sass": "~4.7.2" } -} \ No newline at end of file +}