/**
  * 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;
 }
Ejemplo n.º 2
0
		<div id="logo">
			<?php 
syl_logo();
?>
		</div><!-- /#logo -->
	</div><!-- /#header -->

	<div id="content" class="col-full">
    	<div id="main">
	       	<div id="intro" class="block">
	    		<h1><span><?php 
syl_text_heading();
?>
</span></h1>
	    		<p><?php 
syl_message();
?>
</p>
	    	</div><!-- #intro -->
	    	<?php 
do_action('syl_launch_pad_elements');
?>
	    	<?php 
do_action('syl_social_links');
?>
   		</div><!--/#main-->
    </div><!-- /#content -->
	<div id="footer" class="col-full">
		<div id="copyright">
			<?php 
syl_custom_footer();