本文整理汇总了PHP中tha_content_top函数的典型用法代码示例。如果您正苦于以下问题:PHP tha_content_top函数的具体用法?PHP tha_content_top怎么用?PHP tha_content_top使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tha_content_top函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fastfood_hook_content_top
function fastfood_hook_content_top()
{
tha_content_top();
do_action('fastfood_hook_content_top');
}
示例2: tha_header_after
<?php
tha_header_after();
?>
<?php
if (!is_page_template('page_front-page.php') || 'posts' == get_option('show_on_front')) {
?>
<?php
$container = "container";
?>
<?php
} else {
?>
<?php
$container = "";
?>
<?php
}
?>
<?php
tha_content_before();
?>
<div id="content" class="site-content clearfix <?php
echo $container;
?>
">
<?php
tha_content_top();
示例3: wallow_hook_content_top
function wallow_hook_content_top()
{
tha_content_top();
do_action('wallow_hook_content_top');
}
示例4: highwind_content_top
/**
* Highwind before content action
* @since 1.0
*/
function highwind_content_top()
{
do_action('highwind_content_top');
tha_content_top();
}
示例5: responsive_wrapper_top
/**
* Just after opening <div id="wrapper">
*
* @see header.php
*/
function responsive_wrapper_top()
{
do_action('responsive_wrapper_top');
tha_content_top();
}
示例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_top
function shiword_hook_content_top()
{
tha_content_top();
do_action('shiword_hook_content_top');
}