Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (55 sloc) 2.389 kb
1ad92c18 »
2010-09-24 ComicPress put back on github.
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
3 <head>
4 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
5 <title><?php
6 bloginfo('name');
7 if (is_home () ) {
8 echo ' - '; bloginfo('description');
9 } elseif (is_category() ) {
10 echo ' - '; single_cat_title();
11 } elseif (is_single() || is_page() ) {
12 echo ' - '; single_post_title();
13 } elseif (is_search() ) {
14 echo __(' search results: ','comicpress'); echo esc_html($s);
15 } else {
16 echo ' - '; wp_title('',true);
17 }
18 ?></title>
19 <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
20 <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
21 <meta name="ComicPress" content="<?php echo comicpress_themeinfo('version'); ?>" />
22 <?php if ( is_singular() && comicpress_themeinfo('enable_comment_javascript') && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
23 <!-- Last Update: <?php the_time('M jS, Y'); ?> // -->
24 <!--[if lt IE 7]>
25 <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ie6submenus.js"></script>
26 <![endif]-->
27 <?php wp_head(); ?>
28 </head>
29
30 <body <?php body_class(); ?>>
31 <?php
32 do_action('comicpress-body');
33 if (is_active_sidebar('above-header')) get_sidebar('above');
34 ?>
35 <div id="page-head"></div>
36 <?php if (!comicpress_themeinfo('disable_page_restraints')) {
37 if (is_cp_theme_layout('standard,v')) { ?>
38 <div id="page-wrap"><!-- Wraps outside the site width -->
39 <div id="page"><!-- Defines entire site width - Ends in Footer -->
40 <?php } else { ?>
41 <div id="page-wide-wrap"><!-- Wraps outside the site width -->
42 <div id="page-wide"><!-- Defines entire site width - Ends in Footer -->
43 <?php }
44 } ?>
45
46 <div id="header">
47 <?php do_action('comicpress-header'); ?>
48 <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name') ?></a></h1>
49 <div class="description"><?php bloginfo('description') ?></div>
50 <?php if (is_active_sidebar('header')) get_sidebar('header'); ?>
51 <div class="clear"></div>
52 </div>
53
54 <?php
55 if (!comicpress_themeinfo('disable_default_menubar')) comicpress_menubar();
56 if (is_active_sidebar('menubar')) get_sidebar('menubar');
57 get_template_part('layout', 'head');
58 ?>
Something went wrong with that request. Please try again.