| Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 Path : /home/eglisebaa/www/wp-content/themes/hallelujah/ |
| Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/footer.php |
<?php
/**
* The Footer: widgets area, logo, footer menu and socials
*
* @package WordPress
* @subpackage HALLELUJAH
* @since HALLELUJAH 1.0
*/
// Widgets area inside page content
hallelujah_create_widgets_area( 'widgets_below_content' );
?>
</div><!-- </.content> -->
<?php
// Show main sidebar
get_sidebar();
?>
</div><!-- </.content_wrap> -->
<?php
// Widgets area below page content and related posts below page content
$hallelujah_body_style = hallelujah_get_theme_option( 'body_style' );
$hallelujah_widgets_name = hallelujah_get_theme_option( 'widgets_below_page' );
$hallelujah_show_widgets = ! hallelujah_is_off( $hallelujah_widgets_name ) && is_active_sidebar( $hallelujah_widgets_name );
$hallelujah_show_related = is_single() && hallelujah_get_theme_option( 'related_position' ) == 'below_page';
if ( $hallelujah_show_widgets || $hallelujah_show_related ) {
if ( 'fullscreen' != $hallelujah_body_style ) {
?>
<div class="content_wrap">
<?php
}
// Show related posts before footer
if ( $hallelujah_show_related ) {
do_action( 'hallelujah_action_related_posts' );
}
// Widgets area below page content
if ( $hallelujah_show_widgets ) {
hallelujah_create_widgets_area( 'widgets_below_page' );
}
if ( 'fullscreen' != $hallelujah_body_style ) {
?>
</div><!-- </.content_wrap> -->
<?php
}
}
?>
</div><!-- </.page_content_wrap> -->
<?php
// Single posts banner before footer
if ( is_singular( 'post' ) ) {
hallelujah_show_post_banner('footer');
}
// Skip link anchor to fast access to the footer from keyboard
?>
<a id="footer_skip_link_anchor" class="hallelujah_skip_link_anchor" href="#"></a>
<?php
// Footer
$hallelujah_footer_type = hallelujah_get_theme_option( 'footer_type' );
if ( 'custom' == $hallelujah_footer_type && ! hallelujah_is_layouts_available() ) {
$hallelujah_footer_type = 'default';
}
get_template_part( apply_filters( 'hallelujah_filter_get_template_part', "templates/footer-{$hallelujah_footer_type}" ) );
?>
</div><!-- /.page_wrap -->
</div><!-- /.body_wrap -->
<?php wp_footer(); ?>
</body>
</html>