本文整理汇总了PHP中tha_comments_before函数的典型用法代码示例。如果您正苦于以下问题:PHP tha_comments_before函数的具体用法?PHP tha_comments_before怎么用?PHP tha_comments_before使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tha_comments_before函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fastfood_hook_comments_before
function fastfood_hook_comments_before()
{
tha_comments_before();
do_action('fastfood_hook_comments_before');
}
示例2: tha_comments_before
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to pgb_comment() which is
* located in the includes/template-tags.php file.
*
* @package pgb
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if (post_password_required()) {
return;
}
tha_comments_before();
?>
<div id="comments" class="comments-area row">
<div class="col-md-12">
<?php
if (have_comments()) {
?>
<header class="page-header">
<h2 class="comments-title">
<?php
printf(_nx('One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'pgb'), number_format_i18n(get_comments_number()), '<span>' . get_the_title() . '</span>');
?>
</h2>
</header>
示例3: wallow_hook_comments_before
/**
* the comments section
*/
function wallow_hook_comments_before()
{
tha_comments_before();
do_action('wallow_hook_comments_before');
}
示例4: highwind_comments_before
/**
* Highwind before comments action
* @since 1.0
*/
function highwind_comments_before()
{
do_action('highwind_comments_before');
tha_comments_before();
}
示例5: responsive_comments_before
/** Just before comments_template()
*
* @see index.php
*/
function responsive_comments_before()
{
do_action('responsive_comments_before');
tha_comments_before();
}
示例6: shiword_hook_comments_before
/**
* the comments section
*/
function shiword_hook_comments_before()
{
tha_comments_before();
do_action('shiword_hook_comments_before');
}
示例7: devio_singular_comments_before_do_action
function devio_singular_comments_before_do_action()
{
if (has_action('devio/singular/comments/before/do_action')) {
do_action('devio/singular/comments/before/do_action');
tha_comments_before();
}
}