'; //inner-content-wrap /* Start the Loop */ while ( have_posts() ) : the_post(); if( ! is_null( $ads_info ) ) : if( in_array( $wp_query->current_post, $ads_info['random_numbers'] ) ) : blogcast_random_post_archive_advertisement_part( is_array( $ads_info['ads_to_render'] ) ? $ads_info['ads_to_render'][$count] : $ads_info['ads_to_render'] ); $count++; endif; endif; /* * 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/archive/content', blogcast_get_post_format() ); endwhile; echo ''; // end: blogcast-inner-content-wrap /** * hook - blogcast_pagination_link_hook * * @package Blogcast * @since 1.0.0 */ do_action( 'blogcast_pagination_link_hook' ); else : get_template_part( 'template-parts/content', 'none' ); endif; ?>