From f5a046d3e7ad499611b7b0bad056596a54a1b027 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 23 Jan 2018 10:53:35 -0500 Subject: [PATCH] testing dropdown images in the topbar testing different men walker code for the dropdown images --- lib/menu-walker.php | 12 +++++++++++- package.json | 6 +++++- 2 files changed, 16 insertions(+), 2 deletions(-) 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 +} -- 2.17.1