//set the template id, used to get the template specific settings $template_id = '404'; td_global::$current_template = $template_id; td_global::$load_featured_img_from_template = 'full'; //prepare the loop variables global $loop_module_id, $loop_sidebar_position; $loop_sidebar_position = 'no_sidebar'; $loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 1); //module 1 is default get_header(); ?>