forked from simplebits/Pears
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
45 lines (37 loc) · 1.31 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
<?php get_sidebar(); ?>
</div> <!-- /wrap -->
<div id="pears-footer">
<p>Pears is handcrafted in Salem, Massachusetts by <a href="http://simplebits.com">SimpleBits</a>.</p>
<p class="cc">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</p>
<p><a href="http://simplebits.com" id="sb"><img src="/wp-content/themes/pears/images/sb-black.png" /></a></p>
</div> <!-- /footer -->
<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script>
$(document).ready(function() {
// update rendered pattern when user edits the textareas
$('#markup textarea').live('keyup', function(e) {
$('#pattern-wrap').html($(this).val());
});
$('#style textarea').live('keyup', function(e) {
$('div.main style').html($(this).val());
});
// auto-select code in textarea when clipboard icon is clicked
$('#markup a.clip').click(function(){
$('#markup textarea').select();
return false;
});
$('#style a.clip').click(function(){
$('#style textarea').select();
return false;
});
// expand/collapse side nav
$('#nav-toggle').click(function() {
$('body').toggleClass('expanded');
return false;
});
});
</script>
<!-- c(~) -->
</body>
</html>