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/jennysmasks.com/wp-content/themes/sela/archive-jetpack-testimonial.php
<?php
/**
 * The template for displaying the Testimonials archive page.
 *
 * @package Sela
 */

get_header(); ?>

	<?php $jetpack_options = get_theme_mod( 'jetpack_testimonials' ); ?>

	<?php if ( isset( $jetpack_options['featured-image'] ) && '' != $jetpack_options['featured-image'] ) : ?>
		<div class="entry-thumbnail">
			<?php echo wp_get_attachment_image( (int)$jetpack_options['featured-image'], 'sela-page-thumbnail' ); ?>
		</div><!-- .thumbnail -->
	<?php endif; ?>

	<div class="content-wrapper full-width <?php echo sela_additional_class(); ?>">
		<div id="primary" class="content-area testimonials-content-area">
			<div id="main" class="site-main testimonials grid" role="main">

				<article class="hentry">
					<header class="entry-header">
						<h1 class="entry-title">
							<?php
							if ( isset( $jetpack_options['page-title'] ) && '' != $jetpack_options['page-title'] )
								echo esc_html( $jetpack_options['page-title'] );
							else
								_e( 'Testimonials', 'sela' );
							?>
						</h1>
					</header><!-- .entry-header -->

					<?php sela_jp_testimonials_content(); ?>
				</article><!-- .hentry -->

				<div id="testimonials">
					<?php if ( have_posts() ) : ?>
						<?php while ( have_posts() ) : the_post(); ?>
							<?php get_template_part( 'content', 'testimonial' ); ?>
						<?php endwhile; ?>

						<?php sela_content_nav( 'nav-below' ); ?>
					<?php else : ?>
						<?php get_template_part( 'no-results', 'testimonial' ); ?>
					<?php endif; ?>
				</div><!-- .testimonials .grid -->

			</div><!-- #content -->
		</div><!-- #primary -->
	</div>

<?php get_footer(); ?>