Exemple #1
0
        }
        ?>
				
			</div><!-- .post-inner -->
		</article><!-- .post-listing -->
		<?php 
    }
}
?>
		
		<?php 
//Below Post Banner
if (empty($get_meta["tie_hide_below"][0])) {
    if (!empty($get_meta["tie_banner_below"][0])) {
        echo '<div class="ads-post">' . htmlspecialchars_decode($get_meta["tie_banner_below"][0]) . '</div>';
    } else {
        tie_banner('banner_below', '<div class="ads-post">', '</div>');
    }
}
?>
		
		<?php 
if (!function_exists('bp_current_component') || function_exists('bp_current_component') && !bp_current_component()) {
    comments_template('', true);
}
?>
	</div><!-- .content -->

<?php 
get_sidebar();
get_footer();
Exemple #2
0
					<?php 
        edit_post_link(__('Edit', 'tie'), '<span class="edit-link">', '</span>');
        ?>
				</div><!-- .entry /-->	
			
			</div><!-- .post-inner -->
		</article><!-- .post-listing -->
		<?php 
    }
}
?>
		
		<?php 
//Below Post Banner
if (empty($get_meta["tie_hide_below"][0])) {
    if (!empty($get_meta["tie_banner_below"][0])) {
        echo '<div class="e3lan-post">' . htmlspecialchars_decode($get_meta["tie_banner_below"][0]) . '</div>';
    } else {
        tie_banner('banner_below', '<div class="e3lan-post">', '</div>');
    }
}
?>
		
		<?php 
comments_template('', true);
?>
	</div><!-- .content -->

<?php 
get_sidebar();
get_footer();
Exemple #3
0
	<div class="clear"></div>
</div><!-- .container /-->
<?php 
tie_banner('banner_bottom', '<div class="e3lan e3lan-bottom">', '</div>');
?>

<?php 
get_sidebar('footer');
?>
				
<div class="clear"></div>
<div class="footer-bottom">
	<div class="container">
		<div class="alignright footer-right">
			<?php 
$footer_vars = array('%year%', '%site%', '%url%');
$footer_val = array(date('Y'), get_bloginfo('name'), home_url());
$footer_two = str_replace($footer_vars, $footer_val, tie_get_option('footer_two'));
echo htmlspecialchars_decode($footer_two);
?>
			
		</div>
		
		<div class="alignleft">
			<?php 
if (tie_get_option('footer_social')) {
    tie_get_social(true, false, 'ttip-none');
}
?>
			<div class="copyright">
			<?php 
        echo tie_get_option('logo_retina_width');
        ?>
');
       	jQuery('#theme-header .logo img').attr('height', '<?php 
        echo tie_get_option('logo_retina_height');
        ?>
');
	}
});
</script>
<?php 
    }
}
?>
			<?php 
tie_banner('banner_top', '<div class="ads-top">', '</div>');
?>
			<div class="clear"></div>
		</div>	
		<?php 
$stick = '';
?>
		<?php 
if (tie_get_option('stick_nav')) {
    $stick = ' class="fixed-enabled"';
}
?>
			<?php 
