HEX
Server: Apache
System: Linux utech.securedservers.info 4.18.0-553.109.1.el8_10.x86_64 #1 SMP Mon Mar 2 09:33:18 EST 2026 x86_64
User: autoaccidentes (1023)
PHP: 8.3.23
Disabled: NONE
Upload Files
File: /home/autoaccidentes/www/wp-content/themes/vantage/loops/loop-grid.php
<?php
/**
 * Loop Name: Grid
 */
?>
<?php if ( have_posts() ) {
	$i = 0; ?>

	<div id="vantage-grid-loop" class="vantage-grid-loop grid-loop-columns-<?php echo siteorigin_setting( 'blog_grid_column_count' ); ?>">
		<?php while ( have_posts() ) {
			the_post();
			$i++; ?>
			<article <?php post_class( array( 'grid-post' ) ); ?>>

				<?php if ( has_post_thumbnail() && siteorigin_setting( 'blog_featured_image_type' ) !== 'none' ) { ?>
					<a class="grid-thumbnail" href="<?php the_permalink(); ?>">
						<?php the_post_thumbnail( 'vantage-grid-loop' ); ?>
					</a>
				<?php } elseif ( 'attachment' == get_post_type() && wp_get_attachment_image_src( get_post_thumbnail_id(), 'vantage-grid-loop' ) ) { ?>
					<a class="grid-thumbnail" href="<?php the_permalink(); ?>">
						<?php echo wp_get_attachment_image( get_the_ID(), 'vantage-grid-loop' ); ?>
					</a>
				<?php } ?>

				<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
				<div class="excerpt"><?php the_excerpt(); ?></div>
				<?php $read_more_text = siteorigin_setting( 'blog_read_more' ) ? esc_html( siteorigin_setting( 'blog_read_more' ) ) : __( 'Continue reading', 'vantage' ); ?>
				<?php echo  siteorigin_setting( 'blog_read_more_button' ) ? '<a class="more-button" href="' . get_permalink() . '">' . $read_more_text . ' <i></i></a>' : ''; ?>
			</article>
			<?php
			if ( $i % siteorigin_setting( 'blog_grid_column_count' ) == 0 ) {
				?>
				<div class="clear"></div>
				<?php
			}
		}
		?>
	</div>

	<?php
	vantage_content_nav( 'nav-below' );
} else {
	get_template_part( 'no-results' );
}