LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/eglisebaa/www/wp-content/themes/hallelujah/
File Upload :
Command :
Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/index-plain.php

<?php
/**
 * The template for homepage posts with "Plain" style
 *
 * @package WordPress
 * @subpackage HALLELUJAH
 * @since HALLELUJAH 1.0.62.1
 */

hallelujah_storage_set( 'blog_archive', true );

get_header();

if ( have_posts() ) {

	hallelujah_blog_archive_start();

	?><div class="posts_container">
		<?php

		$hallelujah_stickies   = is_home() ? get_option( 'sticky_posts' ) : false;
		$hallelujah_sticky_out = hallelujah_get_theme_option( 'sticky_style' ) == 'columns'
								&& is_array( $hallelujah_stickies ) && count( $hallelujah_stickies ) > 0 && get_query_var( 'paged' ) < 1;
		if ( $hallelujah_sticky_out ) {
			?>
			<div class="sticky_wrap columns_wrap">
			<?php
		}
		while ( have_posts() ) {
			the_post();
			if ( $hallelujah_sticky_out && ! is_sticky() ) {
				$hallelujah_sticky_out = false;
				?>
				</div>
				<?php
			}
			$hallelujah_part = $hallelujah_sticky_out && is_sticky() ? 'sticky' : 'plain';
			get_template_part( apply_filters( 'hallelujah_filter_get_template_part', 'content', $hallelujah_part ), $hallelujah_part );
		}
		if ( $hallelujah_sticky_out ) {
			$hallelujah_sticky_out = false;
			?>
			</div>
			<?php
		}

		?>
	</div>
	<?php

	hallelujah_show_pagination();

	hallelujah_blog_archive_end();

} else {

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

get_footer();

LittleDemon - FACEBOOK
[ KELUAR ]