%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/
Upload File :
Create Path :
Current File : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/index-excerpt.php

<?php
/**
 * The template for homepage posts with "Excerpt" style
 *
 * @package WordPress
 * @subpackage ALHAMBRA
 * @since ALHAMBRA 1.0
 */

alhambra_storage_set('blog_archive', true);

get_header(); 

if (have_posts()) {

	echo get_query_var('blog_archive_start');

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

	alhambra_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();
?>

Zerion Mini Shell 1.0