is_template_available('archive') ) { $search_rendered = true; echo $Nekit_render_templates_html->current_builder_template(); } else { $search_rendered = false; } else : $search_rendered = false; endif; if( ! $search_rendered ) : do_action( 'blogmatic_main_content_opening' ); $elementClass = ' archive-align--' . BMC\blogmatic_get_customizer_option('archive_post_elements_alignment'); $page_settings_sidebar_layout = BMC\blogmatic_get_customizer_option( 'page_settings_sidebar_layout' ); if( in_array( $page_settings_sidebar_layout, [ 'left-sidebar', 'both-sidebar' ] ) ) get_sidebar('left'); ?>
'; //inner-content-wrap /* Start the Loop */ while ( have_posts() ) : the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ // get_template_part( 'template-parts/content', 'search' ); get_template_part( 'template-parts/archive/content', blogmatic_get_post_format(), [ 'archive' => false ] ); endwhile; echo ''; /** * hook - blogmatic_pagination_link_hook * * @package Blogmatic * @since 1.0.0 */ do_action( 'blogmatic_pagination_link_hook' ); else : get_template_part( 'template-parts/content', 'none' ); endif; ?>