SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" | |
5 | content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> | |
6 | <title> | |
7 | <?php if (is_home()) { | |
8 | echo bloginfo('name'); | |
9 | } elseif (is_category()) { | |
10 | echo __('Category » ', 'blank'); wp_title('« @ ', TRUE, 'right'); | |
11 | echo bloginfo('name'); | |
12 | } elseif (is_tag()) { | |
13 | echo __('Tag » ', 'blank'); wp_title('« @ ', TRUE, 'right'); | |
14 | echo bloginfo('name'); | |
15 | } elseif (is_search()) { | |
16 | echo __('Search results » ', 'blank'); | |
17 | echo the_search_query(); | |
18 | echo '« @ '; | |
19 | echo bloginfo('name'); | |
20 | } elseif (is_404()) { | |
21 | echo '404 '; wp_title(' @ ', TRUE, 'right'); | |
22 | echo bloginfo('name'); | |
23 | } else { | |
24 | echo wp_title(' @ ', TRUE, 'right'); | |
25 | echo bloginfo('name'); | |
26 | } ?> | |
27 | </title> | |
28 | ||
29 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS" href="<?php bloginfo('rss2_url'); ?>" /> | |
30 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | |
31 | <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" /> | |
32 | <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/nivo-slider.css" type="text/css" media="screen" charset="utf-8" /> | |
33 | <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/superfish.css" type="text/css" media="screen" charset="utf-8" /> | |
34 | - | <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
34 | + | <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/style.css" type="text/css" media="screen" /> |
35 | <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/cssLoader.php" type="text/css" media="screen" charset="utf-8" /> | |
36 | ||
37 | ||
38 | - | <?php wp_enqueue_script("jquery"); ?> |
38 | + | |
39 | wp_deregister_script('jquery'); | |
40 | wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js', false, '1.3.2'); | |
41 | wp_enqueue_script('jquery'); | |
42 | ?> | |
43 | <?php wp_head(); ?> | |
44 | ||
45 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/jquery.prettyPhoto.js"></script> | |
46 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/jquery.tools.min.js"></script> | |
47 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/script.js"></script> | |
48 | ||
49 | <?php | |
50 | $enable_cufon=get_opt('_enable_cufon'); | |
51 | if($enable_cufon=='on'){ | |
52 | if(get_opt('_custom_cufon_font')!=''){ | |
53 | $font_file=get_opt('_custom_cufon_font'); | |
54 | }else{ | |
55 | $font_file=get_template_directory_uri().'/script/fonts/'.get_opt('_cufon_font'); | |
56 | } | |
57 | ?> | |
58 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/cufon-yui.js"></script> | |
59 | <script type="text/javascript" src="<?php echo $font_file; ?>"></script> | |
60 | <?php | |
61 | } | |
62 | ?> | |
63 | ||
64 | <script type="text/javascript"> | |
65 | pexetoSite.enableCufon="<?php echo $enable_cufon; ?>"; | |
66 | jQuery(document).ready(function($){ | |
67 | pexetoSite.initSite(); | |
68 | }); | |
69 | </script> | |
70 | ||
71 | <?php if (is_page_template('template-portfolio.php')) { | |
72 | //load the scripts for the portfolio template | |
73 | ?> | |
74 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/portfolio-previewer.js"></script> | |
75 | ||
76 | <?php } ?> | |
77 | ||
78 | <?php if (is_page_template('template-portfolio-gallery.php')) { | |
79 | //load the scripts for the portfolio gallery template | |
80 | ?> | |
81 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/portfolio-setter.js"></script> | |
82 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/jquery-easing.js"></script> | |
83 | <?php } ?> | |
84 | ||
85 | <?php //if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> | |
86 | <!-- enables nested comments in WP 2.7 --> | |
87 | <?php if ( is_singular() && get_option( 'thread_comments' ) && comments_open() && have_comments() ) { ?> | |
88 | <script type='text/javascript' src='<?php echo get_template_directory_uri()."/script/comment-reply.js?ver=20090102";?>'></script> | |
89 | <?php } ?> | |
90 | ||
91 | <!--[if lte IE 6]> | |
92 | <link href="<?php echo get_template_directory_uri(); ?>/css/style_ie6.css" rel="stylesheet" type="text/css" /> | |
93 | <input type="hidden" value="<?php echo get_template_directory_uri(); ?>" id="baseurl" /> | |
94 | <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/script/supersleight.js"></script> | |
95 | <![endif]--> | |
96 | ||
97 | <!--[if IE 7]> | |
98 | <link href="<?php echo get_template_directory_uri(); ?>/css/style_ie7.css" rel="stylesheet" type="text/css" /> | |
99 | <![endif]--> | |
100 | ||
101 | ||
102 | <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> | |
103 | ||
104 | </head> | |
105 | <?php $bodyclass=$enable_cufon=='on'?'class="cufon"':'';?> | |
106 | <body <?php echo $bodyclass; ?>> | |
107 | <div id="main-container"> | |
108 | ||
109 | <div class="center"> | |
110 | <div id="site"> | |
111 | <div id="header" > | |
112 | <div id="header-top"> | |
113 | <div id="logo-container" class="center"><a href="<?php echo home_url(); ?>"></a></div> | |
114 | <div id="menu-container"> | |
115 | <div id="menu"> | |
116 | <?php wp_nav_menu(array('theme_location' => 'pexeto_main_menu' )); ?> | |
117 | ||
118 | </div> | |
119 | </div> | |
120 | </div> | |
121 |