当前位置: 首页>>代码示例>>PHP>>正文


PHP tha_comments_before函数代码示例

本文整理汇总了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');
}
开发者ID:TwoBeers,项目名称:fastfood,代码行数:5,代码来源:hooks.php

示例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 &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>
开发者ID:konamax123,项目名称:pgb,代码行数:31,代码来源:comments.php

示例3: wallow_hook_comments_before

/**
 * the comments section
 */
function wallow_hook_comments_before()
{
    tha_comments_before();
    do_action('wallow_hook_comments_before');
}
开发者ID:TwoBeers,项目名称:wallow,代码行数:8,代码来源:hooks.php

示例4: highwind_comments_before

/**
 * Highwind before comments action
 * @since 1.0
 */
function highwind_comments_before()
{
    do_action('highwind_comments_before');
    tha_comments_before();
}
开发者ID:hkarriche,项目名称:wordpress,代码行数:9,代码来源:highwind-hooks.php

示例5: responsive_comments_before

/** Just before comments_template()
 *
 * @see index.php
 */
function responsive_comments_before()
{
    do_action('responsive_comments_before');
    tha_comments_before();
}
开发者ID:dtekcth,项目名称:datateknologer.se,代码行数:9,代码来源:hooks.php

示例6: shiword_hook_comments_before

/**
 * the comments section
 */
function shiword_hook_comments_before()
{
    tha_comments_before();
    do_action('shiword_hook_comments_before');
}
开发者ID:TwoBeers,项目名称:shiword,代码行数:8,代码来源:hooks.php

示例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();
     }
 }
开发者ID:riesurya,项目名称:DeVioPlayground,代码行数:7,代码来源:class.DeVioPlaygroundPro_ModularHooks.php


注:本文中的tha_comments_before函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。