File: /www/wwwroot/www.movieloversky.com/wp-content/themes/filmax/index-chess.php
<?php
/**
* The template for homepage posts with "Chess" style
*
* @package WordPress
* @subpackage FILMAX
* @since FILMAX 1.0
*/
filmax_storage_set('blog_archive', true);
get_header();
filmax_mod_pagination();
if (have_posts()) {
filmax_show_layout(get_query_var('blog_archive_start'));
$filmax_stickies = is_home() ? get_option( 'sticky_posts' ) : false;
$filmax_sticky_out = filmax_get_theme_option('sticky_style')=='columns'
&& is_array($filmax_stickies) && count($filmax_stickies) > 0 && get_query_var( 'paged' ) < 1;
if ($filmax_sticky_out) {
?><div class="sticky_wrap columns_wrap"><?php
}
if (!$filmax_sticky_out) {
?><div class="chess_wrap posts_container"><?php
}
while ( have_posts() ) { the_post();
if ($filmax_sticky_out && !is_sticky()) {
$filmax_sticky_out = false;
?></div><div class="chess_wrap posts_container"><?php
}
get_template_part( 'content', $filmax_sticky_out && is_sticky() ? 'sticky' :'chess' );
}
?></div><?php
filmax_show_pagination();
filmax_show_layout(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();
?>