Support

Account

Home Forums Backend Issues (wp-admin) Simple piece of code

Unread

Simple piece of code

  • Hi!
    Really need some help!
    I hope someone help me figure out what makes
    this simple piece of code?

    <?php 
    $sections = get_field('sections');
    if ($sections) {
    	global $section;
    	foreach ($sections as $key => $section) {
    		get_template_part('sections/section',$section['acf_fc_layout']);
    	}
    }
    ?>
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.