'; //inner-content-wrap while ( have_posts() ) : the_post(); if( ! is_null( $ads_info ) ) : if( in_array( $wp_query->current_post, $ads_info['random_numbers'] ) ) : blog_postx_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/layout', '', $args ); // $post_counter++; endwhile; echo ''; // end: blog-postx-inner-content-wrap /** * hook - blog_postx_pagination_link_hook * * hooked - blog_postx_pagination_fnc - 10 * * @package Blog Postx Pro * @since 1.0.0 */ do_action( 'blog_postx_pagination_link_hook' ); else : get_template_part( 'template-parts/content', 'none' ); endif; ?>
$show_right_sidebar ] ); do_action( 'blog_postx_main_content_closing' ); get_footer();