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/titan/archive.php
<?php
/**
 * @package WordPress
 * @subpackage Titan
 */
?>
<?php get_header(); ?>
	<?php if ( have_posts() ) : ?>
		<?php /* If this is a category archive */ if (is_category()) { ?>
			<h1 class="pagetitle"><?php printf( __( 'Posts from the &#8216;%s&#8217; Category', 'titan' ), single_cat_title( '', false ) ); ?></h1>
			<?php /* If this is a tag archive */ } elseif ( is_tag() ) { ?>
			<h1 class="pagetitle"><?php printf( __( 'Posts tagged &#8216;%s&#8217;', 'titan' ), single_tag_title( '', false ) ); ?></h1>
			<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
			<h1 class="pagetitle"><?php _e( 'Archive for', 'titan' ); ?> <?php the_time( __( 'F jS, Y', 'titan' ) ); ?></h1>
			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
			<h1 class="pagetitle"><?php _e( 'Archive for', 'titan' ); ?> <?php the_time( __( 'F, Y', 'titan' ) ); ?></h1>
			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
			<h1 class="pagetitle"><?php _e( 'Archive for', 'titan' ); ?> <?php the_time( __( 'Y', 'titan' ) ); ?></h1>
			<?php /* If this is an author archive */ } elseif (is_author()) { if ( isset( $_GET['author_name'] ) ) $current_author = get_userdatabylogin( $author_name ); else $current_author = get_userdata( intval( $author ) ); ?>
			<h1 class="pagetitle"><?php printf( __( 'Posts by %s', 'titan' ), $current_author->display_name ); ?></h1>
			<?php /* If this is a paged archive */ } elseif ( isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
			<h1 class="pagetitle"><?php _e( 'Blog Archives', 'titan' ); ?></h1>
		<?php } ?>
	<?php while ( have_posts() ) : the_post(); ?>
		<div class="entries">
			<ul>
				<li><span><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php printf( __( '%s on', 'titan' ), get_the_title() ); ?></a> <?php the_time( get_option( 'date_format' ) ); ?></span></li>
			</ul>
		</div><!--end entries-->
	<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
		<div class="navigation">
			<div class="alignleft"><?php next_posts_link( __( '&laquo; Older Entries', 'titan' ) ); ?></div>
			<div class="alignright"><?php previous_posts_link( __( 'Newer Entries &raquo;', 'titan' ) ); ?></div>
		</div><!--end navigation-->
	<?php else : ?>
	<?php endif; ?>
</div><!--end content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>