-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
66 lines (58 loc) · 2.19 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id #maincontentcontainer div and all content after.
* There are also four footer widgets displayed. These will be displayed from
* one to four columns, depending on how many widgets are active.
*
* @package Ephemeris
* @since Ephemeris 1.0
*/
?>
<?php if ( !ephemeris_has_pagebuilder_template( 'footer' ) ) { ?>
<?php do_action( 'ephemeris_after_main_content' ); ?>
<div id="footercontainer">
<?php do_action( 'ephemeris_before_footer_content' ); ?>
<?php get_sidebar( 'footer' ); ?>
<?php do_action( 'ephemeris_after_footer_content' ); ?>
</div> <!-- /.footercontainer -->
<div id="footercreditscontainer">
<?php do_action( 'ephemeris_before_credits_content' ); ?>
<div class="grid-container site-credits">
<div class="grid-100 footer-credits">
<?php echo ephemeris_get_credits() ?>
</div> <!-- /.grid-100 -->
</div> <!-- /.grid-container.site-credits -->
<?php do_action( 'ephemeris_after_credits_content' ); ?>
</div> <!-- /.footercontainer -->
<?php } ?>
<?php do_action( 'ephemeris_after_footer' ); ?>
</main> <!-- /.hfeed.site -->
<?php if ( !ephemeris_has_pagebuilder_template( 'header' ) ) { ?>
<a id="mobile-site-navigation" href="#cd-nav" class="mobile-navigation mobile-nav-trigger">
<div class="menu-hamburger">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="mobile-nav-title"><?php _e( 'MENU', 'ephemeris' ) ?></span>
</div>
</a>
<div id="cd-nav" class="grid-container cd-nav hide_on_load">
<div class="grid-100">
<div class="cd-navigation-wrapper">
<h2><?php echo apply_filters( 'ephemeris_mobile_navigation_title', __( 'Navigation', 'ephemeris' ) ) ?></h2>
<nav role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu_class' => 'mobile-menu' ) ); ?>
</nav>
</div><!-- .cd-navigation-wrapper -->
</div> <!-- .grid-100 -->
</div> <!-- .cd-nav -->
<div class="search-overlay">
<button type="button" class="search-close"><i class="far fa-times-circle"></i></button>
<?php get_search_form() ?>
</div>
<?php } ?>
<?php wp_footer(); ?>
</body>
</html>