Skip to content

Commit 69f0d8a

Browse files
author
Max Harris
authored
Merge pull request #145 from wpcomvip/infographic-image-preprod
echoing source and alt calues
2 parents e5e7da7 + 132594d commit 69f0d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: themes/jolteon/page-templates/resource.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<?php if ($content_type === 'infographic' && (!$protect_content || ($protect_content && $show_content))): ?>
6262
<div class="text-center">
6363
<div class="col-sm-8 col-sm-offset-2">
64-
<img class="img-responsive img-infographic center-block" src="<?php esc_url(get_field('image')['url']); ?>" alt="<?php esc_url(get_field('image')['alt']); ?>" />
64+
<img class="img-responsive img-infographic center-block" src="<?php echo esc_url(get_field('image')['url']); ?>" alt="<?php echo esc_url(get_field('image')['alt']); ?>" />
6565
</div>
6666
</div>
6767
<?php endif; ?>

0 commit comments

Comments
 (0)