本文整理汇总了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');
}
示例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
示例3: wallow_hook_content_before
/**
* the content section
*/
function wallow_hook_content_before()
{
tha_content_before();
do_action('wallow_hook_content_before');
}
示例4: highwind_content_before
/**
* Highwind before content wrapper action
* @since 1.0
*/
function highwind_content_before()
{
do_action('highwind_content_before');
tha_content_before();
}
示例5: responsive_wrapper
/**
* Just before opening <div id="wrapper">
*
* @see header.php
*/
function responsive_wrapper()
{
do_action('responsive_wrapper');
tha_content_before();
}
示例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;
示例7: shiword_hook_content_before
/**
* the content section
*/
function shiword_hook_content_before()
{
tha_content_before();
do_action('shiword_hook_content_before');
}