/
footer.php
106 lines (86 loc) · 4.05 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Bootstrap_to_Wordpress
*/
?>
<?php wp_footer(); ?>
<!-- SIGN UP SECTION
================================================== -->
<section id="signup" data-type="background" data-speed="4">
<div class="container">
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<h2>Are you ready to take your coding skills to the <strong>next level</strong>?</h2>
<p><a href="" class="btn btn-lg btn-block btn-success">Yes, sign me up!</a></p>
</div><!-- end col -->
</div><!-- row -->
</div><!-- container -->
</section><!-- signup -->
<!-- FOOTER
================================================== -->
<footer>
<div class="container">
<div class="col-sm-3">
<p><a href="/"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/logo.png" alt="Bootstrap to WordPress"></a></p>
</div><!-- end col -->
<div class="col-sm-6">
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'container' => 'nav',
'menu_class' => 'list-unstyled list-inline'
) );
?>
</div><!-- end col -->
<div class="col-sm-3">
<p class="pull-right"><?php echo bloginfo('name') ?> © <?php echo date('Y') ?> <?php the_author_link(); ?></p>
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- end col -->
</div><!-- container -->
</footer>
</div><!-- #page -->
<!-- MODAL
================================================== -->
<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel"><i class="fa fa-envelope"></i> Subscribe to our Mailing List</h4>
</div><!-- modal-header -->
<div class="modal-body">
<p>Simply enter your name and email! As a thank you for joining us, we're going to give you one of our best-selling courses, <em>for free!</em></p>
<form class="form-inline" role="form">
<div class="form-group">
<label class="sr-only" for="subscribe-name">Your first name</label>
<input type="text" class="form-control" id="subscribe-name" placeholder="Your first name">
</div>
<div class="form-group">
<label class="sr-only" for="subscribe-email">and your email</label>
<input type="text" class="form-control" id="subscribe-email" placeholder="and your email">
</div>
<input type="submit" class="btn btn-danger" value="Subscribe!">
</form>
<hr>
<p><small>By providing your email you consent to receiving occasional promotional emails & newsletters. <br>No Spam. Just good stuff. We respect your privacy & you may unsubscribe at any time.</small></p>
</div><!-- modal-body -->
</div><!-- modal-content -->
</div><!-- modal-dialog -->
</div><!-- modal -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="<?php bloginfo('template_directory') ?>/js/jquery-2.1.1.min.js"></script>
<script src="<?php bloginfo('template_directory') ?>/js/bootstrap.min.js"></script>
<script src="<?php bloginfo('template_directory') ?>/js/main.js"></script>
<script type="text/javascript" src="//use.typekit.net/gla7wnd.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</body>
</html>