Example #1
0
        echo apply_filters('category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>');
    }
    ?>
 </header>
 <?php 
    while (have_posts()) {
        the_post();
        ?>
 <?php 
        terrific_module('Content', array('template' => get_post_format()));
        ?>
 <?php 
    }
    ?>
 <?php 
    terrific_module('ContentNavigation', array('nav_id' => 'nav-below'));
    ?>
 <?php 
} else {
    ?>
  <article id="post-0" class="post no-results not-found">
   <header class="entry-header">
	<h1 class="entry-title"><?php 
    _e('Nothing Found', 'terrific');
    ?>
</h1>
   </header><!-- .entry-header -->
   <div class="entry-content">
    <p><?php 
    _e('Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'terrific');
    ?>
<?php

/**
 * The template for displaying the footer.
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
?>
</div>
<?php 
terrific_module('Footer');
?>
</div>
<?php 
get_footer('empty');
?>
<script type='text/javascript'>
(function($) {
	$(document).ready(function() {
		var $page = $('body');
		var application = new Tc.Application($page);
		application.registerModules();
		application.start();
	});
})(Tc.$);
</script>
Example #3
0
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
get_header();
?>
            
<?php 
get_sidebar();
?>
<div class="content" role="main">
<div class="content-inner">
 <?php 
the_post();
?>
 <?php 
terrific_module('Content', array('template' => 'page'));
?>
 <?php 
comments_template();
?>
</div>
</div>
<?php 
get_footer();
Example #4
0
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
get_header();
?>
   
<?php 
get_sidebar();
?>
<div class="content" role="main">
<div class="content-inner">
 <?php 
while (have_posts()) {
    the_post();
    ?>
 <?php 
    terrific_module('Content', array('template' => 'single'));
    ?>
 <?php 
    comments_template();
    ?>
 <?php 
}
?>
</div>
</div><!-- .content -->
<?php 
get_footer();
Example #5
0
<?php

/**
 * The Sidebar containing the main widget area.
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
?>
<div class="sidebar widget-area" role="complementary">
    <div class="inner">
        <header class="head">
            <?php 
terrific_module('Search', array('template' => 'search'));
?>
        </header>
        <?php 
dynamic_sidebar('sidebar-1');
?>
    </div>
</div>
<?php

/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
get_header('empty');
?>
<div class="page-container">
 <div class="head">
	<div class="left"><?php 
terrific_module('Logo');
?>
</div>
	<div class="right">
		<div class="inner">
	    <?php 
terrific_module('Search', array('template' => 'head', 'skin' => 'Head'));
?>
		</div>
	</div>
 </div>
 <div class="body">
Example #7
0
<?php

terrific_module('Comments');
Example #8
0
<?php

/**
 * Template Name: Terrific Module
 * Description: A page template that just shows a module
 *
 * @package WordPress
 * @subpackage Terrific
 * @since Terrific 1.0
 */
get_header('empty');
?>
<div class="page overflow">
	<div class="body overflow">
		<div class="line overflow">
			<div class="unit size1of1 overflow">
			<?php 
terrific_module($_REQUEST['id']);
?>
			</div>
		</div>
	</div>
</div>
<?php 
get_footer('empty');