Skip to content

Commit

Permalink
Merge pull request #121 from UCF/hf-images
Browse files Browse the repository at this point in the history
Fixed bug on full-width images (Hot Fix)
  • Loading branch information
jmbarne3 authored Jan 26, 2022
2 parents 3dca170 + 2f2ce62 commit d840aa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/acf-export.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"class": "",
"id": ""
},
"return_format": "array",
"return_format": "url",
"preview_size": "medium",
"library": "all",
"min_width": 640,
Expand Down
2 changes: 1 addition & 1 deletion template-parts/impact/components/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

$current_date = current_datetime();
$row = Impact\get_current_row();
$thumbnail = $row->thumbnail;
$thumbnail = $row->image_file;
$alt = esc_attr( $row->alt_text );
$href = Impact\format_url_utm_params( $row->links_to, $current_date->format( 'Y-m-d' ) );

Expand Down

0 comments on commit d840aa4

Please sign in to comment.