<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="profile" href="https://gmpg.org/xfn/11"> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } else { do_action( 'wp_body_open' ); } ?> <!-- Preloader --> <?php get_template_part( 'templates/header/preloader' ); ?> <!-- Page Wrapper --> <div id="page-wrap"> <!-- Boxed Wrapper --> <div id="page-header" <?php echo esc_attr(ashe_options( 'general_header_width' )) === 'boxed' ? 'class="boxed-wrapper"': ''; ?>> <?php // Top Bar get_template_part( 'templates/header/top', 'bar' ); // Page Header get_template_part( 'templates/header/page', 'header' ); // Main Navigation get_template_part( 'templates/header/main', 'navigation' ); ?> </div><!-- .boxed-wrapper --> <!-- Page Content --> <div class="page-content"> <?php // Featured Slider and Links $post_meta = get_post_meta(get_the_ID()); if ( is_front_page() && (isset($post_meta['_wp_page_template']) && 'elementor_header_footer' === $post_meta['_wp_page_template'][0]) ) { // Featured Slider, Carousel if ( ashe_options( 'featured_slider_label' ) === true && ashe_options( 'featured_slider_location' ) !== 'blog' ) { if ( ashe_options( 'featured_slider_source' ) === 'posts' ) { get_template_part( 'templates/header/featured', 'slider' ); } else { get_template_part( 'templates/header/featured', 'slider-custom' ); } } // Featured Links, Banners if ( ashe_options( 'featured_links_label' ) === true && ashe_options( 'featured_links_location' ) !== 'blog' ) { get_template_part( 'templates/header/featured', 'links' ); } } ?> <?php get_template_part( 'templates/sidebars/sidebar', 'alt' ); // Sidebar Alt ?>
</div><!-- .page-content --> <!-- Page Footer --> <footer id="page-footer" class="<?php echo esc_attr(ashe_options( 'general_footer_width' )) === 'boxed' ? 'boxed-wrapper ': ''; ?>clear-fix"> <!-- Scroll Top Button --> <?php if ( ashe_options( 'page_footer_show_scrolltop' ) === true ) : ?> <span class="scrolltop"> <i class="fa-solid fa-angle-up"></i> </span> <?php endif; ?> <div class="page-footer-inner <?php echo ashe_options( 'general_footer_width' ) === 'contained' ? 'boxed-wrapper': ''; ?>"> <!-- Footer Widgets --> <?php echo get_template_part( 'templates/sidebars/footer', 'widgets' ); ?> <div class="footer-copyright"> <div class="copyright-info"> <?php $copyright = ashe_options( 'page_footer_copyright' ); $copyright = str_replace( '$year', date_i18n( 'Y' ), $copyright ); $copyright = str_replace( '$copy', '&copy;', $copyright ); echo wp_kses_post( $copyright ); ?> </div> <?php wp_nav_menu( array( 'theme_location' => 'footer', 'menu_id' => 'footer-menu', 'menu_class' => '', 'container' => 'nav', 'container_class' => 'footer-menu-container', 'depth' => 1, 'fallback_cb' => false ) ); ?> <div class="credit"> <?php $theme_data = wp_get_theme(); /* translators: %1$s: theme name, %2$s link, %3$s theme author */ printf( __( '%1$s Theme by <a href="%2$s">%3$s.</a>', 'ashe' ), esc_html( $theme_data->Name ), esc_url( 'https://wp-royal-themes.com/' ), $theme_data->Author ); ?> </div> </div> </div><!-- .boxed-wrapper --> </footer><!-- #page-footer --> </div><!-- #page-wrap --> <?php wp_footer(); ?> </body> </html>