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 | |
// check if the flexible content field has rows of data | |
if( have_rows('layout') ):?> | |
<!-- // loop through the rows of data--> | |
<?php while ( have_rows('layout') ) : the_row();?> | |
<?php if( get_row_layout() == '1_column' ):?> | |
<section class="section headline-content"> | |
<div class="grid-container"> | |
<div class="grid-x grid-margin-x"> | |
<div class="large-12 cell"> |