This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
/
footer-default.php
53 lines (43 loc) · 1.55 KB
/
footer-default.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
<?php
// This file is part of the Carrington JAM Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2010 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }
?>
<footer id="pageFooter">
<nav id="footNav">
<?php wp_nav_menu( array('menu' => 'Footer Menu', 'container' => null ) ); ?>
</nav>
<p id="copyright">©2010 Jason Johnston, <a href="http://327creative.com">327 Creative LLC</a>.</p>
</footer>
</div>
</div>
<?php
wp_footer();
global $post;
$page_js_files = get_post_meta($post->ID, 'page_js_file', false);
foreach( $page_js_files as $file ) {
?>
<script type='text/javascript' src='<?php wp_js($file); ?>'></script>
<?php
}
$page_js = get_post_meta($post->ID, 'page_js', true);
if( $page_js ) {
echo "<script type='text/javascript'>$page_js</script>";
}
?>
<!-- Proudly powered by <a href="http://wordpress.org/">WordPress</a> and <a href="http://carringtontheme.com">Carrington JAM</a> -->
</body>
</html>