Esempio n. 1
0
<div class="<?php 
ci_classes();
?>
">
	<?php 
ci_template('media/media', get_row_layout());
?>
</div>
Esempio n. 2
0
 /**
  * Build the shortcode, call templates
  */
 function acf_cover()
 {
     ob_start();
     ci_template('cover-media');
     return ob_get_clean();
 }
Esempio n. 3
0
<?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());
    }
}