當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。