if (!tie_get_option('main_nav')) {
    ?>
			<?php 
Exemple #5
0
					<a href="<?php echo home_url(); ?>/?tierand=1" class="random-article ttip" title="<?php _eti( 'Random Article' ) ?>"><i class="fa fa-random"></i></a>
					<?php endif ?>

					<?php if( tie_get_option( 'shopping_cart' ) && function_exists( 'is_woocommerce' ) ):
						global $woocommerce; ?>
						<a class="tie-cart ttip" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _eti( 'View your shopping cart' ); ?>"><span class="shooping-count-outer"><?php if( isset( $woocommerce->cart->cart_contents_count ) && ( $woocommerce->cart->cart_contents_count != 0 ) ){ ?><span class="shooping-count"><?php echo $woocommerce->cart->cart_contents_count ?></span><?php } ?><i class="fa fa-shopping-cart"></i></span></a>
					<?php endif ?>

				</div>
			</nav><!-- .main-nav /-->
			<?php endif; ?>
		</header><!-- #header /-->
	
	<?php get_template_part( 'framework/parts/breaking-news' ); // Get Breaking News template ?>	
	
	<?php tie_banner('banner_below_header' , '<div class="e3lan e3lan-below_header">' , '</div>' ); ?>

<?php 
$sidebar = '';
if( tie_get_option( 'sidebar_pos' ) == 'left' ) $sidebar = ' sidebar-left';
if( is_singular() || ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) ){

	$current_ID = $post->ID;
	if( function_exists( 'is_woocommerce' ) && is_woocommerce() )	$current_ID = woocommerce_get_page_id('shop');

	$get_meta = get_post_custom( $current_ID );
	if( !empty($get_meta["tie_sidebar_pos"][0]) ){
		$sidebar_pos = $get_meta["tie_sidebar_pos"][0];

		if( $sidebar_pos == 'left' ) $sidebar = ' sidebar-left';
		elseif( $sidebar_pos == 'full' ) $sidebar = ' full-width';
	<div class="clear"></div>
</div><!-- .container /-->
<?php 
tie_banner('banner_bottom', '<div class="ads-bottom">', '</div>');
?>

<?php 
get_sidebar('footer');
?>
				
<div class="clear"></div>
<div class="footer-bottom">
	<div class="container">
		<div class="alignright">
			<?php 
$footer_vars = array('%year%', '%site%', '%url%');
$footer_val = array(date('Y'), get_bloginfo('name'), home_url());
$footer_two = str_replace($footer_vars, $footer_val, tie_get_option('footer_two'));
echo htmlspecialchars_decode($footer_two);
?>
		</div>
		<?php 
if (tie_get_option('footer_social')) {
    tie_get_social('yes', 16);
}
?>
		
		<div class="alignleft">
			<?php 
$footer_one = str_replace($footer_vars, $footer_val, tie_get_option('footer_one'));
echo htmlspecialchars_decode($footer_one);
Exemple #7
0
        echo tie_get_option('logo_retina_width');
        ?>
');
       	jQuery('#theme-header .logo img').attr('height', '<?php 
        echo tie_get_option('logo_retina_height');
        ?>
');
	}
});
</script>
<?php 
    }
}
?>
			<?php 
tie_banner('banner_top', '<div class="e3lan-top">', '</div>');
?>
			<div class="clear"></div>
		</div>	
		<?php 
$stick = '';
?>
		<?php 
if (tie_get_option('stick_nav')) {
    $stick = ' class="fixed-enabled"';
}
?>
			<?php 
if (!tie_get_option('main_nav')) {
    ?>
			<?php 
Exemple #8
0
            ?>
 
		</ul>
		<?php 
        }
        ?>

	</article><!-- .item-list -->
	<?php 
        if (tie_get_option('banner_within_posts_pos')) {
            if (tie_get_option('banner_within_posts_posts') == $count && !is_paged()) {
                tie_banner('banner_within_posts', '<article class="item-list rtl-item ads-posts ' . $post_width . '"><div class="post-inner">', '</div></article>');
            }
        } else {
            if (tie_get_option('banner_within_posts_posts') == $count) {
                tie_banner('banner_within_posts', '<article class="item-list rtl-item ads-posts ' . $post_width . '"><div class="post-inner">', '</div></article>');
            }
        }
    }
    ?>
	<?php 
    if (tie_get_option('banner_within_posts_pos')) {
        if (tie_get_option('banner_within_posts_posts') > $count && !is_paged()) {
            tie_banner('banner_within_posts', '<article class="item-list rtl-item ads-posts ' . $post_width . '"><div class="post-inner">', '</div></article>');
        }
    } else {
        if (tie_get_option('banner_within_posts_posts') > $count) {
            tie_banner('banner_within_posts', '<article class="item-list rtl-item ads-posts ' . $post_width . '"><div class="post-inner">', '</div></article>');
        }
    }
}