'>
units' 'content','post_type'=>'post'));?>>
{$tds}
";
}
?>
ID;
if(!empty($post_ids))
{
$atts = array(
'type' => 'grid',
'items' => get_option('posts_per_page'),
'columns' => 3,
'class' => 'avia-builder-el-no-sibling',
'paginate' => 'yes',
'use_main_query_pagination' => 'yes',
'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() )
);
$blog = new avia_post_slider($atts);
$blog->query_entries();
echo "
".$blog->html()."
";
}
else
{
get_template_part( 'includes/loop', 'index' );
}
}
else
{
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
$more = 0;
get_template_part( 'includes/loop', 'index' );
}
?>