2009-11-22 18:06:19 +00:00
|
|
|
<?php global $comicpress_options; ?>
|
2009-11-04 11:09:56 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
|
|
|
<head>
|
2009-08-21 19:29:45 +00:00
|
|
|
<title><?php
|
2009-11-06 02:56:36 +00:00
|
|
|
bloginfo('name');
|
|
|
|
if (is_home () ) {
|
|
|
|
echo " - "; bloginfo('description');
|
|
|
|
} elseif (is_category() ) {
|
|
|
|
echo " - "; single_cat_title();
|
|
|
|
} elseif (is_single() || is_page() ) {
|
|
|
|
echo " - "; single_post_title();
|
|
|
|
} elseif (is_search() ) {
|
2009-10-05 06:08:01 +00:00
|
|
|
echo __(" search results: ",'comicpress'); echo wp_specialchars($s);
|
2009-11-06 02:56:36 +00:00
|
|
|
} else {
|
|
|
|
echo " - "; wp_title('',true);
|
|
|
|
}
|
2009-08-21 19:29:45 +00:00
|
|
|
?></title>
|
|
|
|
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
|
2009-11-06 02:56:36 +00:00
|
|
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
|
|
|
|
<?php comicpress_gnav_display_css(); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS2 Feed" href="<?php bloginfo('rss2_url') ?>" />
|
|
|
|
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
|
|
|
|
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
|
2009-11-22 18:06:19 +00:00
|
|
|
<meta name="ComicPress" content="<?php echo $comicpress_options['comicpress_version']; ?>" />
|
2009-12-26 14:05:40 +00:00
|
|
|
|
2009-08-29 01:22:32 +00:00
|
|
|
<!--[if lt IE 7]>
|
2009-11-06 02:56:36 +00:00
|
|
|
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ie6submenus.js"></script>
|
2009-08-26 00:57:26 +00:00
|
|
|
<![endif]-->
|
2009-12-26 14:05:40 +00:00
|
|
|
|
|
|
|
<?php wp_head(); ?>
|
2009-12-26 14:20:45 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php if (function_exists('body_class')) { body_class(); } ?>>
|
|
|
|
<?php do_action('comicpress-header'); ?>
|
|
|
|
<?php get_sidebar('above'); ?>
|
2009-11-02 12:23:41 +00:00
|
|
|
<div id="page-head"></div>
|
2009-12-26 14:05:40 +00:00
|
|
|
<?php if (!$comicpress_options['disable_page_restraints']) {
|
2009-09-07 13:37:15 +00:00
|
|
|
if (is_cp_theme_layout('standard,v')) { ?>
|
2009-12-26 14:05:40 +00:00
|
|
|
<div id="page-wrap"><!-- Wraps outside the site width -->
|
|
|
|
<div id="page"><!-- Defines entire site width - Ends in Footer -->
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php } else { ?>
|
2009-12-26 14:05:40 +00:00
|
|
|
<div id="page-wide-wrap"><!-- Wraps outside the site width -->
|
|
|
|
<div id="page-wide"><!-- Defines entire site width - Ends in Footer -->
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php }
|
2009-08-21 19:29:45 +00:00
|
|
|
} ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php if (comicpress_check_child_file('partials/headerarea') == false) { ?>
|
2009-12-26 14:05:40 +00:00
|
|
|
<div id="header">
|
|
|
|
<?php if (function_exists('the_project_wonderful_ad')) {
|
|
|
|
the_project_wonderful_ad('header');
|
|
|
|
} ?>
|
|
|
|
<h1><a href="<?php bloginfo('wpurl'); ?>"><?php bloginfo('name') ?></a></h1>
|
2009-10-21 01:14:59 +00:00
|
|
|
<div class="description"><?php bloginfo('description') ?></div>
|
2009-12-26 14:05:40 +00:00
|
|
|
<?php get_sidebar('header'); ?>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php } ?>
|
2009-11-02 12:23:41 +00:00
|
|
|
<?php get_sidebar('menubar'); ?>
|