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/carrington-sidebar-top.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;

?>

<div id="sidebar-top">
	<div id="carrington-subscribe" class="widget">
		<h2 class="widget-title"><?php _e('Subscribe', 'carrington'); ?></h2>
		<a class="feed" title="RSS 2.0 feed for posts" rel="alternate" href="<?php bloginfo('rss2_url') ?>"><?php _e('Site <acronym title="Really Simple Syndication">RSS</acronym> feed', 'carrington'); ?></a>
	</div><!--.widget-->
<?php
$about_text = get_option('cfct_about_text');
remove_filter('the_content', 'st_add_widget');
remove_filter('the_excerpt', 'st_add_widget');
if (!empty($about_text)) {
	$about_text = apply_filters('the_content', $about_text);
}
else {
	$about_query = new WP_Query('pagename=about');
	$orig_post = $post;
	while ($about_query->have_posts()) {
		$about_query->the_post();
		$about_text = get_the_excerpt().sprintf(__('<a class="more" href="%s">more &rarr;</a>', 'carrington'), get_permalink());
	}
}
if (function_exists('st_add_widget')) {
	add_filter('the_content', 'st_add_widget');
	add_filter('the_excerpt', 'st_add_widget');
}
if (!empty($about_text)) {
?>
	<div id="carrington-about" class="widget">
		<div class="about">
			<h2 class="title"><?php printf(__('About %s', 'carrington'), get_bloginfo('name')); ?></h2>
<?php
	echo $about_text;
?>
		</div>
	</div><!--.widget-->
<?php
}
?>
</div><!--#sidebar-->