當前位置: 首頁>>代碼示例>>PHP>>正文


PHP tha_content_before函數代碼示例

本文整理匯總了PHP中tha_content_before函數的典型用法代碼示例。如果您正苦於以下問題:PHP tha_content_before函數的具體用法?PHP tha_content_before怎麽用?PHP tha_content_before使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了tha_content_before函數的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: fastfood_hook_content_before

function fastfood_hook_content_before()
{
    tha_content_before();
    do_action('fastfood_hook_content_before');
}
開發者ID:TwoBeers,項目名稱:fastfood,代碼行數:5,代碼來源:hooks.php

示例2: tha_entry_before

 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package digistarter
 */
tha_entry_before();
?>
<section class="no-results not-found">
	<header class="page-header">
		<h1 class="page-title"><?php 
_e('Nothing Found', 'digistarter');
?>
</h1>
	</header><!-- .page-header -->
	<?php 
tha_content_before();
?>
	<div class="page-content">
		<?php 
tha_entry_top();
?>
		<?php 
if (is_home() && current_user_can('publish_posts')) {
    ?>

			<p><?php 
    printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'digistarter'), esc_url(admin_url('post-new.php')));
    ?>
</p>

		<?php 
開發者ID:jbishop228,項目名稱:wp_folio,代碼行數:31,代碼來源:content-none.php

示例3: wallow_hook_content_before

/**
 * the content section
 */
function wallow_hook_content_before()
{
    tha_content_before();
    do_action('wallow_hook_content_before');
}
開發者ID:TwoBeers,項目名稱:wallow,代碼行數:8,代碼來源:hooks.php

示例4: highwind_content_before

/**
 * Highwind before content wrapper action
 * @since 1.0
 */
function highwind_content_before()
{
    do_action('highwind_content_before');
    tha_content_before();
}
開發者ID:hkarriche,項目名稱:wordpress,代碼行數:9,代碼來源:highwind-hooks.php

示例5: responsive_wrapper

/**
 * Just before opening <div id="wrapper">
 *
 * @see header.php
 */
function responsive_wrapper()
{
    do_action('responsive_wrapper');
    tha_content_before();
}
開發者ID:dtekcth,項目名稱:datateknologer.se,代碼行數:10,代碼來源:hooks.php

示例6: get_header

<?php

get_header(); ?>

<section id="primary" class="span8">
	
	<?php tha_content_before(); ?>
	<div id="content" role="main">
		<?php tha_content_top();
		
		if ( have_posts() ) : ?>

			<header class="page-header">
				<h1 class="page-title"><?php
					printf( __( 'Tag Archives: %s', 'the-bootstrap' ), '<span>' . single_tag_title( '', false ) . '</span>' );
				?></h1>
	
				<?php if ( $tag_description = tag_description() ) {
					echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
				} ?>
			</header><!-- .page-header -->
	
			<?php
			while ( have_posts() ) {
				the_post();
				get_template_part( '/partials/content', get_post_format() );
			}
			the_bootstrap_content_nav();
		else :
			get_template_part( '/partials/content', 'not-found' );
		endif;
開發者ID:OanaRaluca,項目名稱:Wordpress-theme-8,代碼行數:31,代碼來源:tag.php

示例7: shiword_hook_content_before

/**
 * the content section
 */
function shiword_hook_content_before()
{
    tha_content_before();
    do_action('shiword_hook_content_before');
}
開發者ID:TwoBeers,項目名稱:shiword,代碼行數:8,代碼來源:hooks.php


注:本文中的tha_content_before函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。