Skip to content

Commit

Permalink
Fix ACF error on banner
Browse files Browse the repository at this point in the history
  • Loading branch information
brown-a2 committed Aug 5, 2019
1 parent 94d4ee1 commit 9921b16
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
$homepage_sidebar_banner_alt_text = get_field( $agency . '_homepage_sidebar_banner_alt_text', 'option' );
?>



<?php if ( $enable_banner_right_side == true ) : ?>

<!-- c-aside-banner starts here -->
Expand All @@ -19,8 +17,7 @@

<a href="<?php echo $homepage_sidebar_banner_link; ?>" class="c-aside-banner--link">


<img src="<?php echo $homepage_sidebar_banner_image['sizes']['feature-thumbnail']; ?>" alt="<?php echo $homepage_sidebar_banner_alt_text; ?>">
<img src="<?php echo $homepage_sidebar_banner_image; ?>" alt="<?php echo $homepage_sidebar_banner_alt_text; ?>">
</a>
</section>
<!-- c-aside-banner ends here -->
Expand Down

0 comments on commit 9921b16

Please sign in to comment.