本文整理汇总了PHP中tie_banner函数的典型用法代码示例。如果您正苦于以下问题:PHP tie_banner函数的具体用法?PHP tie_banner怎么用?PHP tie_banner使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tie_banner函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialchars_decode
}
?>
</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();
示例2: edit_post_link
<?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();
示例3: tie_banner
<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
示例4: tie_get_option
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
示例5: home_url
<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';
示例6: tie_banner
<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);
示例7: tie_banner
?>
</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>');
}
}
}