-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
86 lines (79 loc) · 3.11 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>
</div><!-- #main -->
<footer id="colophon" role="contentinfo">
<?php
/* A sidebar in the footer? Yep. You can can customize
* your footer with three columns of widgets.
*/
if ( ! is_404() )
get_sidebar( 'footer' );
?>
</footer><!-- #colophon -->
</div><!-- #page -->
<div id="site-generator">
<?php do_action( 'twentyeleven_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
</div>
<?php wp_footer(); ?>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.wikilovesmonuments.org/" : "http://stats.wikilovesmonuments.org/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 30);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://stats.wikilovesmonuments.org/piwik.php?idsite=30" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
<script type="text/javascript">
( function( $ ) {
$( '<div id="wlm-stream-widget">' ).css( {
height: $('#primary').height(),
width: 250,
position: 'relative',
display: 'block',
'float': 'right'
} ).insertAfter( '#secondary' );
$( '<link rel="stylesheet" >' ).attr( 'href', 'http://jonrobson.me.uk/wlm/p.css' ).appendTo( document.head );
$.getScript( 'http://jonrobson.me.uk/wlm/polaroiderizer.js', function() {
polaroiderizer( $( '#wlm-stream-widget' ),
{
iiurlwidth: '200px',
action: 'query',
gcmsort: 'timestamp', gcmdir: 'desc',
gcmlimit: 500,
// SET THE CATEGORY TO PULL FROM HERE
//gcmtitle: 'Category:Images_from_Wiki_Loves_Monuments_2012',
gcmtitle: 'Category:Images_from_Wiki_Loves_Monuments_2012_in_the United States',
generator: 'categorymembers', format: 'json', prop: 'imageinfo', iiprop: 'url|user'
},
{
dropDelay: 7000,
// CSS PROPERTIES TO ANIMATE ON
dropAnimation: { opacity: 1, rotate: 0 },
fadeDuration: 6000,
dropDuration: 1100,
initialDropDuration: 0,
source: 'commons',
rotationRange: 5,
columns: 'auto',
pollInterval: 1000 * 60 * 10 // every 10 minutes look for more
}
);
} );
} ( jQuery ) );
</script>
</body>
</html>