Created
January 2, 2019 13:35
-
-
Save seriiserii825/1585222ac40c2910b71990183013289a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
get_header(); | |
if ( is_home() ) { | |
// Featured Slider, Carousel | |
if ( bard_options( 'featured_slider_label' ) === true || bard_is_preview() ) { | |
get_template_part( 'templates/header/featured', 'slider' ); | |
} | |
// Featured Links, Banners | |
if ( bard_options( 'featured_links_label' ) === true ) { | |
get_template_part( 'templates/header/featured', 'links' ); | |
} | |
} | |
?> | |
<div class="main-content clear-fix<?php echo esc_attr(bard_options( 'general_content_width' )) === 'boxed' ? ' boxed-wrapper': ''; ?>" data-layout="<?php echo esc_attr( bard_options( 'general_home_layout' ) ); ?>" data-sidebar-sticky="<?php echo esc_attr( bard_options( 'general_sidebar_sticky' ) ); ?>"> | |
<?php get_template_part( 'templates/sidebars/sidebar', 'left' ); ?> | |
<div class="main-container"> | |
<div class="no-result-found"> | |
<h1><?php esc_html_e( 'Nothing Found!', 'bard' ); ?></h1> | |
<p> | |
<?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'bard' ); ?> | |
</p> | |
<div class="bard-widget widget_search"> | |
<?php get_search_form(); ?> | |
</div> | |
</div> | |
<?php endif; ?> | |
</ul> | |
<?php get_template_part( 'templates/grid/blog', 'pagination' ); ?> | |
</div><!-- .main-container --> | |
<?php get_template_part( 'templates/sidebars/sidebar', 'right' ); ?> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment