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/martyknows.com/wp-content/themes/fauna/template-postloop.php
<?php /*
	Post Template
	This page holds the code used by category.php, date.php, index.php and single.php.
	It it is the default post design.
	*/
?>

<?php /* Guess Noteworthy categories */
$noteworthy_cat = $wpdb->get_var("SELECT t.term_id FROM $wpdb->terms as t, $wpdb->term_taxonomy as tt WHERE tt.taxonomy='category' AND t.term_id=tt.term_id AND t.slug='noteworthy'");

?>

<div <?php post_class( 'box entry' ); ?>>

	<?php /* Show entry date on everything but permalinks */
			if (!is_single()) { ?>
	<div class="entry-date">
		<p><?php comments_popup_link(__('Leave a Comment'), __('Comments (1)'), __('Comments (%)'), '', __('<span>Comments Off</span>') ); ?></p>
	</div>
	<?php } ?>

	<?php /* Noteworthies */ ?>
	<?php if ( in_category($noteworthy_cat) ) { ?><div class="noteworthy"><?php echo(noteworthy_link($noteworthy_cat,TRUE,'')); ?></div>
	<?php } ?>

	<h2 class="entry-title">
		<?php if ( ! is_single() ) : ?>
			<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fauna' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
		<?php else : ?>
			<?php the_title(); ?>
		<?php endif; ?>
	</h2>

	<?php /* If we're not on a permalink and there's a written excerpt, only that */
			if (!is_single() && $post->post_excerpt != "") { the_excerpt(); } else { ?>
	<?php /* If we're not on a permalink and there's NO written excerpt, show content until <!--more--> */
			the_content('Continue reading this entry &raquo;'); } ?>

	<?php wp_link_pages('before=<strong>Page: &after=</strong>&next_or_number=number&pagelink=%'); ?>

	<?php /* If we're on the homepage, show some meta information right here */
			if (is_home()) { ?>
	<div class="entry-meta">
		<?php _e("Filed in"); ?>
		<?php the_category( ', ' ) ?>
		<?php the_tags( ' and ' . __( 'tagged' ) . ' ', ', ', ''); ?>
		<?php if (function_exists('time_since')) {
		echo time_since(abs(strtotime($post->post_date_gmt . " GMT")), time()) . " ago";
		} else {
		the_time('F jS, Y');
		} ?>
		<?php /* by <?php the_author_posts_link(); ?> */ ?>
	</div>
	<?php } ?>

	<?php edit_post_link('Edit This', ' &#8212; '); ?>

	<hr />

</div>