'post', 'post_status' => 'publish', 'cat' => $bosa_logistics_latest_posts_category, 'paged' => get_query_var( 'paged', 1 ), 'posts_per_page' => $bosa_logistics_archive_post_per_page, ))); $bosa_logistics_posts_array = $bosa_logistics_query->get_posts(); $bosa_logistics_show_latest_posts = count( $bosa_logistics_posts_array ) > 0; if( !get_theme_mod( 'bosa_logistics_disable_latest_posts_section', false ) && $bosa_logistics_show_latest_posts ){ $bosa_logistics_latest_title_desc_align = get_theme_mod( 'bosa_logistics_latest_posts_section_title_desc_alignment', 'left' ); if ( $bosa_logistics_latest_title_desc_align == 'left' ){ $bosa_logistics_latest_title_desc_align = 'text-left'; }else if ( $bosa_logistics_latest_title_desc_align == 'center' ){ $bosa_logistics_latest_title_desc_align = 'text-center'; }else{ $bosa_logistics_latest_title_desc_align = 'text-right'; } ?>

have_posts() ) : if ( is_home() && !is_front_page() ) : ?>

have_posts() ) : $bosa_logistics_query->the_post(); /* * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ get_template_part( 'template-parts/content', get_post_type() ); endwhile; elseif ( !is_sticky() && ! $bosa_logistics_query->have_posts() ): get_template_part( 'template-parts/content', 'none' ); endif; ?>
$bosa_logistics_query->max_num_pages, 'next_text' => ''.esc_html__( 'Next', 'bosa-logistics' ) .'' . esc_html__( 'Next page', 'bosa-logistics' ) . '', 'prev_text' => ''.esc_html__( 'Prev', 'bosa-logistics' ) .'' . esc_html__( 'Previous page', 'bosa-logistics' ) . '', 'before_page_number' => '' . esc_html__( 'Page', 'bosa-logistics' ) . ' ', )); endif; wp_reset_postdata(); ?>