File: /mnt/data/companiesonthegouk/wp-content/themes/apper/footer.php
<?php
/**
* The template for displaying the footer.
*
* @package Apper WordPress theme
*/ ?>
<?php
namespace Elementor;
?>
<?php do_action( 'before_close_main' ); ?>
</main><!-- #main -->
<?php do_action( 'after_main' ); ?>
<?php do_action( 'before_footer' ); ?>
<?php
// Elementor `footer` location
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'footer' ) ) { ?>
<?php
$post_id = get_the_ID();
$subscribe_id = get_post_meta( $post_id, 'page_subscribe_form_temp_id', true );
if( isset( $subscribe_id ) && ! empty( $subscribe_id ) ) { ?>
<div id="subscribe-form">
<?php echo Plugin::instance()->frontend->get_builder_content_for_display( $subscribe_id ); ?>
</div>
<?php
}
?>
<?php do_action( 'footer' ); ?>
<?php } ?>
<?php do_action( 'after_footer' ); ?>
</div><!-- #wrap -->
<?php do_action( 'after_wrap' ); ?>
</div><!-- #outer-wrap -->
<?php do_action( 'after_outer_wrap' ); ?>
<?php
//scroll top button
get_template_part( 'partials/scroll-top' ); ?>
<?php
// Search overlay style
if ( 'overlay' == acmthemes_menu_search_style() ) {
get_template_part( 'partials/header/search-overlay' );
}
/**
* do_action on footer for custom functions above wp footer
*/
$arg1 = $arg2 = "";
do_action( 'above_wp_footer', $arg1, $arg2 );
wp_footer(); ?>
</body>
</html>