<?php
/**
 * Home Page sections
 *
 * This is the template that includes all the other files for home page sections
 *
 * @package Theme Palace
 * @subpackage Teach Kiddo
 * @since Teach Kiddo 1.0.0
 */

$options = teach_kiddo_get_theme_options();

foreach ( explode( ',', $options['all_sortable'] ) as $list ) {
	require get_template_directory() . '/inc/sections/'.str_replace( '_', '-', $list).'.php';
}