From c78935311028445e6887bb7f6cbd3f49d3b727a4 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 17 Sep 2015 17:14:50 -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 6a4f209..5423734 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), array(568, 140)); + $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id((int)$object->object_id), 'large'); $item_style .= ""; } //$output .= ( 0 == $depth ) ? '
  • ' : ''; -- 2.17.1