-
Notifications
You must be signed in to change notification settings - Fork 6
/
footer.php
44 lines (42 loc) · 1.36 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
<?php
/**
* The template for displaying the footer.
*
* Contains footer content and the closing of the
* #main and #page div elements.
*
* @package Openstrap
* @subpackage Openstrap
* @since Openstrap 0.1
*/
?>
</div> <!-- #main-row-->
</div> <!-- .container #main-container-->
</div> <!-- #wrap -->
<footer>
<?php
/* A sidebar in the footer? Yep. You can customize
* your footer with three columns of widgets.
*/
get_sidebar( 'footer' );
$copyrighttxt = of_get_option('copyright_text');
$copyrighttxt = ! empty($copyrighttxt) ? $copyrighttxt : __('© ', 'openstrap') . date('Y') . sprintf(' <a href="%1$s" title="%2$s" rel="home">%3$s</a>', esc_url(home_url( '/' )), get_bloginfo( 'name' ), get_bloginfo( 'name' ));
$d=sprintf('<a href="%1$s" title="%2$s" rel="home">%3$s</a>', esc_url(home_url( '/' )), get_bloginfo( 'name' ), get_bloginfo( 'name' ));
?>
<div id="footer">
<div class="container footer-nav ">
<div class="pull-left">
<?php
wp_nav_menu( array( 'theme_location' => 'footer-menu', 'menu_class' => 'list-inline', 'depth' =>1, 'container' => false, 'fallback_cb' => false ) );
?>
</div>
<div class="pull-right hidden-xs">
<p class="text-muted credit"><?php echo $copyrighttxt;?> <?php echo openstrap_get_branding();?> </p>
</div>
</div>
</div>
</footer>
</div> <!-- #bodychild -->
<?php wp_footer(); ?>
</body>
</html>