-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
82 lines (40 loc) · 1.33 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
<!-- footer.php -->
<?php /* opened in assets/templates/header_body.php */ ?>
</div><!-- /content_container -->
<div id="footer">
<div id="footer_inner">
<?php
// are we using the page footer widget?
if ( !dynamic_sidebar( 'cp-license-8' ) ) {
// no - make other provision here
// compat with wplicense plugin
if ( function_exists( 'isLicensed' ) AND isLicensed() ) {
// show the license from wpLicense
cc_showLicenseHtml();
} else {
// show copyright
?>
<p>Website content © <a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a> <?php echo date('Y'); ?>. All rights reserved.</p>
<?php
/*
// legacy backlink, leave out for now
if (
"http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] == home_url()."/" ||
"http://www.".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] == home_url()."/" ||
$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] == home_url()."/" ||
"www.".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] == home_url()."/"
) {
?>
<p>This site is powered by <a href="http://www.futureofthebook.org/commentpress/">CommentPress</a></p>
<?php
}
*/
}
}
?>
<?php wp_footer() ?>
</div><!-- /footer_inner -->
</div><!-- /footer -->
</div><!-- /container -->
</body>
</html>