<?php

$header_affix = apply_filters('forceful_lite_get_header', '');
$footer_affix = apply_filters('forceful_lite_get_footer', '');

$is_override_default_template = apply_filters('forceful_lite_is_override_default_template', false);

get_header($header_affix);

do_action('forceful_lite_load_template');

if(!$is_override_default_template){
	if($forceful_lite_current_layout = forceful_lite_get_template_setting()){
		get_template_part("templates/singular/{$forceful_lite_current_layout['layout_id']}");
	}else{
		get_template_part("templates/singular/single");
	}
}

get_footer($footer_affix);