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/themorningafter/author.php
<?php
/**
 * The template for displaying Author Archive pages.
 *
 * @package WordPress
 * @subpackage The Morning After
 */
get_header(); ?>

<?php get_template_part( 'top-banner' ); ?>

<?php $content_width = 540; // to override $content_width for the narrower column ?>

<?php $morningafter_options = morningafter_get_theme_options(); ?>

<div id="arch_content" class="column full-width">

	<?php if ( have_posts() ) : ?>
		<?php the_post(); // load the first post so that we have access to user information ?>
		<div class="column archive-info first">
			<h1 class="archive_name"><?php the_author_meta( 'display_name' ); ?></h1>
			<span class="author_description"><?php the_author_meta( 'description' ); ?></span>

			<div class="archive_meta">
				<div class="archive_number">
					<?php the_author_meta( 'display_name' ); ?> <?php _e( 'has written','woothemes' ); ?> <?php the_author_posts(); ?> <?php _e( 'posts for','woothemes' ); ?> <?php bloginfo( 'name' ); ?>
				</div>
			</div>
		</div><!-- end .archive-info -->
		<?php rewind_posts(); // rewind so that we don't miss that first post in the loop ?>
		<div class="column mid-column">
			<?php while ( have_posts() ) : the_post(); ?>
				<div class="archive_post_block clear-fix">
					<h3 class="archive_title" id="post-<?php the_ID(); ?>">
						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'woothemes' ), the_title_attribute( 'echo=0' ) ) ); ?>">
							<?php the_title(); ?>
						</a>
					</h3>

					<div class="archive_post_meta">
						<?php morning_after_post_meta(); ?>
						<?php if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) : ?>
							<span class="comment-link"><span class="dot">&sdot;</span> <?php comments_popup_link( __( 'Leave a Comment', 'woothemes' ), __( '1 Comment', 'woothemes' ), __( '% Comments', 'woothemes' ) ); ?></span>
						<?php endif; ?>
					</div>

					<?php if ( $morningafter_options['show_full_archive'] == "1" ) the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'woothemes' ) ); else the_excerpt(); ?>
				</div>
			<?php endwhile; ?>

			<div id="nav-below" class="post-navigation clear-fix">
				<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&laquo;</span> Older posts', 'woothemes' ) ); ?></div>
				<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&raquo;</span>', 'woothemes' ) ); ?></div>
			</div><!-- #nav-below -->

		</div><!-- end .mid-column -->

		<?php get_sidebar(); ?>

	<?php else : ?>

		<?php
			printf( __( '<p>Lost? Go back to the <a href="%s">home page</a></p>', 'woothemes' ),
				get_home_url()
			);
		?>

	<?php endif; ?>

</div><!-- end #arch_content -->

<?php get_footer(); ?>