<div class="<?php ci_classes(); ?> "> <?php ci_template('media/media', get_row_layout()); ?> </div>
/** * Build the shortcode, call templates */ function acf_cover() { ob_start(); ci_template('cover-media'); return ob_get_clean(); }
<?php // check if the flexible content field has rows of data if (have_rows('media_type')) { ?> <?php // loop through the rows of data while (have_rows('media_type')) { the_row(); ?> <?php ci_template('media-base', get_row_layout()); } }