'post',
'post_status' => 'publish',
'posts_per_page' => absint( $main_banner_no_of_posts_to_show ),
'order' => $post_order[1],
'order_by' => $post_order[1],
'ignore_sticky_posts' => true
];
if( isset( $main_banner_post_categories ) ) $post_query_args['cat'] = $post_categories_id_args;
if( isset( $main_banner_posts_to_include ) ) $post_query_args['post__in'] = $post_to_include_id_args;
if( $hide_posts_with_no_featured_image ) :
$post_query_args['meta_query'] = [
[
'key' => '_thumbnail_id',
'compare' => 'EXISTS'
]
];
endif;
$post_query = new \WP_Query( apply_filters( 'blogistic_query_args_filter', $post_query_args ) );
if( $post_query->have_posts() ) :
while( $post_query->have_posts() ) :
$post_query->the_post();
?>
', ''. esc_attr( $main_banner_design_post_title_html_tag ) .'>' );
if( $show_excerpt ) echo '
'. get_the_excerpt() .'
';
?>