Exemplo n.º 1
0
}
?>
>
	<?php 
if (has_post_thumbnail() && !empty($image2['sizes']['large']) && !empty($image3['sizes']['large'])) {
    ?>
	<div class="row collapse">
		<div class="medium-7 columns">
			<?php 
    the_post_thumbnail('large');
    ?>
			<?php 
    if (get_field('video')) {
        ?>
			<a href="<?php 
        echo grav_get_video_url(get_field('video'));
        ?>
" class="video" title="<?php 
        the_title();
        ?>
"><i class="fa fa-play-circle-o fa-5x"></i></a>
			<?php 
    }
    ?>
		</div>
		<div class="medium-5 columns">
			<div class="row collapse">
				<img src="<?php 
    echo $image2['sizes']['large'];
    ?>
" alt="<?php 
Exemplo n.º 2
0
    ?>
">
    <?php 
    the_post_thumbnail('full');
    ?>
    <h1><?php 
    the_title();
    ?>
<span class="sub-heading show-for-medium-up"><?php 
    the_field('sub_heading');
    ?>
</span><?php 
    if (get_field('featured_video')) {
        ?>
		<a href="<?php 
        echo grav_get_video_url(get_field('featured_video'));
        ?>
" class="video" title="<?php 
        the_title();
        ?>
"><i class="fa fa-play-circle-o fa-5x"></i></a>
	<?php 
    }
    ?>
</h1>
</section>
<?php 
} else {
    ?>
    <div class="row default-heading">
    	<div class="columns">