From: Steve Sutton Date: Thu, 17 Sep 2015 21:14:50 +0000 (-0400) Subject: update nav image sizes X-Git-Tag: v1.0.0^2~115 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c78935311028445e6887bb7f6cbd3f49d3b727a4;p=WP-Themes%2Fmountpleasantwow.git update nav image sizes --- 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 ) ? '
  • ' : '';