Skip to the content
if( have_rows( 'blocks' ) ) {
while ( have_rows( 'blocks' ) ) {
the_row();
$rows = get_row_layout();
$layout = str_replace( '_', '-', $rows );
// echo $layout;
switch ( $layout ) {
case $layout:
//include( locate_template( 'includes/components/who-we-are.php' ) );
include( locate_template( 'includes/components/'.$layout.'.php' ) );
break;
}
}
}
?>