HEX
Server: Apache
System: Linux p3plzcpnl507418.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: retoti4c1e1s (10075650)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //home/retoti4c1e1s/public_html/thecommitment.earth/wp-content/themes/save-life/index-excerpt.php
<?php
/**
 * The template for homepage posts with "Excerpt" style
 *
 * @package WordPress
 * @subpackage SAVE_LIFE
 * @since SAVE_LIFE 1.0
 */

save_life_storage_set('blog_archive', true);

get_header(); 

if (have_posts()) {

	echo get_query_var('blog_archive_start');

	?><div class="posts_container"><?php
	
	$save_life_stickies = is_home() ? get_option( 'sticky_posts' ) : false;
	$save_life_sticky_out = is_array($save_life_stickies) && count($save_life_stickies) > 0 && get_query_var( 'paged' ) < 1;
	if ($save_life_sticky_out) {
		?><div class="sticky_wrap columns_wrap"><?php	
	}
	while ( have_posts() ) { the_post(); 
		if ($save_life_sticky_out && !is_sticky()) {
			$save_life_sticky_out = false;
			?></div><?php
		}
		get_template_part( 'content', $save_life_sticky_out && is_sticky() ? 'sticky' : 'excerpt' );
	}
	if ($save_life_sticky_out) {
		$save_life_sticky_out = false;
		?></div><?php
	}
	
	?></div><?php

	save_life_show_pagination();

	echo get_query_var('blog_archive_end');

} else {

	if ( is_search() )
		get_template_part( 'content', 'none-search' );
	else
		get_template_part( 'content', 'none-archive' );

}

get_footer();
?>