/**
  * load_template function.
  *
  * @description load see you later page theme
  * @access public
  * @since 1.0.0
  * @return void
  */
 public function load_template($template)
 {
     global $woothemes_syl;
     if ('503' == $template) {
         include get_stylesheet_directory() . '/503.php';
         exit;
     }
     $template_path = trailingslashit($woothemes_syl->themes[$template]->theme_root) . $template;
     if (file_exists($template_path . '/functions.php')) {
         require_once $template_path . '/functions.php';
     }
     if (isset($woothemes_syl->themes[$template]->theme_root) && file_exists($template_path . '/index.php')) {
         require_once $template_path . '/index.php';
     } else {
         wp_die(syl_message(false), syl_title(false));
     }
     exit;
 }
Example #2
0
    exit;
}
// Exit if accessed directly
?>
<!DOCTYPE html>
<html <?php 
language_attributes();
?>
>
<head>
	<meta charset="<?php 
bloginfo('charset');
?>
" />
	<title><?php 
syl_title();
?>
</title>
	<link rel="stylesheet" type="text/css" href="<?php 
syl_get_template_url('style.css');
?>
" media="screen" />
	<link href='http://fonts.googleapis.com/css?family=Oswald:400,300|Muli' rel='stylesheet' type='text/css'>
	<?php 
syl_header();
?>
</head>
<body>
<div id="wrapper">
	<div id="header" class="col-full">
		<div id="logo">