HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguy.com/wp-content/themes/vanilla/blog-set/comments/comments-default.php
<?php

// This file is part of the Carrington Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
// **********************************************************************

if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }

global $post, $wp_query, $comments, $comment, $tpl;
if (empty($post->post_password) || $_COOKIE['wp-postpass_' . COOKIEHASH] == $post->post_password) {
	$comments = $wp_query->comments;
	$comment_count = count($comments);
	$comment_count == 1 ? $comment_title = __('One Response', 'carrington') : $comment_title = sprintf(__('%d Responses', 'carrington'), $comment_count);
}

$comments_desc = sprintf(__('Stay in touch with the conversation, subscribe to the <a class="feed" title="RSS feed for comments on this post" rel="alternate" href="%s"><acronym title="Really Simple Syndication">RSS</acronym> feed for comments on this post</a>.', 'carrington'), get_bloginfo('rss2_url'));

$tpl["comments"] = array(
	"tpl_file" => "comments-default.html",
	"comments_title" => $comment_title,
	"comments_description" => $comments_desc,
	"pings_title" => __('Continuing the Discussion', 'carrington')
);

if ($comments) {
	$comment_count = 0;
	$ping_count = 0;
	foreach ($comments as $comment) {
		if (get_comment_type() == 'comment') {
			$comment_count++;
		}
		else {
			$ping_count++;
		}
	}
	if ($comment_count) {
		cfct_template_file('comments', 'comments-loop');
	}
	if ($ping_count) {
		cfct_template_file('comments', 'pings-loop');
	}
}

cfct_form('comment'); 

?>