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/theflexguys.com/baronconstruct/wp-content/themes/sweet-blossoms/archive.php
<?php get_header(); ?>

<!-- content ................................. -->
<div id="main">

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

	<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
	<h2 class="pagetitle">
		<?php
			if ( is_category() ) :
				printf( __( 'Posts  filed under:  &#8216;%s&#8216;', 'sweet-blossoms' ), single_cat_title( '', false ) );
			elseif ( is_tag() ) :
				printf( __( 'Posts tagged  &#8216;%s &#8216;', 'sweet-blossoms' ), single_tag_title( '', false ) );
			elseif ( is_day() ) :
				printf( __( 'Archive for %s', 'sweet-blossoms' ), get_the_date('F jS, Y') );
			elseif ( is_month() ) :
				printf( __( 'Archive for %s', 'sweet-blossoms' ), get_the_date( 'F Y' ) );
			elseif ( is_year() ) :
				printf( __( 'Archive for %s', 'sweet-blossoms' ), get_the_date( 'Y' ) );
			elseif ( is_author() ) :
				_e( 'Author Archive', 'sweet-blossoms' );
			elseif ( is_search() ) :
				_e( 'Search Results' );
			else :
				_e( 'Blog Archives', 'sweet-blossoms' );
			endif;
			?>
	</h2>
<br /><br /><br />

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

	<div class="main">

		<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>

		<?php ( $post->post_excerpt != "") ? the_excerpt() : the_content(); ?>

		<p class="info"><?php if ( $post->post_excerpt != "" ) { ?><a href="<?php the_permalink(); ?>" class="more"><?php _e( 'Continue Reading', 'sweet-blossoms'); ?></a><?php } ?>
   			<?php comments_popup_link( __( 'Add a comment', 'sweet-blossoms' ), __( '1 comment', 'sweet-blossoms' ), __( '% comments', 'sweet-blossoms' ) ); ?>
   			<em class="date"><?php the_time( get_option( 'date_format' ) ); ?><!-- at <?php the_time()  ?>--></em>
   			<!--<em class="author"><?php the_author(); ?></em>-->
   			<?php edit_post_link( __( 'Edit', 'sweet-blossoms' ), '<span class="editlink">', '</span>' ); ?>
   		</p>

		<div style="padding:20px 0px 0px 0px;"></div>

		<img src="<?php bloginfo('stylesheet_directory'); ?>/images/divider.gif" alt="" />

		<div style="padding:20px 0px 0px 0px;"></div>


	</div>

<?php endwhile; ?>

	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td width="120" align="left"><?php next_post_link( '%link', '<span class="meta-nav">' . _x( 'Previous Posts', 'sweet-blossoms' ) . '</span>' ); ?></td>
			<td width="60"></td>
			<td width="120" align="right"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( 'Next Posts', 'sweet-blossoms' ) . '</span>' ); ?></td>
		</tr>
	</table>

<?php else : ?>

	<h2><?php _e( 'Not Found', 'sweet-blossoms' ); ?></h2>
	<p><?php _e( "Sorry, but you are looking for something that isn't here.", "sweet-blossoms" ); ?></p>

<?php endif; ?>

</div> <!-- /content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>