-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
40 lines (31 loc) · 1.17 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
<footer id="footer">
<!-- CLIENT FOOTER HTML CODE GOES HERE -->
</footer>
<?php wp_footer(); ?>
<!-- here comes the javascript -->
<!-- jQuery is called via the Wordpress-friendly way via functions.php -->
<!-- share this javascript -->
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-aab18389-9d85-48ec-1960-460aabcad4c1"}); </script>
<!-- custom javascirpt functions -->
<script src="<?php bloginfo('template_directory'); ?>/js/functions.js"></script>
<script language="javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery.tweet.js" type="text/javascript"></script>
<script type='text/javascript'>
jQuery(function($){
$(".tweet").tweet({
username: "contentlead",
avatar_size: 48,
count: 3,
loading_text: "loading tweets...",
template: "{avatar} {time} {text} {retweet_action}"
});
}).bind("loaded", function(){
$(this).find("a.tweet_action").click(function(ev) {
window.open(this.href, "Retweet",
'menubar=0,resizable=0,width=550,height=420,top=200,left=400');
ev.preventDefault();
});
});
</script>
</body>
</html>