示例#1
0
function fastfood_hook_comments_before()
{
    tha_comments_before();
    do_action('fastfood_hook_comments_before');
}
示例#2
0
 * 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 &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'pgb'), number_format_i18n(get_comments_number()), '<span>' . get_the_title() . '</span>');
    ?>
				</h2>
			</header>
示例#3
0
文件: hooks.php 项目: TwoBeers/wallow
/**
 * the comments section
 */
function wallow_hook_comments_before()
{
    tha_comments_before();
    do_action('wallow_hook_comments_before');
}
示例#4
0
/**
 * Highwind before comments action
 * @since 1.0
 */
function highwind_comments_before()
{
    do_action('highwind_comments_before');
    tha_comments_before();
}
示例#5
0
/** Just before comments_template()
 *
 * @see index.php
 */
function responsive_comments_before()
{
    do_action('responsive_comments_before');
    tha_comments_before();
}
示例#6
0
/**
 * the comments section
 */
function shiword_hook_comments_before()
{
    tha_comments_before();
    do_action('shiword_hook_comments_before');
}
 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();
     }
 }