Beispiel #1
0
		<div class="post-navigation">
			<div class="post-previous"><?php 
        previous_post_link('%link', '<span>' . __('Previous:', 'tie') . '</span> %title');
        ?>
</div>
			<div class="post-next"><?php 
        next_post_link('%link', '<span>' . __('Next:', 'tie') . '</span> %title');
        ?>
</div>
		</div><!-- .post-navigation -->
		<?php 
    }
    ?>
	
		<?php 
    tie_include('post-related');
    // Get Related Posts template
    ?>
	

		<?php 
}
?>

		<?php 
comments_template('', true);
?>
	
	</div><!-- .content -->
<?php 
get_sidebar();
    the_title();
    ?>
</a></h2>
	<p class="post-date"><?php 
    the_time(get_option('date_format'));
    ?>
</p>
<?php 
} else {
    ?>
	<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
	<?php 
    tie_include('post-meta');
    // Get Post Meta template
    ?>
	
<?php 
}
?>

<?php 
if (is_singular()) {
    ?>
	<div class="entry">
		<?php 
    the_content(__('Read More &raquo;', 'tie'));
    ?>
		<?php 
Beispiel #3
0
?>
			<div class="clear"></div>
		</div>	
		
		<nav id="main-nav">
			<?php 
wp_nav_menu(array('container_class' => 'main-menu', 'theme_location' => 'primary', 'fallback_cb' => 'tie_nav_fallback'));
?>
			<?php 
echo tie_alternate_menu(array('menu_name' => 'primary', 'id' => 'main-menu-mob'));
?>
		</nav><!-- .main-nav /-->
	</header><!-- #header /-->

	<?php 
tie_include('welcome');
// Get Welcome Message template
?>
	
	<?php 
tie_banner('banner_top', '<div class="ads-top">', '</div>');
?>

<?php 
$sidebar = '';
if (tie_get_option('sidebar_pos') == 'left') {
    $sidebar = ' sidebar-left';
}
if (is_single() || is_page()) {
    $get_meta = get_post_custom($post->ID);
    if (!empty($get_meta["tie_sidebar_pos"][0])) {