Created
January 6, 2013 19:53
-
-
Save anonymous/4469785 to your computer and use it in GitHub Desktop.
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
<?php get_header(); ?> | |
wp_head(); | |
<!-- ============================================== --> | |
<!-- FlexSlider --> | |
<?php if(get_option_tree('frontpage_slider') == 'Yes') { ?> | |
<?php get_template_part( 'element', 'flexslider' ); ?> | |
<?php } ?> | |
<!-- ============================================== --> | |
<?php if(get_option_tree('frontpage_blurbrow') == 'No' ) { } else { ?> | |
<!-- Super Container - Three Column Row - Content comes from OptionTree --> | |
<div class="super-container full-width" id="section-thirds"> | |
<!-- 960 Container --> | |
<div class="container"> | |
<?php if (get_option_tree('sencha') == 'Yes') { | |
$sencha = 'http://src.sencha.io/'; | |
} else { | |
$sencha = ''; | |
} ?> | |
<!-- 1/3 Columns --> | |
<div class="one-third column"> | |
<div class="module"> | |
<?php if(get_option_tree('homepage_blurb_1_image')) { ?> | |
<div class="module-img"> | |
<a href="<?php if (get_option_tree('open_as_lightbox') == 'Yes') { echo get_option_tree('homepage_blurb_1_image'); } else { echo get_option_tree('homepage_blurb_1_url'); } ?>" <?php if (get_option_tree('open_as_lightbox') == 'Yes') { ?>data-rel="prettyPhoto[Gallery]"<?php } ?>> | |
<img src="<?php echo $sencha; ?><?php echo get_option_tree('homepage_blurb_1_image'); ?>" alt="image"/> | |
<span></span> | |
</a> | |
<div class="lightboxLink"> | |
<a class="popLink boxLink" href="<?php echo get_option_tree('homepage_blurb_1_image'); ?>" data-rel="prettyPhoto[Lightbox]" title="Lightbox" ></a> | |
</div> | |
<div class="thumbLink"> | |
<a class="popLink" href="<?php echo get_option_tree('homepage_blurb_1_url'); ?>" title="Full Post"></a> | |
</div> | |
</div> | |
<?php } else {} ?> | |
<div class="module-meta"> | |
<h5><a href="<?php echo get_option_tree('homepage_blurb_1_url'); ?>"><?php echo get_option_tree('homepage_blurb_1_title'); ?></a></h5> | |
<p><?php echo get_option_tree('homepage_blurb_1_text'); ?></p> | |
</div> | |
</div> | |
</div> | |
<div class="one-third column"> | |
<div class="module"> | |
<?php if(get_option_tree('homepage_blurb_2_image')) { ?> | |
<div class="module-img"> | |
<a href="<?php if (get_option_tree('open_as_lightbox') == 'Yes') { echo get_option_tree('homepage_blurb_2_image'); } else { echo get_option_tree('homepage_blurb_2_url'); } ?>" <?php if (get_option_tree('open_as_lightbox') == 'Yes') { ?>data-rel="prettyPhoto[Gallery]"<?php } ?>> | |
<img src="<?php echo $sencha; ?><?php echo get_option_tree('homepage_blurb_2_image'); ?>" alt="image"/> | |
<span></span> | |
</a> | |
<div class="lightboxLink"> | |
<a class="popLink boxLink" href="<?php echo get_option_tree('homepage_blurb_2_image'); ?>" data-rel="prettyPhoto[Lightbox]" title="Lightbox" ></a> | |
</div> | |
<div class="thumbLink"> | |
<a class="popLink" href="<?php echo get_option_tree('homepage_blurb_2_url'); ?>" title="Full Post"></a> | |
</div> | |
</div> | |
<?php } else {} ?> | |
<div class="module-meta"> | |
<h5><a href="<?php echo get_option_tree('homepage_blurb_2_url'); ?>"><?php echo get_option_tree('homepage_blurb_2_title'); ?></a></h5> | |
<p><?php echo get_option_tree('homepage_blurb_2_text'); ?></p> | |
</div> | |
</div> | |
</div> | |
<div class="one-third column"> | |
<div class="module"> | |
<?php if(get_option_tree('homepage_blurb_3_image')) { ?> | |
<div class="module-img"> | |
<a href="<?php if (get_option_tree('open_as_lightbox') == 'Yes') { echo get_option_tree('homepage_blurb_3_image'); } else { echo get_option_tree('homepage_blurb_3_url'); } ?>" <?php if (get_option_tree('open_as_lightbox') == 'Yes') { ?>data-rel="prettyPhoto[Gallery]"<?php } ?>> | |
<img src="<?php echo $sencha; ?><?php echo get_option_tree('homepage_blurb_3_image'); ?>" alt="image"/> | |
<span></span> | |
</a> | |
<div class="lightboxLink"> | |
<a class="popLink boxLink" href="<?php echo get_option_tree('homepage_blurb_3_image'); ?>" data-rel="prettyPhoto[Lightbox]" title="Lightbox" ></a> | |
</div> | |
<div class="thumbLink"> | |
<a class="popLink" href="<?php echo get_option_tree('homepage_blurb_3_url'); ?>" title="Full Post"></a> | |
</div> | |
</div> | |
<?php } else {} ?> | |
<div class="module-meta"> | |
<h5><a href="<?php echo get_option_tree('homepage_blurb_3_url'); ?>"><?php echo get_option_tree('homepage_blurb_3_title'); ?></a></h5> | |
<p><?php echo get_option_tree('homepage_blurb_3_text'); ?></p> | |
</div> | |
</div> | |
</div> | |
<!-- /End 1/3 Columns --> | |
</div> | |
<!-- /End 960 Container --> | |
</div> | |
<!-- /End Super Container --> | |
<?php } ?> | |
<!-- ============================================== --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment