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/fresh-editorial/archive.php
<?php get_header(); ?>

		<div id="content">
			<div id="contentleft">

				<div class="blogpostwrapper">


	<?php if (have_posts()) : ?>

					<div id="title2">


						<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
						  <?php /* If this is a category archive */ if (is_category()) { ?>
							<h1 class="pagetitle"><?php single_cat_title(); ?></h1>
						  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
							<h1 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h1>
						  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
							<h1 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h1>
						  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
							<h1 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h1>
						  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
							<h1 class="pagetitle">Archive for <?php the_time('Y'); ?></h1>
						  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
							<h1 class="pagetitle">Author Archive</h1>
						  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
							<h1 class="pagetitle">Blog Archives</h1>
						<?php } ?>

					</div>

		<?php while (have_posts()) : the_post(); ?>

					<div class="blogpost">
						<div class="blogtitle">
							<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
						</div>
						<div class="datetab">
							<div class="blogdate">
								<?php the_time('jS F') ?>
							</div>
							<div class="blogdateyear">
								<?php the_time('Y') ?>
							</div>
						</div>
						<div class="blogauthor">
							written by <? the_author(); ?>
						</div>
						<div class="blogcontent">
							<?php the_content(); ?>
							<div class="blogtags">
								<?php the_tags( 'Tags: ', ', ', ''); ?>
							</div>
						</div>
						<div class="blogdivide">
						</div>
						<div class="blogstrip">
							<div class="blogcomments">
								<?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
							</div>
							<div class="blogcategory">
								<?php the_category(', ') ?>
							</div>
						</div>
					</div>

					<?php endwhile; ?>

					<div id="paging">

						<?php $previous = get_bloginfo('template_directory'); ?>

						<div id="alignright"><?php next_posts_link('<img src="' . $previous . '/images/previous.png" alt="Previous" title="Previous" />') ?></div>
						<div id="alignleft"><?php previous_posts_link('<img src="' . $previous . '/images/next.png" alt="Next" title="Next" />') ?></div>
					</div>

						<?php else : ?>

							<h2 class="center">Not Found</h2>
							<p class="center">Sorry, but you are looking for something that isn't here.</p>
							<?php include (TEMPLATEPATH . "/searchform.php"); ?>

					<?php endif; ?>

			</div>
		</div>

				<?php get_sidebar(); ?>

		</div>




<?php get_footer(); ?>