當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。