HEX
Server: Apache
System: Linux sxb1plzcpnl487603.prod.sxb1.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User: dxfxddmd03st (6687587)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/dxfxddmd03st/public_html/wp-content/themes/ozeum/index-classic.php
<?php
/**
 * The template for homepage posts with "Classic" style
 *
 * @package OZEUM
 * @since OZEUM 1.0
 */

ozeum_storage_set( 'blog_archive', true );

get_header();

if ( have_posts() ) {

	ozeum_blog_archive_start();

	$ozeum_classes    = 'posts_container '
						. ( substr( ozeum_get_theme_option( 'blog_style' ), 0, 7 ) == 'classic'
							? 'columns_wrap columns_padding_bottom'
							: 'masonry_wrap'
							);
	$ozeum_stickies   = is_home() ? get_option( 'sticky_posts' ) : false;
	$ozeum_sticky_out = ozeum_get_theme_option( 'sticky_style' ) == 'columns'
							&& is_array( $ozeum_stickies ) && count( $ozeum_stickies ) > 0 && get_query_var( 'paged' ) < 1;
	if ( $ozeum_sticky_out ) {
		?>
		<div class="sticky_wrap columns_wrap">
		<?php
	}
	if ( ! $ozeum_sticky_out ) {
		if ( ozeum_get_theme_option( 'first_post_large' ) && ! is_paged() && ! in_array( ozeum_get_theme_option( 'body_style' ), array( 'fullwide', 'fullscreen' ) ) ) {
			the_post();
			get_template_part( apply_filters( 'ozeum_filter_get_template_part', 'content', 'excerpt' ), 'excerpt' );
		}

		?>
		<div class="<?php echo esc_attr( $ozeum_classes ); ?>">
		<?php
	}
	while ( have_posts() ) {
		the_post();
		if ( $ozeum_sticky_out && ! is_sticky() ) {
			$ozeum_sticky_out = false;
			?>
			</div><div class="<?php echo esc_attr( $ozeum_classes ); ?>">
			<?php
		}
		$ozeum_part = $ozeum_sticky_out && is_sticky() ? 'sticky' : 'classic';
		get_template_part( apply_filters( 'ozeum_filter_get_template_part', 'content', $ozeum_part ), $ozeum_part );
	}

	?>
	</div>
	<?php

	ozeum_show_pagination();

	ozeum_blog_archive_end();

} else {

	if ( is_search() ) {
		get_template_part( apply_filters( 'ozeum_filter_get_template_part', 'content', 'none-search' ), 'none-search' );
	} else {
		get_template_part( apply_filters( 'ozeum_filter_get_template_part', 'content', 'none-archive' ), 'none-archive' );
	}
}

get_footer();