slug; } else { $blog_cat_slug = ''; } echo '
'; if(!empty($btitle)) { echo '
'; echo '

'; echo ''.esc_html($btitle).''; echo '

'; echo '
'; } $lay = ascend_get_postlayout($type); global $ascend_grid_columns, $ascend_blog_loop, $ascend_grid_carousel; $ascend_blog_loop['loop'] = 1; $ascend_grid_columns = $blogcolumns; $ascend_grid_carousel = false; $itemsize = ascend_get_post_grid_item_size($blogcolumns, false); ?>
'date', 'order' => 'DESC', 'category_name' => $blog_cat_slug, 'post_type' => 'post', 'ignore_sticky_posts' => false, 'posts_per_page' => $blogcount )); if ( $loop ) : $ascend_blog_loop['count'] = $loop->post_count; while ( $loop->have_posts() ) : $loop->the_post(); if($lay['sum'] == 'full'){ if (has_post_format( 'quote' )) { get_template_part('templates/content', 'post-full-quote'); } else { get_template_part('templates/content', 'post-full'); } } else if($lay['sum'] == 'grid') { if($lay['highlight'] == 'true' && $ascend_blog_loop['loop'] == 1) { get_template_part('templates/content', get_post_format()); } else { ?>
'; echo ''.esc_html($readmore).''; echo '
'; } echo '';