From c80d1e73a7cc4f4d462e2360adefa044687a772b Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 17 Sep 2015 17:13:44 -0400 Subject: [PATCH] update nav image sizes --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4b43917..6a4f209 100644 --- a/functions.php +++ b/functions.php @@ -86,7 +86,7 @@ class Mountpleasantcvb_Top_Bar_Walker extends Walker_Nav_Menu { // Insert style to display page's thumbnail $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)); + $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id), array(568, 140)); $item_style .= ""; } //$output .= ( 0 == $depth ) ? '
  • ' : ''; -- 2.17.1