-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
45 lines (35 loc) · 1.54 KB
/
header.php
File metadata and controls
45 lines (35 loc) · 1.54 KB
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
<!DOCTYPE html>
<html>
<head profile="http://gmpg.org/xfn/11">
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<!-- bloginfo( 'stylesheet_directory'); -->
<script type="text/javascript">
window.onload = function() {
jQuery(function($) {
// this adds target blank to all external links
$('a[href^="http://"], a[href^="https://"]')
.attr("target", "_blank");
// cycle slider -
$('#content').cycle({
fx: 'scrollUp', // You can choose any effects that you like, from the Link reference : http://www.malsup.com/jquery/cycle/browser.html
speed: 'slow',
timeout: 0,
pager: '#nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#nav li:eq(' + (idx) + ') a';
}
});
});
<?php
if( isset( $_GET['contact'] ) && 'sent' == $_GET['contact'] ) {
echo "alert('Message Sent. I will respond as quickly as possible. ');";
}
?>
}
//
</script>
<?php wp_head(); ?>