		</div><!-- .page-content -->

		<!-- Page Footer -->
		<footer id="page-footer" class="<?php echo esc_attr(bard_options( 'general_footer_width' )) === 'boxed' ? 'boxed-wrapper ': ''; ?>clear-fix">
				
			<?php

			// Instagram Widget
			get_template_part( 'templates/sidebars/instagram', 'widget' );

			// Footer Socials
			if ( bard_options( 'page_footer_show_socials' ) === true ) {
				bard_social_media( 'footer-socials', true );
			}
			
			// Footer Widgets
			echo get_template_part( 'templates/sidebars/footer', 'widgets' );

			?>
			
			<div class="footer-copyright">

				<div class="page-footer-inner <?php echo bard_options( 'general_footer_width' ) === 'contained' ? 'boxed-wrapper': ''; ?>">
					
					<!-- Footer Logo -->
					<?php if ( bard_options( 'page_footer_logo' ) != '' ) : ?>
					<div class="footer-logo">
						<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr( bloginfo('name') ); ?>">
							<img src="<?php echo esc_url( wp_get_attachment_url( bard_options( 'page_footer_logo' ) ) ); ?>" alt="<?php esc_attr( bloginfo('name') ); ?>">
						</a>
					</div>
					<?php endif; ?>
					
					<div class="copyright-info">
						<?php

						$copyright = bard_options( 'page_footer_copyright' );
						$copyright = str_replace( '$year', date_i18n( 'Y' ), $copyright );
						$copyright = str_replace( '$copy', '&copy;', $copyright );

						echo wp_kses_post( $copyright );
						

						if ( $copyright !== '' ) {
							esc_html_e( '', 'bard' );
						
						}
						
						?>
						

						<span class="credit">
							<?php
							$theme_data	= wp_get_theme();
							/* translators: %1$s: theme name, %2$s link, %3$s theme author */
							printf( __( ), esc_html( $theme_data->Name ), esc_url( 'http://wp-royal.com/' ), $theme_data->Author );
							?>
						</span>

						<?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>
			
					<?php if ( bard_options('page_footer_show_scrolltop') === true ) : ?>
					<span class="scrolltop">
						<span class="icon-angle-up"></span>
						<span><?php esc_html_e( 'Back to top', 'bard' ); ?></span>
					</span>
					<?php endif; ?>
					
				</div>

			</div><!-- .boxed-wrapper -->

		</footer><!-- #page-footer -->

	</div><!-- #page-wrap -->

<?php wp_footer(); ?>

</body>
</html>