当前位置: 首页>>代码示例>>PHP>>正文


PHP tie_banner函数代码示例

本文整理汇总了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();
开发者ID:fedeB-IT-dept,项目名称:fedeB_website,代码行数:31,代码来源:page.php

示例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();
开发者ID:anakhha,项目名称:sahifa,代码行数:31,代码来源:template-login.php

示例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 
开发者ID:hongtien510,项目名称:gia_su,代码行数:31,代码来源:footer.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 
开发者ID:fedeB-IT-dept,项目名称:fedeB_website,代码行数:31,代码来源:header.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';
开发者ID:rebeccayshen,项目名称:kitlist,代码行数:31,代码来源:header.php

示例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);
开发者ID:fedeB-IT-dept,项目名称:fedeB_website,代码行数:31,代码来源:footer.php

示例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>');
        }
    }
}
开发者ID:proj-2014,项目名称:vlan247-test-wp,代码行数:31,代码来源:loop.php


注:本文中的tie_banner函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。