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/bueno/templates/format-gallery.php
<?php
/**
 * The template part for displaying gallery post format.
 *
 * @package bueno
 */
?>	
<!--BEGIN .post -->
<article id="post-<?php the_ID(); ?>" <?php post_class('post__holder'); ?>>

	<?php 
	if(!is_singular()) : 
		bueno_gallery_sl();
	endif; ?>
	<header class="post-header">

		<?php if(!is_singular()) : ?>

			<?php get_template_part('templates/post-meta'); ?>
			<h3 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php esc_attr_e('Permalink to:', 'bueno');?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
		
		<?php else :?>
		
			<h1 class="post-title"><?php the_title(); ?></h1>
			<?php get_template_part('templates/post-meta'); ?>
		
		<?php endif; ?>
		
	</header>

	<?php if(!is_singular()) : ?>

		<div class="post_content">
			<?php if ( 'false' != of_get_option('post_excerpt')) { ?>
				<div class="excerpt">
				<?php 
					$excerpt = get_the_excerpt();
					if (has_excerpt()) {
							the_excerpt();
					} else {
							echo apply_filters( 'the_excerpt', bueno_string_limit_words($excerpt,20) );
					}
				?>
				</div>
			<?php } ?>
			<?php if ( 'false' != of_get_option('post_button')) { ?>
				<a href="<?php the_permalink() ?>" class="btn btn-small read-more-btn"><?php _e('Read more', 'bueno'); ?></a>
			<?php } ?>
		</div>
	
	<?php else :?>

		<!-- Gallery Post -->
		<div class="gallery-post">
			
			<?php 
				if ( function_exists('the_remaining_content') ) {
					the_remaining_content( __( 'Continue reading', 'bueno' ) );
				} else {
					the_content('');
				}
			?>
			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'bueno' ), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );  ?>
		
		</div>
		<!-- /Gallery Post -->
		<?php if( has_tag() ) { ?>
			<footer class="post-footer">
				<i class="icon-tags"></i> <?php the_tags('Tags: ', ' ', ''); ?>
			</footer>
		<?php } ?>
		<?php endif; ?>

</article><!--END .post-->

<?php if ( is_single() && get_the_author_meta( 'description' ) ) {
		get_template_part( 'templates/post-author-bio' );
	} ?>