Created
May 29, 2015 13:24
-
-
Save digisavvy/3a3c3e7560ba66987fac to your computer and use it in GitHub Desktop.
Right Things Banner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="section-banner"> | |
<span class="banner_noresponsive"><?php | |
$bannerarea = get_field("banner"); | |
if($bannerarea == ""){ | |
?> | |
<?php }else{ ?> | |
<img src="<?php echo get_field("banner"); ?>"> | |
<?php } ?></span> | |
<span class="banner_responsive"><?php | |
$bannerarea_responsive = get_field("banner_responsive"); | |
if($bannerarea_responsive == ""){ | |
?> | |
<?php }else{ ?> | |
<img src="<?php echo get_field("banner_responsive"); ?>"> | |
<?php } ?></span> | |
</section><!--section-banner--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment