From: Steve Sutton Date: Thu, 17 Sep 2015 21:13:44 +0000 (-0400) Subject: update nav image sizes X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c80d1e73a7cc4f4d462e2360adefa044687a772b;p=WP-Themes%2Fglmthemes%2Fmountpleasant-theme.git update nav image sizes --- 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 ) ? '
  • ' : '';